• Home
  • Raw
  • Download

Lines Matching +full:addr +full:- +full:mode

25 	 ((unsigned long)(a)/K_64 != ((unsigned long)(a) + (s) - 1) / K_64))
44 #define fd_dma_setup(addr, size, mode, io) SW._dma_setup(addr, size, mode, io) argument
79 lcount; lcount--, lptr++) { in floppy_hardint()
169 static void _fd_dma_mem_free(unsigned long addr, unsigned long size) in _fd_dma_mem_free() argument
171 if ((unsigned long)addr >= (unsigned long)high_memory) in _fd_dma_mem_free()
172 vfree((void *)addr); in _fd_dma_mem_free()
174 free_pages(addr, get_order(size)); in _fd_dma_mem_free()
177 #define fd_dma_mem_free(addr, size) _fd_dma_mem_free(addr, size) argument
179 static void _fd_chose_dma_mode(char *addr, unsigned long size) in _fd_chose_dma_mode() argument
182 if ((unsigned long)addr >= (unsigned long)high_memory || in _fd_chose_dma_mode()
183 isa_virt_to_bus(addr) >= 0x1000000 || in _fd_chose_dma_mode()
184 _CROSS_64KB(addr, size, 0)) in _fd_chose_dma_mode()
193 #define fd_chose_dma_mode(addr, size) _fd_chose_dma_mode(addr, size) argument
196 static int vdma_dma_setup(char *addr, unsigned long size, int mode, int io) in vdma_dma_setup() argument
200 virtual_dma_mode = (mode == DMA_MODE_WRITE); in vdma_dma_setup()
201 virtual_dma_addr = addr; in vdma_dma_setup()
207 static int hard_dma_setup(char *addr, unsigned long size, int mode, int io) in hard_dma_setup() argument
210 if (CROSS_64KB(addr, size)) { in hard_dma_setup()
211 printk("DMA crossing 64-K boundary %p-%p\n", addr, addr+size); in hard_dma_setup()
212 return -1; in hard_dma_setup()
218 set_dma_mode(FLOPPY_DMA, mode); in hard_dma_setup()
219 set_dma_addr(FLOPPY_DMA, isa_virt_to_bus(addr)); in hard_dma_setup()
230 int (*_dma_setup)(char *addr, unsigned long size, int mode, int io);
250 static int FDC2 = -1;