Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
dma-sh.c File Reference
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/io.h>
#include <mach-dreamcast/mach/dma.h>
#include <asm/dma.h>
#include <asm/dma-register.h>
#include <cpu/dma-register.h>
#include <cpu/dma.h>

Go to the source code of this file.

Macros

#define RS_DUAL   (DM_INC | SM_INC | 0x400 | TS_INDEX2VAL(XMIT_SZ_32BIT))
 
#define NR_DMAOR   1
 
#define dmaor_read_reg(n)   __raw_readw(dma_find_base((n)*6))
 
#define dmaor_write_reg(n, data)   __raw_writew(data, dma_find_base(n)*6)
 

Functions

 subsys_initcall (sh_dmac_init)
 
 module_exit (sh_dmac_exit)
 
 MODULE_AUTHOR ("Takashi YOSHII, Paul Mundt, Andriy Skulysh")
 
 MODULE_DESCRIPTION ("SuperH On-Chip DMAC Support")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define dmaor_read_reg (   n)    __raw_readw(dma_find_base((n)*6))

Definition at line 260 of file dma-sh.c.

#define dmaor_write_reg (   n,
  data 
)    __raw_writew(data, dma_find_base(n)*6)

Definition at line 261 of file dma-sh.c.

#define NR_DMAOR   1

Definition at line 253 of file dma-sh.c.

#define RS_DUAL   (DM_INC | SM_INC | 0x400 | TS_INDEX2VAL(XMIT_SZ_32BIT))

Definition at line 28 of file dma-sh.c.

Function Documentation

MODULE_AUTHOR ( "Takashi  YOSHII,
Paul  Mundt,
Andriy Skulysh"   
)
MODULE_DESCRIPTION ( "SuperH On-Chip DMAC Support"  )
module_exit ( sh_dmac_exit  )
MODULE_LICENSE ( "GPL"  )
subsys_initcall ( sh_dmac_init  )