Home
last modified time | relevance | path

Searched refs:io_port (Results 1 – 10 of 10) sorted by relevance

/arch/parisc/include/asm/
Ddma.h95 unsigned int io_port = (dmanr<=3)? ((dmanr&3)<<1) + 1 + IO_DMA1_BASE in get_dma_residue() local
101 count = 1 + dma_inb(io_port); in get_dma_residue()
102 count += dma_inb(io_port) << 8; in get_dma_residue()
/arch/x86/include/asm/
Ddma.h292 unsigned int io_port; in get_dma_residue() local
296 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()
/arch/mips/include/asm/
Ddma.h290 unsigned int io_port = (dmanr<=3)? ((dmanr&3)<<1) + 1 + IO_DMA1_BASE in get_dma_residue() local
296 count = 1 + dma_inb(io_port); in get_dma_residue()
297 count += dma_inb(io_port) << 8; in get_dma_residue()
/arch/m68k/include/asm/
Dapollodma.h227 unsigned int io_port = (dmanr<=3)? ((dmanr&3)<<1) + 1 + IO_DMA1_BASE in get_dma_residue() local
233 count = 1 + dma_inb(io_port); in get_dma_residue()
234 count += dma_inb(io_port) << 8; in get_dma_residue()
/arch/arm/kernel/
Ddma-isa.c54 unsigned int io_port = isa_dma_port[channel][ISA_DMA_COUNT]; in isa_get_dma_residue() local
57 count = 1 + inb(io_port); in isa_get_dma_residue()
58 count |= inb(io_port) << 8; in isa_get_dma_residue()
/arch/alpha/kernel/
Dsys_sio.c240 unsigned long io_port; in alphabook1_init_pci() local
243 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()
/arch/powerpc/include/asm/
Ddma.h331 unsigned int io_port = (dmanr <= 3) in get_dma_residue() local
338 count = 1 + dma_inb(io_port); in get_dma_residue()
339 count += dma_inb(io_port) << 8; in get_dma_residue()
D8xx_immap.h313 typedef struct io_port { struct
Dimmap_cpm2.h313 typedef struct io_port { struct
/arch/alpha/include/asm/
Ddma.h348 unsigned int io_port = (dmanr<=3)? ((dmanr&3)<<1) + 1 + IO_DMA1_BASE in get_dma_residue() local
354 count = 1 + dma_inb(io_port); in get_dma_residue()
355 count += dma_inb(io_port) << 8; in get_dma_residue()