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

#include <adma.h>

Data Fields

spinlock_t lock
 
struct ppc440spe_adma_devicedevice
 
struct list_head chain
 
struct dma_chan common
 
struct list_head all_slots
 
struct ppc440spe_adma_desc_slotlast_used
 
int pending
 
int slots_allocated
 
int hw_chain_inited
 
struct tasklet_struct irq_tasklet
 
u8 needs_unmap
 
struct pagepdest_page
 
struct pageqdest_page
 
dma_addr_t pdest
 
dma_addr_t qdest
 

Detailed Description

struct ppc440spe_adma_chan - internal representation of an ADMA channel : serializes enqueue/dequeue operations to the slot pool : parent device : device chain view of the descriptors : common dmaengine channel object members : complete domain of slots usable by the channel : allows batching of hardware operations : records the actual size of the descriptor slot pool : h/w descriptor chain initialization flag : bottom half where ppc440spe_adma_slot_cleanup runs : if buffers should not be unmapped upon final processing : P destination page for async validate operation : Q destination page for async validate operation : P dma addr for async validate operation : Q dma addr for async validate operation

Definition at line 93 of file adma.h.

Field Documentation

struct list_head all_slots

Definition at line 98 of file adma.h.

Definition at line 96 of file adma.h.

struct dma_chan common

Definition at line 97 of file adma.h.

Definition at line 95 of file adma.h.

int hw_chain_inited

Definition at line 102 of file adma.h.

struct tasklet_struct irq_tasklet

Definition at line 103 of file adma.h.

Definition at line 99 of file adma.h.

spinlock_t lock

Definition at line 94 of file adma.h.

u8 needs_unmap

Definition at line 104 of file adma.h.

dma_addr_t pdest

Definition at line 107 of file adma.h.

struct page* pdest_page

Definition at line 105 of file adma.h.

int pending

Definition at line 100 of file adma.h.

dma_addr_t qdest

Definition at line 108 of file adma.h.

struct page* qdest_page

Definition at line 106 of file adma.h.

int slots_allocated

Definition at line 101 of file adma.h.


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