Lines Matching defs:iobase
982 static int wait_on_busy(unsigned long iobase, unsigned int loop)
984 while (inb(iobase + REG_AUX_STATUS) & ABSY_ASSERTED) {
992 static int do_dma(unsigned long iobase, unsigned long addr, unchar cmd)
997 if (wait_on_busy(iobase, (addr ? MAXLOOP * 100 : MAXLOOP)))
1003 outb(byaddr[3], iobase + REG_LOW);
1004 outb(byaddr[2], iobase + REG_LM);
1005 outb(byaddr[1], iobase + REG_MID);
1006 outb(byaddr[0], iobase + REG_MSB);
1009 outb(cmd, iobase + REG_CMD);
1013 static int read_pio(unsigned long iobase, ushort * start, ushort * end)
1019 while (!(inb(iobase + REG_STATUS) & DRQ_ASSERTED)) {
1025 *p = REG2H(inw(iobase));