Home
last modified time | relevance | path

Searched refs:ChipCmd (Results 1 – 9 of 9) sorted by relevance

/openbmc/u-boot/drivers/net/
H A Drtl8139.c107 ChipCmd=0x37, RxBufPtr=0x38, RxBufAddr=0x3A, enumerator
350 outb(CmdReset, ioaddr + ChipCmd); in rtl_reset()
357 if ((inb(ioaddr + ChipCmd) & CmdReset) == 0) break; in rtl_reset()
366 outb(CmdRxEnb | CmdTxEnb, ioaddr + ChipCmd); in rtl_reset()
388 outb(CmdRxEnb | CmdTxEnb, ioaddr + ChipCmd); in rtl_reset()
467 if (inb(ioaddr + ChipCmd) & RxBufEmpty) { in rtl_poll()
524 outb(CmdReset, ioaddr + ChipCmd); in rtl_disable()
528 if ((inb(ioaddr + ChipCmd) & CmdReset) == 0) break; in rtl_disable()
H A Dns8382x.c69 ChipCmd = 0x00, enumerator
399 OUTL(dev, (ChipReset), ChipCmd); in ns8382x_initialize()
573 OUTL(dev, (RxOn | TxOn), ChipCmd); in ns8382x_init()
585 OUTL(dev, ChipReset, ChipCmd); in ns8382x_reset()
586 while (INL(dev, ChipCmd)) in ns8382x_reset()
742 OUTL(dev, TxOff, ChipCmd); in ns8382x_send()
762 OUTL(dev, TxOn, ChipCmd); in ns8382x_send()
829 OUTL(dev, RxOn, ChipCmd); in ns8382x_poll()
848 OUTL(dev, (RxOff | TxOff), ChipCmd); in ns8382x_disable()
H A Dnatsemi.c75 ChipCmd = 0x00, enumerator
375 OUTL(dev, ChipReset, ChipCmd); in natsemi_initialize()
589 OUTL(dev, (RxOn | TxOn), ChipCmd); in natsemi_init()
605 OUTL(dev, ChipReset, ChipCmd); in natsemi_reset()
763 OUTL(dev, TxOff, ChipCmd); in natsemi_send()
783 OUTL(dev, TxOn, ChipCmd); in natsemi_send()
856 OUTL(dev, RxOn, ChipCmd); in natsemi_poll()
878 OUTL(dev, RxOff | TxOff, ChipCmd); in natsemi_disable()
H A Drtl8169.c119 ChipCmd = 0x37, enumerator
394 RTL_W8(ChipCmd, CmdReset); in rtl8169_init_board()
398 if ((RTL_R8(ChipCmd) & CmdReset) == 0) in rtl8169_init_board()
728 RTL_W8(ChipCmd, CmdReset); in rtl8169_hw_start()
732 if ((RTL_R8(ChipCmd) & CmdReset) == 0) in rtl8169_hw_start()
743 RTL_W8(ChipCmd, CmdTxEnb | CmdRxEnb); in rtl8169_hw_start()
781 RTL_W8(ChipCmd, CmdTxEnb | CmdRxEnb); in rtl8169_hw_start()
915 RTL_W8(ChipCmd, 0x00); in rtl_halt_common()
/openbmc/linux/drivers/net/ethernet/realtek/
H A D8139too.c301 ChipCmd = 0x37, enumerator
742 RTL_W8 (ChipCmd, CmdReset); in rtl8139_chip_reset()
1438 tmp = RTL_R8 (ChipCmd); in rtl8139_hw_start()
1683 tmp8 = RTL_R8 (ChipCmd); in rtl8139_tx_timeout_task()
1685 RTL_W8 (ChipCmd, CmdRxEnb); in rtl8139_tx_timeout_task()
1862 tmp8 = RTL_R8 (ChipCmd); in rtl8139_rx_err()
1864 RTL_W8 (ChipCmd, tmp8); in rtl8139_rx_err()
1875 tmp8 = RTL_R8 (ChipCmd); in rtl8139_rx_err()
1886 tmp8 = RTL_R8 (ChipCmd); in rtl8139_rx_err()
2271 RTL_W8 (ChipCmd, 0); in rtl8139_close()
[all …]
H A Dr8169_main.c183 ChipCmd = 0x37, enumerator
724 RTL_R8(tp, ChipCmd); in rtl_pci_commit()
1690 u8 val = RTL_R8(tp, ChipCmd); in rtl8169_update_counters()
2479 return RTL_R8(tp, ChipCmd) & CmdReset; in DECLARE_RTL_COND()
2484 RTL_W8(tp, ChipCmd, CmdReset); in rtl_hw_reset()
2551 RTL_W8(tp, ChipCmd, RTL_R8(tp, ChipCmd) | StopReq); in rtl_wait_txrx_fifo_empty()
3842 RTL_W8(tp, ChipCmd, CmdTxEnb | CmdRxEnb); in rtl_hw_start()
4006 RTL_W8(tp, ChipCmd, RTL_R8(tp, ChipCmd) | StopReq); in rtl8169_cleanup()
4014 RTL_W8(tp, ChipCmd, RTL_R8(tp, ChipCmd) | StopReq); in rtl8169_cleanup()
5158 RTL_W8(tp, ChipCmd, RTL_R8(tp, ChipCmd) & ~(CmdTxEnb | CmdRxEnb)); in rtl_hw_init_8168g()
[all …]
/openbmc/linux/drivers/net/ethernet/natsemi/
H A Dnatsemi.c263 ChipCmd = 0x00, enumerator
1421 writel(ChipReset, ioaddr + ChipCmd); in natsemi_reset()
1469 writel(RxReset, ioaddr + ChipCmd); in reset_rx()
1513 writel(RxOff | TxOff, ioaddr + ChipCmd); in natsemi_stop_rxtx()
1568 dev->name, (int)readl(ioaddr + ChipCmd)); in netdev_open()
1770 writel(RxOn | TxOn, ioaddr + ChipCmd); in init_registers()
1846 writel(RxOn, ioaddr + ChipCmd); in netdev_timer()
2125 writel(TxOn, ioaddr + ChipCmd); in start_tx()
2391 writel(RxOn, ioaddr + ChipCmd); in netdev_rx()
2548 writel(RxOn | TxOn, ioaddr + ChipCmd); in natsemi_change_mtu()
[all …]
/openbmc/linux/drivers/net/ethernet/via/
H A Dvia-rhine.c292 StationAddr=0x00, RxConfig=0x06, TxConfig=0x07, ChipCmd=0x08, enumerator
834 rhine_wait_bit_low(rp, ChipCmd, CmdTxOn); in rhine_napipoll()
835 if (ioread8(ioaddr + ChipCmd) & CmdTxOn) in rhine_napipoll()
1576 ioaddr + ChipCmd); in init_registers()
1702 __func__, ioread16(ioaddr + ChipCmd), in rhine_open()
2161 iowrite8(ioread8(ioaddr + ChipCmd) | CmdTxOn, in rhine_restart_tx()
2162 ioaddr + ChipCmd); in rhine_restart_tx()
2413 ioread16(ioaddr + ChipCmd)); in rhine_close()
2421 iowrite16(CmdStop, ioaddr + ChipCmd); in rhine_close()
/openbmc/qemu/hw/net/
H A Drtl8139.c106 ChipCmd = 0x37, enumerator
2679 case ChipCmd: in rtl8139_io_writeb()
2925 case ChipCmd: in rtl8139_io_readb()