|
Linux Kernel
3.7.1
|
#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") | |
| #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) |
| 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 | ) |
1.8.2