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

Go to the source code of this file.

Data Structures

struct  sh_dmae_chan
 
struct  sh_dmae_device
 
struct  sh_dmae_regs
 
struct  sh_dmae_desc
 

Macros

#define SH_DMAE_MAX_CHANNELS   20
 
#define SH_DMAE_TCR_MAX   0x00FFFFFF /* 16MB */
 
#define to_sh_chan(chan)   container_of(chan, struct sh_dmae_chan, shdma_chan)
 
#define to_sh_desc(lh)   container_of(lh, struct sh_desc, node)
 
#define tx_to_sh_desc(tx)   container_of(tx, struct sh_desc, async_tx)
 
#define to_sh_dev(chan)
 

Macro Definition Documentation

#define SH_DMAE_MAX_CHANNELS   20

Definition at line 22 of file shdma.h.

#define SH_DMAE_TCR_MAX   0x00FFFFFF /* 16MB */

Definition at line 23 of file shdma.h.

#define to_sh_chan (   chan)    container_of(chan, struct sh_dmae_chan, shdma_chan)

Definition at line 58 of file shdma.h.

#define to_sh_desc (   lh)    container_of(lh, struct sh_desc, node)

Definition at line 59 of file shdma.h.

#define to_sh_dev (   chan)
Value:
container_of(chan->shdma_chan.dma_chan.device,\

Definition at line 61 of file shdma.h.

#define tx_to_sh_desc (   tx)    container_of(tx, struct sh_desc, async_tx)

Definition at line 60 of file shdma.h.