Lines Matching refs:ioaddr
309 static int eeprom_read(long ioaddr, int location);
454 intr_status = inw(nic->ioaddr + IntrStatus);
458 outw(intr_status, nic->ioaddr + IntrEnable);
485 intr_status = inw(nic->ioaddr + IntrStatus);
486 outw(intr_status, nic->ioaddr + IntrStatus);
508 nic->ioaddr + IntrStatus);
593 if (pci->ioaddr == 0)
597 BASE = pci->ioaddr;
627 printf("%s: %! at ioaddr %hX, ", pci->name, nic->node_addr, BASE);
747 nic->ioaddr = BASE;
754 static int eeprom_read(long ioaddr, int location)
757 outw(0x0200 | (location & 0xff), ioaddr + EECtrl);
759 if (!(inw(ioaddr + EECtrl) & 0x8000)) {
760 return inw(ioaddr + EEData);