Lines Matching +full:addr +full:- +full:mode
20 #define fd_disable_dma() fd_ops->_disable_dma(FLOPPY_DMA)
21 #define fd_free_dma() fd_ops->_free_dma(FLOPPY_DMA)
23 #define fd_set_dma_mode(mode) set_dma_mode(FLOPPY_DMA, mode) argument
25 #define fd_get_dma_residue() fd_ops->_get_dma_residue(FLOPPY_DMA)
31 #include <asm/ppc-pci.h> /* for isa_bridge_pcidev */
33 #define fd_dma_setup(addr,size,mode,io) fd_ops->_dma_setup(addr,size,mode,io) argument
41 int (*_dma_setup)(char *addr, unsigned long size, int mode, int io);
63 lcount; lcount--, lptr++) { in floppy_hardint()
117 static int vdma_dma_setup(char *addr, unsigned long size, int mode, int io) in vdma_dma_setup() argument
121 virtual_dma_mode = (mode == DMA_MODE_WRITE); in vdma_dma_setup()
122 virtual_dma_addr = addr; in vdma_dma_setup()
128 static int hard_dma_setup(char *addr, unsigned long size, int mode, int io) in hard_dma_setup() argument
137 dir = (mode == DMA_MODE_READ) ? DMA_FROM_DEVICE : DMA_TO_DEVICE; in hard_dma_setup()
140 && (addr != prev_addr || size != prev_size || dir != prev_dir)) { in hard_dma_setup()
141 /* different from last time -- unmap prev */ in hard_dma_setup()
142 dma_unmap_single(&isa_bridge_pcidev->dev, bus_addr, prev_size, in hard_dma_setup()
148 bus_addr = dma_map_single(&isa_bridge_pcidev->dev, addr, size, in hard_dma_setup()
152 prev_addr = addr; in hard_dma_setup()
157 fd_set_dma_mode(mode); in hard_dma_setup()
195 static int FDC2 = -1;