Searched refs:io_port (Results 1 – 9 of 9) sorted by relevance
93 unsigned int io_port = (dmanr<=3)? ((dmanr&3)<<1) + 1 + IO_DMA1_BASE in get_dma_residue() local99 count = 1 + dma_inb(io_port); in get_dma_residue()100 count += dma_inb(io_port) << 8; in get_dma_residue()
289 unsigned int io_port; in get_dma_residue() local293 io_port = (dmanr <= 3) ? ((dmanr & 3) << 1) + 1 + IO_DMA1_BASE in get_dma_residue()296 count = 1 + dma_inb(io_port); in get_dma_residue()297 count += dma_inb(io_port) << 8; in get_dma_residue()
49 unsigned int io_port = isa_dma_port[chan][ISA_DMA_COUNT]; in isa_get_dma_residue() local52 count = 1 + inb(io_port); in isa_get_dma_residue()53 count |= inb(io_port) << 8; in isa_get_dma_residue()
292 unsigned int io_port = (dmanr<=3)? ((dmanr&3)<<1) + 1 + IO_DMA1_BASE in get_dma_residue() local298 count = 1 + dma_inb(io_port); in get_dma_residue()299 count += dma_inb(io_port) << 8; in get_dma_residue()
323 unsigned int io_port = (dmanr <= 3) in get_dma_residue() local330 count = 1 + dma_inb(io_port); in get_dma_residue()331 count += dma_inb(io_port) << 8; in get_dma_residue()
313 typedef struct io_port { struct
260 unsigned long io_port; in alphabook1_init_pci() local263 io_port = dev->resource[0].start; in alphabook1_init_pci()264 ctest4 = inb(io_port+0x21); in alphabook1_init_pci()268 outb(ctest4 | 0x80, io_port+0x21); in alphabook1_init_pci()
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()