Lines Matching +full:single +full:- +full:master
1 /* SPDX-License-Identifier: GPL-2.0 */
20 ** DMA_CHUNK_SIZE is used by the SCSI mid-layer to break up
34 ** We don't have DMA channels... well V-class does but the
36 ** Note: this is not relevant right now for PA-RISC, but we cannot
38 ** won't compile :-(
41 #define DMA_MODE_READ 0x44 /* I/O to memory, no autoinit, increment, single mode */
42 #define DMA_MODE_WRITE 0x48 /* memory to I/O, no autoinit, increment, single mode */
43 #define DMA_MODE_CASCADE 0xC0 /* pass thru DREQ->HRQ, DACK<-HLDA only */
49 #define IO_DMA2_BASE 0xC0 /* 16 bit master DMA, ch 4(=slave input)..7 */
55 #define DMA1_MASK_REG 0x0A /* single-channel mask (w) */
57 #define DMA1_CLEAR_FF_REG 0x0C /* clear pointer flip-flop (w) */
59 #define DMA1_RESET_REG 0x0D /* Master Clear (w) */
61 #define DMA1_MASK_ALL_REG 0x0F /* all-channels mask (w) */
67 #define DMA2_MASK_REG 0xD4 /* single-channel mask (w) */
69 #define DMA2_CLEAR_FF_REG 0xD8 /* clear pointer flip-flop (w) */
71 #define DMA2_RESET_REG 0xDA /* Master Clear (w) */
73 #define DMA2_MASK_ALL_REG 0xDE /* all-channels mask (w) */
92 * Assumes DMA flip-flop is clear.
99 /* using short to get 16-bit wrap around */ in get_dma_residue()
135 * After that, keep track of it. :-)
136 * --- In order to do that, the DMA routines below should ---
137 * --- only be used while holding the DMA lock ! ---
171 * Assumes dma flip-flop is clear.
172 * NOTE 2: "count" represents _bytes_ and must be even for channels 5-7.