|
Linux Kernel
3.7.1
|
#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 |
Macros | |
| #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_RECV_PKTLEN_MASK 0xFFFF |
| #define | CPPI_BUFFER_LEN_MASK 0xFFFF |
| #define | CPPI_TEAR_READY ((u32)(1 << 31)) |
| #define | CPPI_DESCRIPTOR_ALIGN 16 /* bytes; 5-dec docs say 4-byte align */ |
Functions | |
| struct cppi_descriptor | __attribute__ ((aligned(CPPI_DESCRIPTOR_ALIGN))) |
| irqreturn_t | cppi_interrupt (int, void *) |
Variables | |
| u32 | hw_next |
| u32 | hw_bufp |
| u32 | hw_off_len |
| u32 | hw_options |
| struct cppi_descriptor * | next |
| dma_addr_t | dma |
| u32 | buflen |
| struct cppi_channel | __attribute__ |
| #define CPPI_BUFFER_LEN_MASK 0xFFFF |
Definition at line 55 of file cppi_dma.h.
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.
Definition at line 49 of file cppi_dma.h.
| #define CPPI_RECV_PKTLEN_MASK 0xFFFF |
Definition at line 54 of file cppi_dma.h.
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.
Definition at line 51 of file cppi_dma.h.
| irqreturn_t cppi_interrupt | ( | int | , |
| void * | |||
| ) |
Definition at line 1162 of file cppi_dma.c.
| u32 buflen |
Definition at line 82 of file cppi_dma.h.
| dma_addr_t dma |
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.
| struct cppi_descriptor* next |
Definition at line 80 of file cppi_dma.h.
1.8.2