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

Go to the source code of this file.

Data Structures

struct  iop13xx_adma_src
 
struct  iop13xx_adma_desc_ctrl
 
struct  iop13xx_adma_byte_count
 
struct  iop13xx_adma_desc_hw
 
struct  iop13xx_adma_desc_dual_xor
 
struct  iop13xx_adma_desc_pq_update
 

Macros

#define ADMA_ACCR(chan)   (chan->mmr_base + 0x0)
 
#define ADMA_ACSR(chan)   (chan->mmr_base + 0x4)
 
#define ADMA_ADAR(chan)   (chan->mmr_base + 0x8)
 
#define ADMA_IIPCR(chan)   (chan->mmr_base + 0x18)
 
#define ADMA_IIPAR(chan)   (chan->mmr_base + 0x1c)
 
#define ADMA_IIPUAR(chan)   (chan->mmr_base + 0x20)
 
#define ADMA_ANDAR(chan)   (chan->mmr_base + 0x24)
 
#define ADMA_ADCR(chan)   (chan->mmr_base + 0x28)
 
#define ADMA_CARMD(chan)   (chan->mmr_base + 0x2c)
 
#define ADMA_ABCR(chan)   (chan->mmr_base + 0x30)
 
#define ADMA_DLADR(chan)   (chan->mmr_base + 0x34)
 
#define ADMA_DUADR(chan)   (chan->mmr_base + 0x38)
 
#define ADMA_SLAR(src, chan)   (chan->mmr_base + (0x3c + (src << 3)))
 
#define ADMA_SUAR(src, chan)   (chan->mmr_base + (0x40 + (src << 3)))
 
#define iop_adma_get_max_pq   iop_adma_get_max_xor
 
#define ADMA_STATUS_BUSY   (1 << 13)
 
#define iop_desc_is_aligned(x, y)   1
 
#define iop_chan_interrupt_slot_count(s, c)   iop_chan_memcpy_slot_count(0, s)
 
#define ADMA_MAX_BYTE_COUNT   (16 * 1024 * 1024)
 
#define IOP_ADMA_MAX_BYTE_COUNT   ADMA_MAX_BYTE_COUNT
 
#define IOP_ADMA_ZERO_SUM_MAX_BYTE_COUNT   ADMA_MAX_BYTE_COUNT
 
#define IOP_ADMA_XOR_MAX_BYTE_COUNT   ADMA_MAX_BYTE_COUNT
 
#define IOP_ADMA_PQ_MAX_BYTE_COUNT   ADMA_MAX_BYTE_COUNT
 
#define iop_chan_zero_sum_slot_count(l, s, o)   iop_chan_xor_slot_count(l, s, o)
 
#define iop_chan_pq_slot_count   iop_chan_xor_slot_count
 
#define iop_chan_pq_zero_sum_slot_count   iop_chan_xor_slot_count
 
#define iop_desc_init_null_xor(d, s, i)   iop_desc_init_xor(d, s, i)
 
#define iop_desc_set_pq_zero_sum_byte_count   iop_desc_set_zero_sum_byte_count
 
#define iop_desc_set_zero_sum_src_addr   iop_desc_set_xor_src_addr
 
#define iop_desc_set_pq_zero_sum_src_addr   iop_desc_set_pq_src_addr
 

Macro Definition Documentation

#define ADMA_ABCR (   chan)    (chan->mmr_base + 0x30)

Definition at line 34 of file adma.h.

#define ADMA_ACCR (   chan)    (chan->mmr_base + 0x0)

Definition at line 25 of file adma.h.

#define ADMA_ACSR (   chan)    (chan->mmr_base + 0x4)

Definition at line 26 of file adma.h.

#define ADMA_ADAR (   chan)    (chan->mmr_base + 0x8)

Definition at line 27 of file adma.h.

#define ADMA_ADCR (   chan)    (chan->mmr_base + 0x28)

Definition at line 32 of file adma.h.

#define ADMA_ANDAR (   chan)    (chan->mmr_base + 0x24)

Definition at line 31 of file adma.h.

#define ADMA_CARMD (   chan)    (chan->mmr_base + 0x2c)

Definition at line 33 of file adma.h.

#define ADMA_DLADR (   chan)    (chan->mmr_base + 0x34)

Definition at line 35 of file adma.h.

#define ADMA_DUADR (   chan)    (chan->mmr_base + 0x38)

Definition at line 36 of file adma.h.

#define ADMA_IIPAR (   chan)    (chan->mmr_base + 0x1c)

Definition at line 29 of file adma.h.

#define ADMA_IIPCR (   chan)    (chan->mmr_base + 0x18)

Definition at line 28 of file adma.h.

#define ADMA_IIPUAR (   chan)    (chan->mmr_base + 0x20)

Definition at line 30 of file adma.h.

#define ADMA_MAX_BYTE_COUNT   (16 * 1024 * 1024)

Definition at line 212 of file adma.h.

#define ADMA_SLAR (   src,
  chan 
)    (chan->mmr_base + (0x3c + (src << 3)))

Definition at line 37 of file adma.h.

#define ADMA_STATUS_BUSY   (1 << 13)

Definition at line 166 of file adma.h.

#define ADMA_SUAR (   src,
  chan 
)    (chan->mmr_base + (0x40 + (src << 3)))

Definition at line 38 of file adma.h.

#define iop_adma_get_max_pq   iop_adma_get_max_xor

Definition at line 153 of file adma.h.

#define IOP_ADMA_MAX_BYTE_COUNT   ADMA_MAX_BYTE_COUNT

Definition at line 213 of file adma.h.

#define IOP_ADMA_PQ_MAX_BYTE_COUNT   ADMA_MAX_BYTE_COUNT

Definition at line 216 of file adma.h.

#define IOP_ADMA_XOR_MAX_BYTE_COUNT   ADMA_MAX_BYTE_COUNT

Definition at line 215 of file adma.h.

#define IOP_ADMA_ZERO_SUM_MAX_BYTE_COUNT   ADMA_MAX_BYTE_COUNT

Definition at line 214 of file adma.h.

#define iop_chan_interrupt_slot_count (   s,
  c 
)    iop_chan_memcpy_slot_count(0, s)

Definition at line 191 of file adma.h.

#define iop_chan_pq_slot_count   iop_chan_xor_slot_count

Definition at line 218 of file adma.h.

#define iop_chan_pq_zero_sum_slot_count   iop_chan_xor_slot_count

Definition at line 219 of file adma.h.

#define iop_chan_zero_sum_slot_count (   l,
  s,
 
)    iop_chan_xor_slot_count(l, s, o)

Definition at line 217 of file adma.h.

#define iop_desc_init_null_xor (   d,
  s,
  i 
)    iop_desc_init_xor(d, s, i)

Definition at line 309 of file adma.h.

#define iop_desc_is_aligned (   x,
  y 
)    1

Definition at line 182 of file adma.h.

#define iop_desc_set_pq_zero_sum_byte_count   iop_desc_set_zero_sum_byte_count

Definition at line 418 of file adma.h.

#define iop_desc_set_pq_zero_sum_src_addr   iop_desc_set_pq_src_addr

Definition at line 500 of file adma.h.

#define iop_desc_set_zero_sum_src_addr   iop_desc_set_xor_src_addr

Definition at line 499 of file adma.h.