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

#include <mv_xor.h>

Data Fields

int pending
 
spinlock_t lock
 
void __iomemmmr_base
 
unsigned int idx
 
enum dma_transaction_type current_type
 
struct list_head chain
 
struct list_head completed_slots
 
struct mv_xor_devicedevice
 
struct dma_chan common
 
struct mv_xor_desc_slotlast_used
 
struct list_head all_slots
 
int slots_allocated
 
struct tasklet_struct irq_tasklet
 
unsigned long cleanup_time
 
u32 current_on_last_cleanup
 

Detailed Description

struct mv_xor_chan - internal representation of a XOR channel : allows batching of hardware operations : serializes enqueue/dequeue operations to the descriptors pool : memory mapped register base : the index of the xor channel : device chain view of the descriptors : slots completed by HW but still need to be acked : parent device : common dmaengine channel object members : place holder for allocation to continue from where it left off : complete domain of slots usable by the channel : records the actual size of the descriptor slot pool : bottom half where mv_xor_slot_cleanup runs

Definition at line 94 of file mv_xor.h.

Field Documentation

struct list_head all_slots

Definition at line 105 of file mv_xor.h.

Definition at line 100 of file mv_xor.h.

unsigned long cleanup_time

Definition at line 109 of file mv_xor.h.

struct dma_chan common

Definition at line 103 of file mv_xor.h.

struct list_head completed_slots

Definition at line 101 of file mv_xor.h.

u32 current_on_last_cleanup

Definition at line 110 of file mv_xor.h.

enum dma_transaction_type current_type

Definition at line 99 of file mv_xor.h.

Definition at line 102 of file mv_xor.h.

unsigned int idx

Definition at line 98 of file mv_xor.h.

struct tasklet_struct irq_tasklet

Definition at line 107 of file mv_xor.h.

Definition at line 104 of file mv_xor.h.

spinlock_t lock

Definition at line 96 of file mv_xor.h.

void __iomem* mmr_base

Definition at line 97 of file mv_xor.h.

int pending

Definition at line 95 of file mv_xor.h.

int slots_allocated

Definition at line 106 of file mv_xor.h.


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