Lines Matching refs:ioaddr
179 if ( pci->ioaddr == 0 ) in ifec_pci_probe()
198 priv->ioaddr = pci->ioaddr; in ifec_pci_probe()
260 unsigned long ioaddr = priv->ioaddr; in ifec_net_close() local
269 intr_status = inw ( ioaddr + SCBStatus ); in ifec_net_close()
270 outw ( intr_status, ioaddr + SCBStatus ); in ifec_net_close()
271 inw ( ioaddr + SCBStatus ); in ifec_net_close()
293 unsigned long ioaddr = priv->ioaddr; in ifec_net_irq() local
297 outw ( enable ? INTERRUPT_MASK : SCBMaskAll, ioaddr + SCBCmd ); in ifec_net_irq()
409 intr_status = inw ( priv->ioaddr + SCBStatus ); in ifec_net_poll()
410 outw ( intr_status, priv->ioaddr + SCBStatus ); in ifec_net_poll()
411 inw ( priv->ioaddr + SCBStatus ); in ifec_net_poll()
447 unsigned long ioaddr = priv->ioaddr; in ifec_net_transmit() local
458 iob_len ( iobuf ), tcb->status, inw ( ioaddr + SCBCmd ) ); in ifec_net_transmit()
496 unsigned long ee_addr = priv->ioaddr + CSREeprom; in ifec_spi_read_bit()
522 unsigned long ee_addr = priv->ioaddr + CSREeprom; in ifec_spi_write_bit()
620 unsigned long ioaddr = priv->ioaddr; in ifec_mdio_read() local
627 ioaddr + CSRCtrlMDI ); in ifec_mdio_read()
631 val = inl ( ioaddr + CSRCtrlMDI ); in ifec_mdio_read()
684 unsigned long ioaddr = priv->ioaddr; in ifec_mdio_write() local
691 ioaddr + CSRCtrlMDI ); in ifec_mdio_write()
695 val = inl ( ioaddr + CSRCtrlMDI ); in ifec_mdio_write()
713 unsigned long ioaddr = priv->ioaddr; in ifec_reset() local
718 outl ( PortPartialReset, ioaddr + CSRPort ); in ifec_reset()
719 inw ( ioaddr + SCBStatus ); in ifec_reset()
723 outl ( PortReset, ioaddr + CSRPort ); in ifec_reset()
724 inw ( ioaddr + SCBStatus ); in ifec_reset()
825 ( inw ( priv->ioaddr + SCBStatus ) >> 2 ) & 0xf ); in ifec_check_ru_status()
950 intr_status = inw ( priv->ioaddr + SCBStatus ); in ifec_refill_rx_ring()
990 unsigned long ioaddr = priv->ioaddr; in ifec_scb_cmd() local
997 outl ( ptr, ioaddr + SCBPointer ); in ifec_scb_cmd()
998 outb ( cmd, ioaddr + SCBCmd ); /* Issue command */ in ifec_scb_cmd()
1012 unsigned long cmd_ioaddr = priv->ioaddr + SCBCmd; in ifec_scb_cmd_wait()
1120 unsigned long ioaddr = priv->ioaddr; in ifec_tx_wake() local
1135 switch ( ( inw ( ioaddr + SCBStatus ) >> 6 ) & 0x3 ) { in ifec_tx_wake()
1148 outl ( 0, ioaddr + SCBPointer ); in ifec_tx_wake()
1151 outb ( CUResume, ioaddr + SCBCmd ); in ifec_tx_wake()