Lines Matching +full:sw +full:- +full:mode
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Linux/PA-RISC Project (http://www.parisc-linux.org/)
23 (!(vdma) && ((unsigned long)(a)/K_64 != ((unsigned long)(a) + (s) - 1) / K_64))
28 #define SW fd_routine[use_virtual_dma&1] macro
40 #define fd_get_dma_residue() SW._get_dma_residue(FLOPPY_DMA)
41 #define fd_dma_mem_alloc(size) SW._dma_mem_alloc(size)
42 #define fd_dma_setup(addr, size, mode, io) SW._dma_setup(addr, size, mode, io) argument
77 for (lcount = virtual_dma_count; lcount; lcount--) { in floppy_hardint()
195 static int vdma_dma_setup(char *addr, unsigned long size, int mode, int io) in vdma_dma_setup() argument
199 virtual_dma_mode = (mode == DMA_MODE_WRITE); in vdma_dma_setup()
206 static int hard_dma_setup(char *addr, unsigned long size, int mode, int io) in hard_dma_setup() argument
210 printk("DMA crossing 64-K boundary %p-%p\n", addr, addr+size); in hard_dma_setup()
211 return -1; in hard_dma_setup()
217 set_dma_mode(FLOPPY_DMA,mode); in hard_dma_setup()
229 int (*_dma_setup)(char *addr, unsigned long size, int mode, int io);
249 static int FDC2 = -1;