Lines Matching refs:ioaddr

102 static int ioaddr;
291 ioaddr + SCBCtrlMDI);
295 val = inl(ioaddr + SCBCtrlMDI);
312 outl(0x08000000 | (location<<16) | (phy_id<<21), ioaddr + SCBCtrlMDI);
316 val = inl(ioaddr + SCBCtrlMDI);
336 long ee_addr = ioaddr + SCBeeprom;
397 status = inw(ioaddr + SCBStatus);
399 outw(status & 0xfc00, ioaddr + SCBStatus);
403 t, s, status, inw (ioaddr + SCBCmd));
428 outl(virt_to_bus(&txfd), ioaddr + SCBPointer);
429 outw(INT_MASK | CU_START, ioaddr + SCBCmd);
430 wait_for_cmd_done(ioaddr + SCBCmd);
432 s1 = inw (ioaddr + SCBStatus);
436 s2 = inw (ioaddr + SCBStatus);
457 wait_for_cmd_done(ioaddr + SCBCmd);
461 outb(RX_ABORT, ioaddr + SCBCmd);
465 wait_for_cmd_done(ioaddr + SCBCmd);
467 outb(RX_START, ioaddr + SCBCmd);
485 status = inw(ioaddr + SCBStatus);
516 outl(virt_to_bus(&(ACCESS(rxfd)status)), ioaddr + SCBPointer);
517 outw(INT_MASK | RX_START, ioaddr + SCBCmd);
518 wait_for_cmd_done(ioaddr + SCBCmd);
541 outl(0, ioaddr + SCBPort);
545 outl(2, ioaddr + SCBPort);
557 outw(INT_MASK, ioaddr + SCBCmd);
558 intr_status = inw(ioaddr + SCBStatus);
560 outw(intr_status, ioaddr + SCBStatus);
561 inw(ioaddr + SCBStatus);
569 * leaves the ioaddress of the 82557 chip in the variable ioaddr.
586 if (p->ioaddr == 0)
588 ioaddr = p->ioaddr & ~3; /* Mask the bit that says "this is an io addr" */
589 nic->ioaddr = ioaddr;
621 outl(0, ioaddr + SCBPort);
626 outl(0, ioaddr + SCBPointer);
627 outw(INT_MASK | RX_ADDR_LOAD, ioaddr + SCBCmd);
628 wait_for_cmd_done(ioaddr + SCBCmd);
631 outl(virt_to_bus(&lstats), ioaddr + SCBPointer);
632 outw(INT_MASK | CU_STATSADDR, ioaddr + SCBCmd);
633 wait_for_cmd_done(ioaddr + SCBCmd);
644 outl(virt_to_bus(&(ACCESS(rxfd)status)), ioaddr + SCBPointer);
645 outw(INT_MASK | RX_START, ioaddr + SCBCmd);
646 wait_for_cmd_done(ioaddr + SCBCmd);
653 outl(virt_to_bus(&(ACCESS(rxfd)status)), ioaddr + SCBPointer);
654 outw(INT_MASK | RX_START, ioaddr + SCBCmd);
659 outl(0, ioaddr + SCBPointer);
660 outw(INT_MASK | CU_CMD_BASE, ioaddr + SCBCmd);
661 wait_for_cmd_done(ioaddr + SCBCmd);
718 outl(virt_to_bus(&txfd), ioaddr + SCBPointer);
719 outw(INT_MASK | CU_START, ioaddr + SCBCmd);
720 wait_for_cmd_done(ioaddr + SCBCmd);