Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
iop_adma.h File Reference
#include <linux/types.h>
#include <linux/dmaengine.h>
#include <linux/interrupt.h>

Go to the source code of this file.

Data Structures

struct  iop_adma_device
 
struct  iop_adma_chan
 
struct  iop_adma_desc_slot
 
struct  iop_adma_platform_data
 

Macros

#define IOP_ADMA_SLOT_SIZE   32
 
#define IOP_ADMA_THRESHOLD   4
 
#define IOP_PARANOIA   0
 
#define iop_paranoia(x)   BUG_ON(IOP_PARANOIA && (x))
 
#define to_iop_sw_desc(addr_hw_desc)   container_of(addr_hw_desc, struct iop_adma_desc_slot, hw_desc)
 
#define iop_hw_desc_slot_idx(hw_desc, idx)   ( (void *) (((unsigned long) hw_desc) + ((idx) << 5)) )
 

Macro Definition Documentation

#define IOP_ADMA_SLOT_SIZE   32

Definition at line 24 of file iop_adma.h.

#define IOP_ADMA_THRESHOLD   4

Definition at line 25 of file iop_adma.h.

#define iop_hw_desc_slot_idx (   hw_desc,
  idx 
)    ( (void *) (((unsigned long) hw_desc) + ((idx) << 5)) )

Definition at line 121 of file iop_adma.h.

#define IOP_PARANOIA   0

Definition at line 29 of file iop_adma.h.

#define iop_paranoia (   x)    BUG_ON(IOP_PARANOIA && (x))

Definition at line 31 of file iop_adma.h.

#define to_iop_sw_desc (   addr_hw_desc)    container_of(addr_hw_desc, struct iop_adma_desc_slot, hw_desc)

Definition at line 119 of file iop_adma.h.