Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
dma_channel Struct Reference

#include <dma.h>

Data Fields

charname
 
pxa_dma_prio prio
 
void(* irq_handler )(int, void *)
 
voiddata
 
spinlock_t lock
 
const chardevice_id
 
atomic_t chan_status
 
struct dma_registerregs
 
struct dmasgsg
 
unsigned int irq
 
struct dma_reg ch [DMA_CHAN_COUNT]
 
puv3_dma_prio prio
 
void(* err_handler )(int, void *)
 
voidprivate_data
 
size_t max_len
 
size_t actual_len
 
enum dma_channel_status status
 
bool desired_mode
 

Detailed Description

struct dma_channel - A DMA channel. : channel-private data : the maximum number of bytes the channel can move in one transaction (typically representing many USB maximum-sized packets) : how many bytes have been transferred : current channel status (updated e.g. on interrupt) : true if mode 1 is desired; false if mode 0 is desired

channels are associated with an endpoint for the duration of at least one usb transfer.

Definition at line 31 of file dma.c.

Field Documentation

size_t actual_len

Definition at line 129 of file musb_dma.h.

Definition at line 100 of file dma.h.

atomic_t chan_status

Definition at line 165 of file dma.h.

Definition at line 35 of file dma.c.

bool desired_mode

Definition at line 131 of file musb_dma.h.

const char* device_id

Definition at line 164 of file dma.h.

void(* err_handler)(int, void *)

Definition at line 29 of file dma.c.

unsigned int irq

Definition at line 168 of file dma.h.

void(* irq_handler)(int, void *)

Definition at line 34 of file dma.c.

spinlock_t lock

Definition at line 36 of file dma.c.

size_t max_len

Definition at line 128 of file musb_dma.h.

char * name

Definition at line 32 of file dma.c.

Definition at line 27 of file dma.c.

Definition at line 33 of file dma.c.

void* private_data

Definition at line 126 of file musb_dma.h.

Definition at line 166 of file dma.h.

Definition at line 167 of file dma.h.

Definition at line 130 of file musb_dma.h.


The documentation for this struct was generated from the following files: