RetroArch
Classes | Macros | Typedefs | Functions | Variables
sdgecko_buf.c File Reference
#include <stdio.h>
#include <string.h>
#include "card_cmn.h"
#include "card_buf.h"
Include dependency graph for sdgecko_buf.c:

Classes

struct  _buf_node
 

Macros

#define BUF_POOL_CNT   3
 

Typedefs

typedef struct _buf_node BufNode
 

Functions

void sdgecko_initBufferPool ()
 
u8sdgecko_allocBuffer ()
 
void sdgecko_freeBuffer (u8 *buf)
 

Variables

static BufNode s_buf [BUF_POOL_CNT]
 
static BufNodes_freepool
 

Macro Definition Documentation

◆ BUF_POOL_CNT

#define BUF_POOL_CNT   3

Typedef Documentation

◆ BufNode

typedef struct _buf_node BufNode

Function Documentation

◆ sdgecko_allocBuffer()

u8* sdgecko_allocBuffer ( )

◆ sdgecko_freeBuffer()

void sdgecko_freeBuffer ( u8 buf)

◆ sdgecko_initBufferPool()

void sdgecko_initBufferPool ( )
Here is the caller graph for this function:

Variable Documentation

◆ s_buf

BufNode s_buf[BUF_POOL_CNT]
static

◆ s_freepool

BufNode* s_freepool
static