Lines Matching +full:channel +full:- +full:3
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Helpfile for jazzdma.c -- Mips Jazz R4030 DMA controller support
17 extern void vdma_enable(int channel);
18 extern void vdma_disable(int channel);
19 extern void vdma_set_mode(int channel, int mode);
20 extern void vdma_set_addr(int channel, long addr);
21 extern void vdma_set_count(int channel, int count);
22 extern int vdma_get_residue(int channel);
23 extern int vdma_get_enable(int channel);
38 #define VDMA_OFFSET(a) ((unsigned int)(a) & (VDMA_PAGESIZE-1))
50 * DMA channel control registers
53 #define JAZZ_R4030_CHNL_MODE 0xE0000100 /* 8 DMA Channel Mode Registers, */
55 #define JAZZ_R4030_CHNL_ENABLE 0xE0000108 /* 8 DMA Channel Enable Regs, */
57 #define JAZZ_R4030_CHNL_COUNT 0xE0000110 /* 8 DMA Channel Byte Cnt Regs, */
59 #define JAZZ_R4030_CHNL_ADDR 0xE0000118 /* 8 DMA Channel Address Regs, */
62 /* channel enable register bits */
71 * Channel mode register bits
76 #define R4030_MODE_ATIME_160 (3)
81 #define R4030_MODE_WIDTH_8 (1<<3) /* device data bus width */
82 #define R4030_MODE_WIDTH_16 (2<<3)
83 #define R4030_MODE_WIDTH_32 (3<<3)