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

Go to the source code of this file.

Macros

#define DIVA_DFIFO_CACHE_SZ
 
#define DIVA_DFIFO_RAW_SZ   (2512 * 8)
 
#define DIVA_DFIFO_DATA_SZ   68
 
#define DIVA_DFIFO_HDR_SZ   4
 
#define DIVA_DFIFO_SEGMENT_SZ   (DIVA_DFIFO_DATA_SZ + DIVA_DFIFO_HDR_SZ)
 
#define DIVA_DFIFO_SEGMENTS   ((DIVA_DFIFO_RAW_SZ) / (DIVA_DFIFO_SEGMENT_SZ) + 1)
 
#define DIVA_DFIFO_MEM_SZ
 
#define DIVA_DFIFO_STEP   DIVA_DFIFO_SEGMENT_SZ
 
#define DIVA_DFIFO_WRAP   0x80 /* This is the last block in fifo */
 
#define DIVA_DFIFO_READY   0x40 /* This block is ready for processing */
 
#define DIVA_DFIFO_LAST   0x20 /* This block is last in message */
 
#define DIVA_DFIFO_AUTO   0x10 /* Don't look for 'ready', don't ack */
 

Functions

int diva_dfifo_create (void *start, int length)
 

Macro Definition Documentation

#define DIVA_DFIFO_AUTO   0x10 /* Don't look for 'ready', don't ack */

Definition at line 49 of file dfifo.h.

#define DIVA_DFIFO_CACHE_SZ
Value:
64 /* Used to isolate pipe from
rest of the world
should be divisible by 4
*/

Definition at line 28 of file dfifo.h.

#define DIVA_DFIFO_DATA_SZ   68

Definition at line 30 of file dfifo.h.

#define DIVA_DFIFO_HDR_SZ   4

Definition at line 31 of file dfifo.h.

#define DIVA_DFIFO_LAST   0x20 /* This block is last in message */

Definition at line 48 of file dfifo.h.

#define DIVA_DFIFO_MEM_SZ
Value:

Definition at line 34 of file dfifo.h.

#define DIVA_DFIFO_RAW_SZ   (2512 * 8)

Definition at line 29 of file dfifo.h.

#define DIVA_DFIFO_READY   0x40 /* This block is ready for processing */

Definition at line 47 of file dfifo.h.

#define DIVA_DFIFO_SEGMENT_SZ   (DIVA_DFIFO_DATA_SZ + DIVA_DFIFO_HDR_SZ)

Definition at line 32 of file dfifo.h.

#define DIVA_DFIFO_SEGMENTS   ((DIVA_DFIFO_RAW_SZ) / (DIVA_DFIFO_SEGMENT_SZ) + 1)

Definition at line 33 of file dfifo.h.

#define DIVA_DFIFO_STEP   DIVA_DFIFO_SEGMENT_SZ

Definition at line 38 of file dfifo.h.

#define DIVA_DFIFO_WRAP   0x80 /* This is the last block in fifo */

Definition at line 46 of file dfifo.h.

Function Documentation

int diva_dfifo_create ( void start,
int  length 
)