Searched refs:io_port (Results 1 – 10 of 10) sorted by relevance
95 unsigned int io_port = (dmanr<=3)? ((dmanr&3)<<1) + 1 + IO_DMA1_BASE in get_dma_residue() local101 count = 1 + dma_inb(io_port); in get_dma_residue()102 count += dma_inb(io_port) << 8; in get_dma_residue()
292 unsigned int io_port; in get_dma_residue() local296 io_port = (dmanr <= 3) ? ((dmanr & 3) << 1) + 1 + IO_DMA1_BASE in get_dma_residue()299 count = 1 + dma_inb(io_port); in get_dma_residue()300 count += dma_inb(io_port) << 8; in get_dma_residue()
290 unsigned int io_port = (dmanr<=3)? ((dmanr&3)<<1) + 1 + IO_DMA1_BASE in get_dma_residue() local296 count = 1 + dma_inb(io_port); in get_dma_residue()297 count += dma_inb(io_port) << 8; in get_dma_residue()
227 unsigned int io_port = (dmanr<=3)? ((dmanr&3)<<1) + 1 + IO_DMA1_BASE in get_dma_residue() local233 count = 1 + dma_inb(io_port); in get_dma_residue()234 count += dma_inb(io_port) << 8; in get_dma_residue()
54 unsigned int io_port = isa_dma_port[channel][ISA_DMA_COUNT]; in isa_get_dma_residue() local57 count = 1 + inb(io_port); in isa_get_dma_residue()58 count |= inb(io_port) << 8; in isa_get_dma_residue()
240 unsigned long io_port; in alphabook1_init_pci() local243 io_port = dev->resource[0].start; in alphabook1_init_pci()244 ctest4 = inb(io_port+0x21); in alphabook1_init_pci()248 outb(ctest4 | 0x80, io_port+0x21); in alphabook1_init_pci()
331 unsigned int io_port = (dmanr <= 3) in get_dma_residue() local338 count = 1 + dma_inb(io_port); in get_dma_residue()339 count += dma_inb(io_port) << 8; in get_dma_residue()
313 typedef struct io_port { struct
348 unsigned int io_port = (dmanr<=3)? ((dmanr&3)<<1) + 1 + IO_DMA1_BASE in get_dma_residue() local354 count = 1 + dma_inb(io_port); in get_dma_residue()355 count += dma_inb(io_port) << 8; in get_dma_residue()