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

Go to the source code of this file.

Data Structures

struct  sh_dmae_slave
 
struct  sh_dmae_slave_config
 
struct  sh_dmae_channel
 
struct  sh_dmae_pdata
 

Macros

#define SAR   0x00
 
#define DAR   0x04
 
#define TCR   0x08
 
#define CHCR   0x0C
 
#define DMAOR   0x40
 
#define TEND   0x18 /* USB-DMAC */
 
#define DMAOR_AE   0x00000004
 
#define DMAOR_NMIF   0x00000002
 
#define DMAOR_DME   0x00000001
 
#define REQ_L   0x00000000
 
#define REQ_E   0x00080000
 
#define RACK_H   0x00000000
 
#define RACK_L   0x00040000
 
#define ACK_R   0x00000000
 
#define ACK_W   0x00020000
 
#define ACK_H   0x00000000
 
#define ACK_L   0x00010000
 
#define DM_INC   0x00004000
 
#define DM_DEC   0x00008000
 
#define DM_FIX   0x0000c000
 
#define SM_INC   0x00001000
 
#define SM_DEC   0x00002000
 
#define SM_FIX   0x00003000
 
#define RS_IN   0x00000200
 
#define RS_OUT   0x00000300
 
#define TS_BLK   0x00000040
 
#define TM_BUR   0x00000020
 
#define CHCR_DE   0x00000001
 
#define CHCR_TE   0x00000002
 
#define CHCR_IE   0x00000004
 

Functions

bool shdma_chan_filter (struct dma_chan *chan, void *arg)
 

Macro Definition Documentation

#define ACK_H   0x00000000

Definition at line 86 of file sh_dma.h.

#define ACK_L   0x00010000

Definition at line 87 of file sh_dma.h.

#define ACK_R   0x00000000

Definition at line 84 of file sh_dma.h.

#define ACK_W   0x00020000

Definition at line 85 of file sh_dma.h.

#define CHCR   0x0C

Definition at line 69 of file sh_dma.h.

#define CHCR_DE   0x00000001

Definition at line 98 of file sh_dma.h.

#define CHCR_IE   0x00000004

Definition at line 100 of file sh_dma.h.

#define CHCR_TE   0x00000002

Definition at line 99 of file sh_dma.h.

#define DAR   0x04

Definition at line 67 of file sh_dma.h.

#define DM_DEC   0x00008000

Definition at line 89 of file sh_dma.h.

#define DM_FIX   0x0000c000

Definition at line 90 of file sh_dma.h.

#define DM_INC   0x00004000

Definition at line 88 of file sh_dma.h.

#define DMAOR   0x40

Definition at line 70 of file sh_dma.h.

#define DMAOR_AE   0x00000004

Definition at line 75 of file sh_dma.h.

#define DMAOR_DME   0x00000001

Definition at line 77 of file sh_dma.h.

#define DMAOR_NMIF   0x00000002

Definition at line 76 of file sh_dma.h.

#define RACK_H   0x00000000

Definition at line 82 of file sh_dma.h.

#define RACK_L   0x00040000

Definition at line 83 of file sh_dma.h.

#define REQ_E   0x00080000

Definition at line 81 of file sh_dma.h.

#define REQ_L   0x00000000

Definition at line 80 of file sh_dma.h.

#define RS_IN   0x00000200

Definition at line 94 of file sh_dma.h.

#define RS_OUT   0x00000300

Definition at line 95 of file sh_dma.h.

#define SAR   0x00

Definition at line 66 of file sh_dma.h.

#define SM_DEC   0x00002000

Definition at line 92 of file sh_dma.h.

#define SM_FIX   0x00003000

Definition at line 93 of file sh_dma.h.

#define SM_INC   0x00001000

Definition at line 91 of file sh_dma.h.

#define TCR   0x08

Definition at line 68 of file sh_dma.h.

#define TEND   0x18 /* USB-DMAC */

Definition at line 72 of file sh_dma.h.

#define TM_BUR   0x00000020

Definition at line 97 of file sh_dma.h.

#define TS_BLK   0x00000040

Definition at line 96 of file sh_dma.h.

Function Documentation

bool shdma_chan_filter ( struct dma_chan chan,
void arg 
)

Definition at line 210 of file shdma-base.c.