Searched refs:io_port (Results 1 – 9 of 9) sorted by relevance
94 unsigned int io_port = (dmanr<=3)? ((dmanr&3)<<1) + 1 + IO_DMA1_BASE in get_dma_residue() local100 count = 1 + dma_inb(io_port); in get_dma_residue()101 count += dma_inb(io_port) << 8; in get_dma_residue()
290 unsigned int io_port; in get_dma_residue() local294 io_port = (dmanr <= 3) ? ((dmanr & 3) << 1) + 1 + IO_DMA1_BASE in get_dma_residue()297 count = 1 + dma_inb(io_port); in get_dma_residue()298 count += dma_inb(io_port) << 8; in get_dma_residue()
293 unsigned int io_port = (dmanr<=3)? ((dmanr&3)<<1) + 1 + IO_DMA1_BASE in get_dma_residue() local299 count = 1 + dma_inb(io_port); in get_dma_residue()300 count += dma_inb(io_port) << 8; in get_dma_residue()
46 unsigned int io_port = isa_dma_port[chan][ISA_DMA_COUNT]; in isa_get_dma_residue() local49 count = 1 + inb(io_port); in isa_get_dma_residue()50 count |= inb(io_port) << 8; in isa_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
314 typedef struct io_port { struct
283 unsigned long io_port; in alphabook1_init_pci() local286 io_port = dev->resource[0].start; in alphabook1_init_pci()287 ctest4 = inb(io_port+0x21); in alphabook1_init_pci()291 outb(ctest4 | 0x80, io_port+0x21); in alphabook1_init_pci()
349 unsigned int io_port = (dmanr<=3)? ((dmanr&3)<<1) + 1 + IO_DMA1_BASE in get_dma_residue() local355 count = 1 + dma_inb(io_port); in get_dma_residue()356 count += dma_inb(io_port) << 8; in get_dma_residue()