Lines Matching +full:addr +full:- +full:mode
22 #define fd_set_dma_mode(mode) set_dma_mode(FLOPPY_DMA,mode) argument
23 #define fd_set_dma_addr(addr) set_dma_addr(FLOPPY_DMA,isa_virt_to_bus(addr)) argument
35 #define fd_dma_setup(addr,size,mode,io) alpha_fd_dma_setup(addr,size,mode,io) argument
38 alpha_fd_dma_setup(char *addr, unsigned long size, int mode, int io) in alpha_fd_dma_setup() argument
46 dir = (mode != DMA_MODE_READ) ? DMA_FROM_DEVICE : DMA_TO_DEVICE; in alpha_fd_dma_setup()
49 && (addr != prev_addr || size != prev_size || dir != prev_dir)) { in alpha_fd_dma_setup()
50 /* different from last time -- unmap prev */ in alpha_fd_dma_setup()
51 dma_unmap_single(&isa_bridge->dev, bus_addr, prev_size, in alpha_fd_dma_setup()
57 bus_addr = dma_map_single(&isa_bridge->dev, addr, size, dir); in alpha_fd_dma_setup()
60 prev_addr = addr; in alpha_fd_dma_setup()
65 fd_set_dma_mode(mode); in alpha_fd_dma_setup()
82 static int FDC2 = -1;
102 * scatter-gather when it never had before, and there *is* a problem
103 * on that platform... ;-}
109 return ((p + s - 1) ^ p) & ~0xffffUL; in CROSS_64KB()