Lines Matching defs:ioaddr
62 static unsigned long ioaddr;
218 /* long ioaddr = net_dev->base_addr; */
219 long ee_addr = ioaddr + mear;
304 rfcrSave = inl(rfcr + ioaddr);
306 outl(rfcrSave | RELOAD, ioaddr + cr);
307 outl(0, ioaddr + cr);
310 outl(rfcrSave & ~RFEN, rfcr + ioaddr);
314 outl((i << RFADDR_shift), ioaddr + rfcr);
315 *( ((u16 *)nic->node_addr) + i) = inw(ioaddr + rfdr);
319 outl(rfcrSave | RFEN, rfcr + ioaddr);
333 * leaves the ioaddress of the sis900 chip in the variable ioaddr.
347 if (pci->ioaddr == 0)
351 nic->ioaddr = pci->ioaddr;
353 ioaddr = pci->ioaddr;
386 outl(ACCESSMODE | inl(ioaddr + cr), ioaddr + cr);
473 long ee_addr = ioaddr + mear;
543 long mdio_addr = ioaddr + mear;
574 long mdio_addr = ioaddr + mear;
640 outl(RxENA| inl(ioaddr + cr), ioaddr + cr);
661 outl(0, ioaddr + ier);
662 outl(0, ioaddr + imr);
663 outl(0, ioaddr + rfcr);
665 outl(RxRESET | TxRESET | RESET | inl(ioaddr + cr), ioaddr + cr);
669 status ^= (inl(isr + ioaddr) & status);
673 outl(PESEL | RND_CNT, ioaddr + cfg);
675 outl(PESEL, ioaddr + cfg);
695 rfcrSave = inl(rfcr + ioaddr);
698 outl(rfcrSave & ~RFEN, rfcr + ioaddr);
705 outl((i << RFADDR_shift), ioaddr + rfcr);
706 outl(w, ioaddr + rfdr);
710 i, inl(ioaddr + rfdr));
714 outl(rfcrSave | RFEN, rfcr + ioaddr);
737 outl(virt_to_bus(&txd), ioaddr + txdp);
740 inl(ioaddr + txdp));
773 outl(virt_to_bus(&rxd[0]), ioaddr + rxdp);
777 inl(ioaddr + rxdp));
813 outl((u32)(0x00000004+i) << RFADDR_shift, ioaddr + rfcr);
814 outl(mc_filter[i], ioaddr + rfdr);
819 outl(RFEN | rx_mode, ioaddr + rfcr);
844 if( inl(ioaddr + cfg) & EDB_MASTER_EN ) {
867 outl (tx_flags, ioaddr + txcfg);
868 outl (rx_flags, ioaddr + rxcfg);
1130 outl(TxDIS | inl(ioaddr + cr), ioaddr + cr);
1133 outl(virt_to_bus(&txd), ioaddr + txdp);
1136 inl(ioaddr + txdp));
1159 outl(TxENA | inl(ioaddr + cr), ioaddr + cr);
1180 outl(0, ioaddr + imr);
1207 intr_status = inl(ioaddr + isr);
1243 outl(RxENA | inl(ioaddr + cr), ioaddr + cr);
1266 outl(0, ioaddr + imr);
1267 outl(0, ioaddr + ier);
1270 outl(RxDIS | TxDIS | inl(ioaddr + cr), ioaddr + cr);
1290 outl(0, ioaddr + imr);
1293 outl((RxSOVR|RxORN|RxERR|RxOK|TxURN|TxERR|TxIDLE), ioaddr + imr);