Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/realtek/
D8139too.c301 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 …]
Dr8169_main.c192 ChipCmd = 0x37, enumerator
687 RTL_R8(tp, ChipCmd); in rtl_pci_commit()
1600 u8 val = RTL_R8(tp, ChipCmd); in rtl8169_update_counters()
2407 return RTL_R8(tp, ChipCmd) & CmdReset; in DECLARE_RTL_COND()
2412 RTL_W8(tp, ChipCmd, CmdReset); in rtl_hw_reset()
2479 RTL_W8(tp, ChipCmd, RTL_R8(tp, ChipCmd) | StopReq); in rtl_wait_txrx_fifo_empty()
3824 RTL_W8(tp, ChipCmd, CmdTxEnb | CmdRxEnb); in rtl_hw_start()
3992 RTL_W8(tp, ChipCmd, RTL_R8(tp, ChipCmd) | StopReq); in rtl8169_cleanup()
4000 RTL_W8(tp, ChipCmd, RTL_R8(tp, ChipCmd) | StopReq); in rtl8169_cleanup()
4957 RTL_W8(tp, ChipCmd, CmdRxEnb); in rtl_wol_shutdown_quirk()
[all …]
/Linux-v5.15/drivers/net/ethernet/natsemi/
Dnatsemi.c263 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 …]
/Linux-v5.15/drivers/net/ethernet/via/
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()
1574 ioaddr + ChipCmd); in init_registers()
1700 __func__, ioread16(ioaddr + ChipCmd), in rhine_open()
2159 iowrite8(ioread8(ioaddr + ChipCmd) | CmdTxOn, in rhine_restart_tx()
2160 ioaddr + ChipCmd); in rhine_restart_tx()
2411 ioread16(ioaddr + ChipCmd)); in rhine_close()
2419 iowrite16(CmdStop, ioaddr + ChipCmd); in rhine_close()