|
SSBM Decomp
|
Data Structures | |
| struct | EXIControl |
Macros | |
| #define | MAX_CHAN 3 |
| #define | STATE_BUSY 3 |
| #define | STATE_SELECTED 4 |
| #define | MAX_IMM 4 |
| #define | MAX_TYPE 3 |
| #define | MAX_DEV 3 |
| #define | MAX_FREQ 6 |
| #define | EXI_0LENGTH_EXILENGTH_MASK 0x03FFFFE0 |
| #define | EXI_READ 0 |
| #define | EXI_WRITE 1 |
| #define | EXI_REG_MAX 5 |
| #define | EXI_USB_ADAPTER 0x01010000 |
| #define | EXI_FREQ_1M 0 |
| #define | EXIREG(chan, idx) |
Typedefs | |
| typedef void(* | EXICallback) (s32, OSContext *) |
Functions | |
| static void | SetExiInterruptMask (long chan, struct EXIControl *exi) |
| static void | CompleteTransfer (long chan) |
| int | EXIImm (long chan, void *buf, long len, unsigned long type, EXICallback callback) |
| int | EXIImmEx (long chan, void *buf, long len, unsigned long mode) |
| int | EXIDma (long chan, void *buf, long len, unsigned long type, EXICallback callback) |
| int | EXISync (long chan) |
| unsigned long | EXIClearInterrupts (long chan, int exi, int tc, int ext) |
| EXICallback | EXISetExiCallback (long chan, EXICallback exiCallback) |
| void | EXIProbeReset () |
| static int | __EXIProbe (long chan) |
| int | EXIProbe (long chan) |
| int | EXIProbeEx (long chan) |
| int | EXIAttach (long chan, EXICallback extCallback) |
| int | EXIDetach (long chan) |
| int | EXISelect (long chan, unsigned long dev, unsigned long freq) |
| int | EXIDeselect (long chan) |
| static void | EXIIntrruptHandler (signed short interrupt, struct OSContext *context) |
| static void | TCIntrruptHandler (signed short interrupt, struct OSContext *context) |
| static void | EXTIntrruptHandler (signed short interrupt, struct OSContext *context) |
| void | EXIInit () |
| int | EXILock (long chan, unsigned long dev, void(*unlockedCallback)(long, struct OSContext *)) |
| int | EXIUnlock (long chan) |
| unsigned long | EXIGetState (long chan) |
| int | EXIGetID (long chan, unsigned long dev, unsigned long *id) |
| static int | __EXIAttach (long chan, EXICallback extCallback) |
| static void | UnlockedHandler (long chan, OSContext *context) |
Variables | |
| static struct EXIControl | Ecb [3] |
| #define MAX_CHAN 3 |
| #define STATE_BUSY 3 |
| #define STATE_SELECTED 4 |
| #define MAX_IMM 4 |
| #define MAX_TYPE 3 |
| #define MAX_DEV 3 |
| #define MAX_FREQ 6 |
| #define EXI_0LENGTH_EXILENGTH_MASK 0x03FFFFE0 |
| #define EXI_READ 0 |
| #define EXI_WRITE 1 |
| #define EXI_REG_MAX 5 |
| #define EXI_USB_ADAPTER 0x01010000 |
| #define EXI_FREQ_1M 0 |
| #define EXIREG | ( | chan, | |
| idx ) |
|
static |
|
static |
| int EXIImm | ( | long | chan, |
| void * | buf, | ||
| long | len, | ||
| unsigned long | type, | ||
| EXICallback | callback ) |
| int EXIImmEx | ( | long | chan, |
| void * | buf, | ||
| long | len, | ||
| unsigned long | mode ) |
| int EXIDma | ( | long | chan, |
| void * | buf, | ||
| long | len, | ||
| unsigned long | type, | ||
| EXICallback | callback ) |
| int EXISync | ( | long | chan | ) |
| unsigned long EXIClearInterrupts | ( | long | chan, |
| int | exi, | ||
| int | tc, | ||
| int | ext ) |
| EXICallback EXISetExiCallback | ( | long | chan, |
| EXICallback | exiCallback ) |
| void EXIProbeReset | ( | void | ) |
|
static |
| int EXIProbe | ( | long | chan | ) |
| int EXIProbeEx | ( | long | chan | ) |
| int EXIAttach | ( | long | chan, |
| EXICallback | extCallback ) |
| int EXIDetach | ( | long | chan | ) |
| int EXISelect | ( | long | chan, |
| unsigned long | dev, | ||
| unsigned long | freq ) |
| int EXIDeselect | ( | long | chan | ) |
|
static |
|
static |
|
static |
| void EXIInit | ( | void | ) |
| int EXILock | ( | long | chan, |
| unsigned long | dev, | ||
| void(* | unlockedCallback )(long, struct OSContext *) ) |
| int EXIUnlock | ( | long | chan | ) |
| unsigned long EXIGetState | ( | long | chan | ) |
| int EXIGetID | ( | long | chan, |
| unsigned long | dev, | ||
| unsigned long * | id ) |
|
static |
|
static |
|
static |