Lines Matching refs:ioaddr
309 static int eeprom_read(long ioaddr, int location);
454 intr_status = inw(nic->ioaddr + IntrStatus); in sundance_irq()
458 outw(intr_status, nic->ioaddr + IntrEnable); in sundance_irq()
485 intr_status = inw(nic->ioaddr + IntrStatus); in sundance_poll()
486 outw(intr_status, nic->ioaddr + IntrStatus); in sundance_poll()
508 nic->ioaddr + IntrStatus); in sundance_poll()
593 if (pci->ioaddr == 0) in sundance_probe()
597 BASE = pci->ioaddr; in sundance_probe()
747 nic->ioaddr = BASE; in sundance_probe()
754 static int eeprom_read(long ioaddr, int location) in eeprom_read() argument
757 outw(0x0200 | (location & 0xff), ioaddr + EECtrl); in eeprom_read()
759 if (!(inw(ioaddr + EECtrl) & 0x8000)) { in eeprom_read()
760 return inw(ioaddr + EEData); in eeprom_read()