Go to the documentation of this file.
20 #include <linux/types.h>
24 #define IOP_ADMA_SLOT_SIZE 32
25 #define IOP_ADMA_THRESHOLD 4
27 #define IOP_PARANOIA 1
29 #define IOP_PARANOIA 0
31 #define iop_paranoia(x) BUG_ON(IOP_PARANOIA && (x))
119 #define to_iop_sw_desc(addr_hw_desc) \
120 container_of(addr_hw_desc, struct iop_adma_desc_slot, hw_desc)
121 #define iop_hw_desc_slot_idx(hw_desc, idx) \
122 ( (void *) (((unsigned long) hw_desc) + ((idx) << 5)) )