| /OK3568_Linux_fs/u-boot/drivers/net/ |
| H A D | rtl8139.c | 111 ChipCmd=0x37, RxBufPtr=0x38, RxBufAddr=0x3A, enumerator 358 outb(CmdReset, ioaddr + ChipCmd); in rtl_reset() 365 if ((inb(ioaddr + ChipCmd) & CmdReset) == 0) break; in rtl_reset() 374 outb(CmdRxEnb | CmdTxEnb, ioaddr + ChipCmd); in rtl_reset() 396 outb(CmdRxEnb | CmdTxEnb, ioaddr + ChipCmd); in rtl_reset() 475 if (inb(ioaddr + ChipCmd) & RxBufEmpty) { in rtl_poll() 532 outb(CmdReset, ioaddr + ChipCmd); in rtl_disable() 536 if ((inb(ioaddr + ChipCmd) & CmdReset) == 0) break; in rtl_disable()
|
| H A D | ns8382x.c | 70 ChipCmd = 0x00, enumerator 400 OUTL(dev, (ChipReset), ChipCmd); in ns8382x_initialize() 574 OUTL(dev, (RxOn | TxOn), ChipCmd); in ns8382x_init() 586 OUTL(dev, ChipReset, ChipCmd); in ns8382x_reset() 587 while (INL(dev, ChipCmd)) in ns8382x_reset() 743 OUTL(dev, TxOff, ChipCmd); in ns8382x_send() 763 OUTL(dev, TxOn, ChipCmd); in ns8382x_send() 830 OUTL(dev, RxOn, ChipCmd); in ns8382x_poll() 849 OUTL(dev, (RxOff | TxOff), ChipCmd); in ns8382x_disable()
|
| H A D | natsemi.c | 76 ChipCmd = 0x00, enumerator 376 OUTL(dev, ChipReset, ChipCmd); in natsemi_initialize() 590 OUTL(dev, (RxOn | TxOn), ChipCmd); in natsemi_init() 606 OUTL(dev, ChipReset, ChipCmd); in natsemi_reset() 764 OUTL(dev, TxOff, ChipCmd); in natsemi_send() 784 OUTL(dev, TxOn, ChipCmd); in natsemi_send() 857 OUTL(dev, RxOn, ChipCmd); in natsemi_poll() 879 OUTL(dev, RxOff | TxOff, ChipCmd); in natsemi_disable()
|
| H A D | rtl8169.c | 124 ChipCmd = 0x37, enumerator 399 RTL_W8(ChipCmd, CmdReset); in rtl8169_init_board() 403 if ((RTL_R8(ChipCmd) & CmdReset) == 0) in rtl8169_init_board() 733 RTL_W8(ChipCmd, CmdReset); in rtl8169_hw_start() 737 if ((RTL_R8(ChipCmd) & CmdReset) == 0) in rtl8169_hw_start() 748 RTL_W8(ChipCmd, CmdTxEnb | CmdRxEnb); in rtl8169_hw_start() 786 RTL_W8(ChipCmd, CmdTxEnb | CmdRxEnb); in rtl8169_hw_start() 920 RTL_W8(ChipCmd, 0x00); in rtl_halt_common()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/realtek/ |
| H A D | 8139too.c | 301 ChipCmd = 0x37, enumerator 742 RTL_W8 (ChipCmd, CmdReset); in rtl8139_chip_reset() 747 if ((RTL_R8 (ChipCmd) & CmdReset) == 0) in rtl8139_chip_reset() 1405 RTL_W8 (ChipCmd, CmdRxEnb | CmdTxEnb); in rtl8139_hw_start() 1437 tmp = RTL_R8 (ChipCmd); in rtl8139_hw_start() 1439 RTL_W8 (ChipCmd, CmdRxEnb | CmdTxEnb); in rtl8139_hw_start() 1668 RTL_R8(ChipCmd), RTL_R16(IntrStatus), in rtl8139_tx_timeout_task() 1682 tmp8 = RTL_R8 (ChipCmd); in rtl8139_tx_timeout_task() 1684 RTL_W8 (ChipCmd, CmdRxEnb); in rtl8139_tx_timeout_task() 1861 tmp8 = RTL_R8 (ChipCmd); in rtl8139_rx_err() [all …]
|
| H A D | r8169_main.c | 193 ChipCmd = 0x37, enumerator 683 RTL_R8(tp, ChipCmd); in rtl_pci_commit() 1608 u8 val = RTL_R8(tp, ChipCmd); in rtl8169_update_counters() 2436 return RTL_R8(tp, ChipCmd) & CmdReset; in DECLARE_RTL_COND() 2441 RTL_W8(tp, ChipCmd, CmdReset); in rtl_hw_reset() 2508 RTL_W8(tp, ChipCmd, RTL_R8(tp, ChipCmd) | StopReq); in rtl_wait_txrx_fifo_empty() 3832 RTL_W8(tp, ChipCmd, CmdTxEnb | CmdRxEnb); in rtl_hw_start() 4000 RTL_W8(tp, ChipCmd, RTL_R8(tp, ChipCmd) | StopReq); in rtl8169_cleanup() 4008 RTL_W8(tp, ChipCmd, RTL_R8(tp, ChipCmd) | StopReq); in rtl8169_cleanup() 4995 RTL_W8(tp, ChipCmd, CmdRxEnb); in rtl_wol_shutdown_quirk() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/natsemi/ |
| H A D | natsemi.c | 263 ChipCmd = 0x00, enumerator 1421 writel(ChipReset, ioaddr + ChipCmd); in natsemi_reset() 1423 if (!(readl(ioaddr + ChipCmd) & ChipReset)) in natsemi_reset() 1469 writel(RxReset, ioaddr + ChipCmd); in reset_rx() 1513 writel(RxOff | TxOff, ioaddr + ChipCmd); in natsemi_stop_rxtx() 1515 if ((readl(ioaddr + ChipCmd) & (TxOn|RxOn)) == 0) 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() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/via/ |
| H A D | via-rhine.c | 292 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() 1579 ioaddr + ChipCmd); in init_registers() 1705 __func__, ioread16(ioaddr + ChipCmd), in rhine_open() 2164 iowrite8(ioread8(ioaddr + ChipCmd) | CmdTxOn, in rhine_restart_tx() 2165 ioaddr + ChipCmd); in rhine_restart_tx() 2416 ioread16(ioaddr + ChipCmd)); in rhine_close() 2424 iowrite16(CmdStop, ioaddr + ChipCmd); in rhine_close()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/realtek/r8168/ |
| H A D | r8168.h | 1057 ChipCmd = 0x37, enumerator
|
| H A D | r8168_n.c | 3495 RTL_W8(tp, ChipCmd, StopReq | CmdRxEnb | CmdTxEnb); in rtl8168_nic_reset() 3529 RTL_W8(tp, ChipCmd, CmdReset); in rtl8168_nic_reset() 3534 if ((RTL_R8(tp, ChipCmd) & CmdReset) == 0) in rtl8168_nic_reset() 3701 RTL_W8(tp, ChipCmd, CmdTxEnb | CmdRxEnb); in rtl8168_mac_loopback_test() 27012 RTL_W8(tp, ChipCmd, CmdTxEnb | CmdRxEnb); in rtl8168_hw_start() 28411 RTL_W8(tp, ChipCmd, CmdReset); 28413 RTL_W8(tp, ChipCmd, CmdRxEnb);
|