RetroArch
usbgecko.h
Go to the documentation of this file.
1 #ifndef __USBGECKO_H___
2 #define __USBGECKO_H___
3 
4 #include <gctypes.h>
5 
6 #ifdef __cplusplus
7  extern "C" {
8 #endif /* __cplusplus */
9 
10 void usb_flush(s32 chn);
11 int usb_isgeckoalive(s32 chn);
12 int usb_recvbuffer(s32 chn,void *buffer,int size);
13 int usb_sendbuffer(s32 chn,const void *buffer,int size);
14 int usb_recvbuffer_safe(s32 chn,void *buffer,int size);
15 int usb_sendbuffer_safe(s32 chn,const void *buffer,int size);
16 int usb_recvbuffer_ex(s32 chn,void *buffer,int size, int retries);
17 int usb_sendbuffer_ex(s32 chn,const void *buffer,int size, int retries);
18 int usb_recvbuffer_safe_ex(s32 chn,void *buffer,int size, int retries);
19 int usb_sendbuffer_safe_ex(s32 chn,const void *buffer,int size, int retries);
20 int usb_flashread(s32 chn, u32 offset, void *buffer, size_t length);
21 int usb_flashwrite(s32 chn, u32 offset, const void *buffer, size_t length);
22 int usb_flashverify(s32 chn);
23 
24 #ifdef __cplusplus
25  }
26 #endif /* __cplusplus */
27 
28 #endif
int32_t s32
32bit signed integer
Definition: gctypes.h:24
int usb_flashverify(s32 chn)
Definition: usbgecko.c:359
int usb_isgeckoalive(s32 chn)
Definition: usbgecko.c:156
int usb_sendbuffer_safe(s32 chn, const void *buffer, int size)
Definition: usbgecko.c:295
Data type definitions.
int usb_flashwrite(s32 chn, u32 offset, const void *buffer, size_t length)
Definition: usbgecko.c:335
GLsizeiptr size
Definition: glext.h:6559
int usb_sendbuffer_safe_ex(s32 chn, const void *buffer, int size, int retries)
Definition: usbgecko.c:268
int usb_sendbuffer(s32 chn, const void *buffer, int size)
Definition: usbgecko.c:233
int usb_recvbuffer_ex(s32 chn, void *buffer, int size, int retries)
Definition: usbgecko.c:179
int usb_recvbuffer_safe(s32 chn, void *buffer, int size)
Definition: usbgecko.c:264
void usb_flush(s32 chn)
Definition: usbgecko.c:147
int usb_sendbuffer_ex(s32 chn, const void *buffer, int size, int retries)
Definition: usbgecko.c:208
int usb_recvbuffer(s32 chn, void *buffer, int size)
Definition: usbgecko.c:204
int usb_recvbuffer_safe_ex(s32 chn, void *buffer, int size, int retries)
Definition: usbgecko.c:237
Definition: video4linux2.c:51
GLintptr offset
Definition: glext.h:6560
int usb_flashread(s32 chn, u32 offset, void *buffer, size_t length)
Definition: usbgecko.c:321
uint32_t u32
32bit unsigned integer
Definition: gctypes.h:19
GLenum GLuint GLenum GLsizei length
Definition: glext.h:6233