RetroArch
Macros | Typedefs | Functions
gcif.h File Reference
#include <lwip/netif.h>
Include dependency graph for gcif.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ERR_NODATA   -12
 
#define ERR_ALLREAD   -13
 
#define ERR_TXERROR   -14
 
#define ERR_RXERROR   -14
 
#define ERR_NODEV   -16
 
#define ERR_PKTSIZE   -17
 
#define ERR_TXPENDING   -18
 
#define cpu_to_be16(x)   (x)
 
#define cpu_to_be32(x)   (x)
 
#define cpu_to_le16p(addr)   (cpu_to_le16(*(addr)))
 
#define cpu_to_le32p(addr)   (cpu_to_le32(*(addr)))
 
#define cpu_to_be16p(addr)   (cpu_to_be16(*(addr)))
 
#define cpu_to_be32p(addr)   (cpu_to_be32(*(addr)))
 
#define le16_to_cpup(x)   cpu_to_le16p(x)
 
#define le32_to_cpup(x)   cpu_to_le32p(x)
 
#define be16_to_cpup(x)   cpu_to_be16p(x)
 
#define be32_to_cpup(x)   cpu_to_be32p(x)
 
#define le16_to_cpus(x)   cpu_to_le16s(x)
 
#define le32_to_cpus(x)   cpu_to_le32s(x)
 
#define be16_to_cpus(x)   cpu_to_be16s(x)
 
#define be32_to_cpus(x)   cpu_to_be32s(x)
 

Typedefs

typedef voiddev_s
 

Functions

static u16 cpu_to_le16 (u16 x)
 
static u32 cpu_to_le32 (u32 x)
 
static void cpu_to_le16s (u16 *a)
 
static void cpu_to_le32s (u32 *a)
 
static void cpu_to_be16s (u16 *a)
 
static void cpu_to_be32s (u32 *a)
 
dev_s bba_create (struct netif *)
 
err_t bba_init (struct netif *)
 
void bba_process (struct pbuf *p, struct netif *dev)
 

Macro Definition Documentation

◆ be16_to_cpup

#define be16_to_cpup (   x)    cpu_to_be16p(x)

◆ be16_to_cpus

#define be16_to_cpus (   x)    cpu_to_be16s(x)

◆ be32_to_cpup

#define be32_to_cpup (   x)    cpu_to_be32p(x)

◆ be32_to_cpus

#define be32_to_cpus (   x)    cpu_to_be32s(x)

◆ cpu_to_be16

#define cpu_to_be16 (   x)    (x)

◆ cpu_to_be16p

#define cpu_to_be16p (   addr)    (cpu_to_be16(*(addr)))

◆ cpu_to_be32

#define cpu_to_be32 (   x)    (x)

◆ cpu_to_be32p

#define cpu_to_be32p (   addr)    (cpu_to_be32(*(addr)))

◆ cpu_to_le16p

#define cpu_to_le16p (   addr)    (cpu_to_le16(*(addr)))

◆ cpu_to_le32p

#define cpu_to_le32p (   addr)    (cpu_to_le32(*(addr)))

◆ ERR_ALLREAD

#define ERR_ALLREAD   -13

◆ ERR_NODATA

#define ERR_NODATA   -12

◆ ERR_NODEV

#define ERR_NODEV   -16

◆ ERR_PKTSIZE

#define ERR_PKTSIZE   -17

◆ ERR_RXERROR

#define ERR_RXERROR   -14

◆ ERR_TXERROR

#define ERR_TXERROR   -14

◆ ERR_TXPENDING

#define ERR_TXPENDING   -18

◆ le16_to_cpup

#define le16_to_cpup (   x)    cpu_to_le16p(x)

◆ le16_to_cpus

#define le16_to_cpus (   x)    cpu_to_le16s(x)

◆ le32_to_cpup

#define le32_to_cpup (   x)    cpu_to_le32p(x)

◆ le32_to_cpus

#define le32_to_cpus (   x)    cpu_to_le32s(x)

Typedef Documentation

◆ dev_s

typedef void* dev_s

Function Documentation

◆ bba_create()

dev_s bba_create ( struct netif )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ bba_init()

err_t bba_init ( struct netif )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ bba_process()

void bba_process ( struct pbuf p,
struct netif dev 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cpu_to_be16s()

static void cpu_to_be16s ( u16 a)
inlinestatic

◆ cpu_to_be32s()

static void cpu_to_be32s ( u32 a)
inlinestatic

◆ cpu_to_le16()

static u16 cpu_to_le16 ( u16  x)
inlinestatic
Here is the caller graph for this function:

◆ cpu_to_le16s()

static void cpu_to_le16s ( u16 a)
inlinestatic
Here is the call graph for this function:

◆ cpu_to_le32()

static u32 cpu_to_le32 ( u32  x)
inlinestatic
Here is the caller graph for this function:

◆ cpu_to_le32s()

static void cpu_to_le32s ( u32 a)
inlinestatic
Here is the call graph for this function: