Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
cppi_dma.h File Reference
#include <linux/slab.h>
#include <linux/list.h>
#include <linux/errno.h>
#include <linux/dmapool.h>
#include "musb_dma.h"
#include "musb_core.h"
#include "davinci.h"

Go to the source code of this file.

Data Structures

struct  cppi_tx_stateram
struct  cppi_rx_stateram
struct  cppi_descriptor
struct  cppi_channel
struct  cppi


#define CPPI_SOP_SET   ((u32)(1 << 31))
#define CPPI_EOP_SET   ((u32)(1 << 30))
#define CPPI_OWN_SET   ((u32)(1 << 29)) /* owned by cppi */
#define CPPI_EOQ_MASK   ((u32)(1 << 28))
#define CPPI_ZERO_SET   ((u32)(1 << 23)) /* rx saw zlp; tx issues one */
#define CPPI_RXABT_MASK   ((u32)(1 << 19)) /* need more rx buffers */
#define CPPI_TEAR_READY   ((u32)(1 << 31))
#define CPPI_DESCRIPTOR_ALIGN   16 /* bytes; 5-dec docs say 4-byte align */


struct cppi_descriptor __attribute__ ((aligned(CPPI_DESCRIPTOR_ALIGN)))
irqreturn_t cppi_interrupt (int, void *)


u32 hw_next
u32 hw_bufp
u32 hw_off_len
u32 hw_options
struct cppi_descriptornext
dma_addr_t dma
u32 buflen
struct cppi_channel __attribute__

Macro Definition Documentation


Definition at line 55 of file cppi_dma.h.

#define CPPI_DESCRIPTOR_ALIGN   16 /* bytes; 5-dec docs say 4-byte align */

Definition at line 61 of file cppi_dma.h.

#define CPPI_EOP_SET   ((u32)(1 << 30))

Definition at line 48 of file cppi_dma.h.

#define CPPI_EOQ_MASK   ((u32)(1 << 28))

Definition at line 50 of file cppi_dma.h.

#define CPPI_OWN_SET   ((u32)(1 << 29)) /* owned by cppi */

Definition at line 49 of file cppi_dma.h.


Definition at line 54 of file cppi_dma.h.

#define CPPI_RXABT_MASK   ((u32)(1 << 19)) /* need more rx buffers */

Definition at line 52 of file cppi_dma.h.

#define CPPI_SOP_SET   ((u32)(1 << 31))

Definition at line 47 of file cppi_dma.h.

#define CPPI_TEAR_READY   ((u32)(1 << 31))

Definition at line 57 of file cppi_dma.h.

#define CPPI_ZERO_SET   ((u32)(1 << 23)) /* rx saw zlp; tx issues one */

Definition at line 51 of file cppi_dma.h.

Function Documentation

irqreturn_t cppi_interrupt ( int  ,

Definition at line 1162 of file cppi_dma.c.

Variable Documentation

u32 buflen

Definition at line 82 of file cppi_dma.h.

Definition at line 81 of file cppi_dma.h.

u32 hw_bufp

Definition at line 76 of file cppi_dma.h.

u32 hw_next

Definition at line 75 of file cppi_dma.h.

u32 hw_off_len

Definition at line 77 of file cppi_dma.h.

u32 hw_options

Definition at line 78 of file cppi_dma.h.

Definition at line 80 of file cppi_dma.h.