RetroArch
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <malloc.h>
#include <ogcsys.h>
#include <gccore.h>
#include <usb.h>
#include "hci.h"
#include "btmemb.h"
#include "physbusif.h"
Classes | |
struct | usbtxbuf |
Macros | |
#define | STACKSIZE 32768 |
#define | NUM_ACL_BUFS 30 |
#define | NUM_CTRL_BUFS 45 |
#define | ACL_BUF_SIZE 1800 |
#define | CTRL_BUF_SIZE 660 |
#define | ROUNDUP32(v) (((u32)(v)+0x1f)&~0x1f) |
#define | ROUNDDOWN32(v) (((u32)(v)-0x1f)&~0x1f) |
Functions | |
static u8 __ppc_btstack1 [STACKSIZE] | ATTRIBUTE_ALIGN (8) |
static s32 | __issue_bulkread () |
static s32 | __issue_intrread () |
u32 | __IPC_ClntInit () |
static s32 | __usb_closeCB (s32 result, void *usrdata) |
static s32 | __writectrlmsgCB (s32 result, void *usrdata) |
static s32 | __writebulkmsgCB (s32 result, void *usrdata) |
static s32 | __readbulkdataCB (s32 result, void *usrdata) |
static s32 | __readintrdataCB (s32 result, void *usrdata) |
static s32 | __initUsbIOBuffer (struct memb_blks *blk, u32 buf_size, u32 num_bufs) |
static s32 | __getDeviceId (u16 vid, u16 pid) |
static s32 | __usb_register (pbcallback cb) |
static s32 | __usb_open (pbcallback cb) |
void | __ntd_set_ohci (u8 hci) |
void | __ntd_set_pid_vid (u16 vid, u16 pid) |
void | physbusif_init () |
void | physbusif_close () |
void | physbusif_shutdown () |
void | physbusif_reset_all () |
void | physbusif_output (struct pbuf *p, u16_t len) |
Variables | |
static u32 | __ntd_ohci = 0 |
static u32 | __ntd_ohci_initflag = 0 |
static u16 | __ntd_vid = 0 |
static u16 | __ntd_pid = 0 |
static u32 | __ntd_vid_pid_specified = 0 |
static s32 | __ntd_usb_fd = -1 |
static u32 | __wait4hci = 1 |
static struct _usb_p | __usbdev |
static struct memb_blks | ctrlbufs |
static struct memb_blks | aclbufs |
#define ACL_BUF_SIZE 1800 |
#define CTRL_BUF_SIZE 660 |
#define NUM_ACL_BUFS 30 |
#define NUM_CTRL_BUFS 45 |
#define STACKSIZE 32768 |
u32 __IPC_ClntInit | ( | ) |
|
static |
|
static |
|
static |
|
static |
void physbusif_close | ( | ) |
void physbusif_init | ( | ) |
void physbusif_reset_all | ( | ) |
void physbusif_shutdown | ( | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |