Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
gen_bd.h File Reference

Go to the source code of this file.

Data Structures

struct  bcom_gen_bd
 

Functions

struct bcom_taskbcom_gen_bd_rx_init (int queue_len, phys_addr_t fifo, int initiator, int ipr, int maxbufsize)
 
int bcom_gen_bd_rx_reset (struct bcom_task *tsk)
 
void bcom_gen_bd_rx_release (struct bcom_task *tsk)
 
struct bcom_taskbcom_gen_bd_tx_init (int queue_len, phys_addr_t fifo, int initiator, int ipr)
 
int bcom_gen_bd_tx_reset (struct bcom_task *tsk)
 
void bcom_gen_bd_tx_release (struct bcom_task *tsk)
 
struct bcom_taskbcom_psc_gen_bd_rx_init (unsigned psc_num, int queue_len, phys_addr_t fifo, int maxbufsize)
 
struct bcom_taskbcom_psc_gen_bd_tx_init (unsigned psc_num, int queue_len, phys_addr_t fifo)
 

Function Documentation

struct bcom_task* bcom_gen_bd_rx_init ( int  queue_len,
phys_addr_t  fifo,
int  initiator,
int  ipr,
int  maxbufsize 
)
read

Definition at line 89 of file gen_bd.c.

void bcom_gen_bd_rx_release ( struct bcom_task tsk)

Definition at line 165 of file gen_bd.c.

int bcom_gen_bd_rx_reset ( struct bcom_task tsk)

Definition at line 118 of file gen_bd.c.

struct bcom_task* bcom_gen_bd_tx_init ( int  queue_len,
phys_addr_t  fifo,
int  initiator,
int  ipr 
)
read

Definition at line 174 of file gen_bd.c.

void bcom_gen_bd_tx_release ( struct bcom_task tsk)

Definition at line 249 of file gen_bd.c.

int bcom_gen_bd_tx_reset ( struct bcom_task tsk)

Definition at line 202 of file gen_bd.c.

struct bcom_task* bcom_psc_gen_bd_rx_init ( unsigned  psc_num,
int  queue_len,
phys_addr_t  fifo,
int  maxbufsize 
)
read

bcom_psc_gen_bd_rx_init - Allocate a receive bcom_task for a PSC port : Number of the PSC to allocate a task for : number of buffer descriptors to allocate for the task : physical address of FIFO register : Maximum receive data size in bytes.

Allocate a bestcomm task structure for receiving data from a PSC.

Definition at line 319 of file gen_bd.c.

struct bcom_task* bcom_psc_gen_bd_tx_init ( unsigned  psc_num,
int  queue_len,
phys_addr_t  fifo 
)
read

bcom_psc_gen_bd_tx_init - Allocate a transmit bcom_task for a PSC port : Number of the PSC to allocate a task for : number of buffer descriptors to allocate for the task : physical address of FIFO register

Allocate a bestcomm task structure for transmitting data to a PSC.

Definition at line 341 of file gen_bd.c.