RetroArch
Functions | Variables
gcsd.c File Reference
#include <sdcard/gcsd.h>
#include <sdcard/card_cmn.h>
#include <sdcard/card_io.h>
#include <sdcard/card_buf.h>
Include dependency graph for gcsd.c:

Functions

static bool __gcsd_isInserted (int n)
 
static bool __gcsd_startup (int n)
 
static bool __gcsd_readSectors (int n, u32 sector, u32 numSectors, void *buffer)
 
static bool __gcsd_writeSectors (int n, u32 sector, u32 numSectors, const void *buffer)
 
static bool __gcsd_clearStatus (int n)
 
static bool __gcsd_shutdown (int n)
 
static bool __gcsda_startup (void)
 
static bool __gcsda_isInserted (void)
 
static bool __gcsda_readSectors (u32 sector, u32 numSectors, void *buffer)
 
static bool __gcsda_writeSectors (u32 sector, u32 numSectors, void *buffer)
 
static bool __gcsda_clearStatus (void)
 
static bool __gcsda_shutdown (void)
 
static bool __gcsdb_startup (void)
 
static bool __gcsdb_isInserted (void)
 
static bool __gcsdb_readSectors (u32 sector, u32 numSectors, void *buffer)
 
static bool __gcsdb_writeSectors (u32 sector, u32 numSectors, void *buffer)
 
static bool __gcsdb_clearStatus (void)
 
static bool __gcsdb_shutdown (void)
 

Variables

static int __gcsd_init = 0
 
const DISC_INTERFACE __io_gcsda
 
const DISC_INTERFACE __io_gcsdb
 

Function Documentation

◆ __gcsd_clearStatus()

static bool __gcsd_clearStatus ( int  n)
static
Here is the caller graph for this function:

◆ __gcsd_isInserted()

static bool __gcsd_isInserted ( int  n)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __gcsd_readSectors()

static bool __gcsd_readSectors ( int  n,
u32  sector,
u32  numSectors,
void buffer 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __gcsd_shutdown()

static bool __gcsd_shutdown ( int  n)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __gcsd_startup()

static bool __gcsd_startup ( int  n)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __gcsd_writeSectors()

static bool __gcsd_writeSectors ( int  n,
u32  sector,
u32  numSectors,
const void buffer 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __gcsda_clearStatus()

static bool __gcsda_clearStatus ( void  )
static
Here is the call graph for this function:

◆ __gcsda_isInserted()

static bool __gcsda_isInserted ( void  )
static
Here is the call graph for this function:

◆ __gcsda_readSectors()

static bool __gcsda_readSectors ( u32  sector,
u32  numSectors,
void buffer 
)
static
Here is the call graph for this function:

◆ __gcsda_shutdown()

static bool __gcsda_shutdown ( void  )
static
Here is the call graph for this function:

◆ __gcsda_startup()

static bool __gcsda_startup ( void  )
static
Here is the call graph for this function:

◆ __gcsda_writeSectors()

static bool __gcsda_writeSectors ( u32  sector,
u32  numSectors,
void buffer 
)
static
Here is the call graph for this function:

◆ __gcsdb_clearStatus()

static bool __gcsdb_clearStatus ( void  )
static
Here is the call graph for this function:

◆ __gcsdb_isInserted()

static bool __gcsdb_isInserted ( void  )
static
Here is the call graph for this function:

◆ __gcsdb_readSectors()

static bool __gcsdb_readSectors ( u32  sector,
u32  numSectors,
void buffer 
)
static
Here is the call graph for this function:

◆ __gcsdb_shutdown()

static bool __gcsdb_shutdown ( void  )
static
Here is the call graph for this function:

◆ __gcsdb_startup()

static bool __gcsdb_startup ( void  )
static
Here is the call graph for this function:

◆ __gcsdb_writeSectors()

static bool __gcsdb_writeSectors ( u32  sector,
u32  numSectors,
void buffer 
)
static
Here is the call graph for this function:

Variable Documentation

◆ __gcsd_init

int __gcsd_init = 0
static

◆ __io_gcsda

const DISC_INTERFACE __io_gcsda
Initial value:
= {
}
bool(* FN_MEDIUM_WRITESECTORS)(uint32_t sector, uint32_t numSectors, const void *buffer)
Definition: iosuhax_disc_interface.h:48
bool(* FN_MEDIUM_ISINSERTED)(void)
Definition: iosuhax_disc_interface.h:46
#define FEATURE_MEDIUM_CANWRITE
Definition: iosuhax_disc_interface.h:43
static bool __gcsda_shutdown(void)
Definition: gcsd.c:118
bool(* FN_MEDIUM_SHUTDOWN)(void)
Definition: iosuhax_disc_interface.h:50
bool(* FN_MEDIUM_STARTUP)(void)
Definition: iosuhax_disc_interface.h:45
#define FEATURE_GAMECUBE_SLOTA
Definition: disc_io.h:39
static bool __gcsda_writeSectors(u32 sector, u32 numSectors, void *buffer)
Definition: gcsd.c:108
static bool __gcsda_startup(void)
Definition: gcsd.c:93
static bool __gcsda_clearStatus(void)
Definition: gcsd.c:113
static bool __gcsda_readSectors(u32 sector, u32 numSectors, void *buffer)
Definition: gcsd.c:103
bool(* FN_MEDIUM_READSECTORS)(uint32_t sector, uint32_t numSectors, void *buffer)
Definition: iosuhax_disc_interface.h:47
static bool __gcsda_isInserted(void)
Definition: gcsd.c:98
#define DEVICE_TYPE_GC_SD
Definition: gcsd.h:40
bool(* FN_MEDIUM_CLEARSTATUS)(void)
Definition: iosuhax_disc_interface.h:49
#define FEATURE_MEDIUM_CANREAD
Definition: iosuhax_disc_interface.h:42

◆ __io_gcsdb

const DISC_INTERFACE __io_gcsdb
Initial value:
= {
}
static bool __gcsdb_writeSectors(u32 sector, u32 numSectors, void *buffer)
Definition: gcsd.c:140
bool(* FN_MEDIUM_WRITESECTORS)(uint32_t sector, uint32_t numSectors, const void *buffer)
Definition: iosuhax_disc_interface.h:48
bool(* FN_MEDIUM_ISINSERTED)(void)
Definition: iosuhax_disc_interface.h:46
static bool __gcsdb_isInserted(void)
Definition: gcsd.c:130
static bool __gcsdb_clearStatus(void)
Definition: gcsd.c:145
#define FEATURE_MEDIUM_CANWRITE
Definition: iosuhax_disc_interface.h:43
bool(* FN_MEDIUM_SHUTDOWN)(void)
Definition: iosuhax_disc_interface.h:50
bool(* FN_MEDIUM_STARTUP)(void)
Definition: iosuhax_disc_interface.h:45
static bool __gcsdb_startup(void)
Definition: gcsd.c:125
bool(* FN_MEDIUM_READSECTORS)(uint32_t sector, uint32_t numSectors, void *buffer)
Definition: iosuhax_disc_interface.h:47
#define FEATURE_GAMECUBE_SLOTB
Definition: disc_io.h:40
static bool __gcsdb_shutdown(void)
Definition: gcsd.c:150
#define DEVICE_TYPE_GC_SD
Definition: gcsd.h:40
bool(* FN_MEDIUM_CLEARSTATUS)(void)
Definition: iosuhax_disc_interface.h:49
#define FEATURE_MEDIUM_CANREAD
Definition: iosuhax_disc_interface.h:42
static bool __gcsdb_readSectors(u32 sector, u32 numSectors, void *buffer)
Definition: gcsd.c:135