• Home
  • Raw
  • Download

Lines Matching refs:ioaddr

61 static unsigned long ioaddr;  variable
217 long ee_addr = ioaddr + mear; in sis96x_get_mac_addr()
302 rfcrSave = inl(rfcr + ioaddr); in sis635_get_mac_addr()
304 outl(rfcrSave | RELOAD, ioaddr + cr); in sis635_get_mac_addr()
305 outl(0, ioaddr + cr); in sis635_get_mac_addr()
308 outl(rfcrSave & ~RFEN, rfcr + ioaddr); in sis635_get_mac_addr()
312 outl((i << RFADDR_shift), ioaddr + rfcr); in sis635_get_mac_addr()
313 *( ((u16 *)nic->node_addr) + i) = inw(ioaddr + rfdr); in sis635_get_mac_addr()
317 outl(rfcrSave | RFEN, rfcr + ioaddr); in sis635_get_mac_addr()
344 if (pci->ioaddr == 0) in sis900_probe()
348 nic->ioaddr = pci->ioaddr; in sis900_probe()
350 ioaddr = pci->ioaddr; in sis900_probe()
383 outl(ACCESSMODE | inl(ioaddr + cr), ioaddr + cr); in sis900_probe()
468 long ee_addr = ioaddr + mear; in sis900_read_eeprom()
537 long mdio_addr = ioaddr + mear; in sis900_mdio_read()
568 long mdio_addr = ioaddr + mear;
633 outl(RxENA| inl(ioaddr + cr), ioaddr + cr); in sis900_init()
653 outl(0, ioaddr + ier); in sis900_reset()
654 outl(0, ioaddr + imr); in sis900_reset()
655 outl(0, ioaddr + rfcr); in sis900_reset()
657 outl(RxRESET | TxRESET | RESET | inl(ioaddr + cr), ioaddr + cr); in sis900_reset()
661 status ^= (inl(isr + ioaddr) & status); in sis900_reset()
665 outl(PESEL | RND_CNT, ioaddr + cfg); in sis900_reset()
667 outl(PESEL, ioaddr + cfg); in sis900_reset()
686 rfcrSave = inl(rfcr + ioaddr); in sis900_init_rxfilter()
689 outl(rfcrSave & ~RFEN, rfcr + ioaddr); in sis900_init_rxfilter()
696 outl((i << RFADDR_shift), ioaddr + rfcr); in sis900_init_rxfilter()
697 outl(w, ioaddr + rfdr); in sis900_init_rxfilter()
701 i, inl(ioaddr + rfdr)); in sis900_init_rxfilter()
705 outl(rfcrSave | RFEN, rfcr + ioaddr); in sis900_init_rxfilter()
727 outl(virt_to_bus(&txd), ioaddr + txdp); in sis900_init_txd()
730 inl(ioaddr + txdp)); in sis900_init_txd()
762 outl(virt_to_bus(&rxd[0]), ioaddr + rxdp); in sis900_init_rxd()
766 inl(ioaddr + rxdp)); in sis900_init_rxd()
801 outl((u32)(0x00000004+i) << RFADDR_shift, ioaddr + rfcr); in sis900_set_rx_mode()
802 outl(mc_filter[i], ioaddr + rfdr); in sis900_set_rx_mode()
807 outl(RFEN | rx_mode, ioaddr + rfcr); in sis900_set_rx_mode()
831 if( inl(ioaddr + cfg) & EDB_MASTER_EN ) { in sis900_check_mode()
854 outl (tx_flags, ioaddr + txcfg); in sis900_check_mode()
855 outl (rx_flags, ioaddr + rxcfg); in sis900_check_mode()
1114 outl(TxDIS | inl(ioaddr + cr), ioaddr + cr); in sis900_transmit()
1117 outl(virt_to_bus(&txd), ioaddr + txdp); in sis900_transmit()
1120 inl(ioaddr + txdp)); in sis900_transmit()
1143 outl(TxENA | inl(ioaddr + cr), ioaddr + cr); in sis900_transmit()
1164 outl(0, ioaddr + imr); in sis900_transmit()
1190 intr_status = inl(ioaddr + isr); in sis900_poll()
1226 outl(RxENA | inl(ioaddr + cr), ioaddr + cr); in sis900_poll()
1248 outl(0, ioaddr + imr); in sis900_disable()
1249 outl(0, ioaddr + ier); in sis900_disable()
1252 outl(RxDIS | TxDIS | inl(ioaddr + cr), ioaddr + cr); in sis900_disable()
1271 outl(0, ioaddr + imr); in sis900_irq()
1274 outl((RxSOVR|RxORN|RxERR|RxOK|TxURN|TxERR|TxIDLE), ioaddr + imr); in sis900_irq()