|
SSBM Decomp
|
Macros | |
| #define | SI_CHAN0_BIT 0x80000000 |
| #define | SI_CHAN1_BIT 0x40000000 |
| #define | SI_CHAN2_BIT 0x20000000 |
| #define | SI_CHAN3_BIT 0x10000000 |
Functions | |
| static unsigned long | CompleteTransfer () |
| static void | SITransferNext (long chan) |
| static void | SIIntrruptHandler (short unused, struct OSContext *context) |
| static int | __SITransfer (long chan, void *output, unsigned long outputBytes, void *input, unsigned long inputBytes, void(*callback)(long, unsigned long, struct OSContext *)) |
| static void | AlarmHandler (struct OSAlarm *alarm, struct OSContext *context) |
| int | SIBusy () |
| BOOL | SIIsChanBusy (int chan) |
| static void | SIClearTCInterrupt () |
| static BOOL | SIGetResponseRaw (s32 chan) |
| static void | GetTypeCallback (s32 chan, u32 error, OSContext *context) |
| static void | SIInterruptHandler (__OSInterrupt interrupt, OSContext *context) |
| static BOOL | SIEnablePollingInterrupt (BOOL enable) |
| BOOL | SIRegisterPollingHandler (__OSInterruptHandler handler) |
| BOOL | SIUnregisterPollingHandler (__OSInterruptHandler handler) |
| void | SIInit () |
| unsigned long | SISync () |
| unsigned long | SIGetStatus (int chan) |
| static unsigned long | SIGetStatus_dontinline (int chan) |
| void | SISetCommand (long chan, unsigned long command) |
| unsigned long | SIGetCommand (long chan) |
| void | SITransferCommands () |
| unsigned long | SISetXY (unsigned long x, unsigned long y) |
| unsigned long | SIEnablePolling (unsigned long poll) |
| unsigned long | SIDisablePolling (unsigned long poll) |
| static int | SIGetResponseRaw (long chan) |
| BOOL | SIGetResponse (s32 chan, void *data) |
| int | SITransfer (long chan, void *output, unsigned long outputBytes, void *input, unsigned long inputBytes, void(*callback)(long, unsigned long, struct OSContext *), OSTime delay) |
| static void | CallTypeAndStatusCallback (s32 chan, u32 type) |
| u32 | SIGetType (s32 chan) |
| u32 | SIGetTypeAsync (s32 chan, SITypeAndStatusCallback callback) |
| static void | dummy () |
Variables | |
| static struct SIControl | Si |
| u32 | __PADFixBits |
| static struct SIPacket | Packet [4] |
| static struct OSAlarm | Alarm [4] |
| static u64 | TypeTime [4] |
| static OSTime | XferTime [SI_MAX_CHAN] |
| static SITypeAndStatusCallback | TypeCallback [SI_MAX_CHAN][4] |
| static __OSInterruptHandler | RDSTHandler [4] |
| static BOOL | InputBufferValid [SI_MAX_CHAN] |
| static u32 | InputBuffer [SI_MAX_CHAN][2] |
| static volatile u32 | InputBufferVcount [SI_MAX_CHAN] |
| static u32 | cmdFixDevice [SI_MAX_CHAN] |
| static u32 | Type [SI_MAX_CHAN] |
| #define SI_CHAN0_BIT 0x80000000 |
| #define SI_CHAN1_BIT 0x40000000 |
| #define SI_CHAN2_BIT 0x20000000 |
| #define SI_CHAN3_BIT 0x10000000 |
|
static |
|
static |
|
static |
|
static |
| int SIBusy | ( | void | ) |
| BOOL SIIsChanBusy | ( | int | chan | ) |
|
static |
|
static |
| BOOL SIRegisterPollingHandler | ( | __OSInterruptHandler | handler | ) |
| BOOL SIUnregisterPollingHandler | ( | __OSInterruptHandler | handler | ) |
| void SIInit | ( | ) |
| unsigned long SISync | ( | ) |
| unsigned long SIGetStatus | ( | int | chan | ) |
|
static |
| void SISetCommand | ( | long | chan, |
| unsigned long | command ) |
| unsigned long SIGetCommand | ( | long | chan | ) |
| void SITransferCommands | ( | void | ) |
| unsigned long SISetXY | ( | unsigned long | x, |
| unsigned long | y ) |
| unsigned long SIEnablePolling | ( | unsigned long | poll | ) |
| unsigned long SIDisablePolling | ( | unsigned long | poll | ) |
|
static |
| int SITransfer | ( | long | chan, |
| void * | output, | ||
| unsigned long | outputBytes, | ||
| void * | input, | ||
| unsigned long | inputBytes, | ||
| void(* | callback )(long, unsigned long, struct OSContext *), | ||
| OSTime | delay ) |
| u32 SIGetTypeAsync | ( | s32 | chan, |
| SITypeAndStatusCallback | callback ) |
|
static |
|
static |
| u32 __PADFixBits |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |