Home
last modified time | relevance | path

Searched refs:RTL_W8 (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/realtek/
H A D8139too.c673 #define RTL_W8(reg, val8) iowrite8 ((val8), ioaddr + (reg)) macro
742 RTL_W8 (ChipCmd, CmdReset); in rtl8139_chip_reset()
835 RTL_W8 (HltClk, 'R'); in rtl8139_init_board()
870 RTL_W8 (Cfg9346, Cfg9346_Unlock); in rtl8139_init_board()
871 RTL_W8 (Config1, tmp8); in rtl8139_init_board()
872 RTL_W8 (Cfg9346, Cfg9346_Lock); in rtl8139_init_board()
877 RTL_W8 (Cfg9346, Cfg9346_Unlock); in rtl8139_init_board()
878 RTL_W8 (Config4, tmp8 & ~LWPTN); in rtl8139_init_board()
879 RTL_W8 (Cfg9346, Cfg9346_Lock); in rtl8139_init_board()
886 RTL_W8 (Config1, tmp8); in rtl8139_init_board()
[all …]
H A Dr8169_main.c80 #define RTL_W8(tp, reg, val8) writeb((val8), tp->mmio_addr + (reg)) macro
707 RTL_W8(tp, Cfg9346, Cfg9346_Lock); in rtl_lock_config_regs()
717 RTL_W8(tp, Cfg9346, Cfg9346_Unlock); in rtl_unlock_config_regs()
734 RTL_W8(tp, Config2, (val & ~clear) | set); in rtl_mod_config2()
745 RTL_W8(tp, Config5, (val & ~clear) | set); in rtl_mod_config5()
1225 RTL_W8(tp, IBCR2, RTL_R8(tp, IBCR2) & ~0x01); in rtl8168ep_stop_cmac()
1227 RTL_W8(tp, IBISR0, RTL_R8(tp, IBISR0) | 0x20); in rtl8168ep_stop_cmac()
1228 RTL_W8(tp, IBCR0, RTL_R8(tp, IBCR0) & ~0x01); in rtl8168ep_stop_cmac()
1342 RTL_W8(tp, PMCH, RTL_R8(tp, PMCH) & ~D3_NO_PLL_DOWN); in rtl_set_d3_pll_down()
1344 RTL_W8(tp, PMCH, RTL_R8(tp, PMCH) | D3_NO_PLL_DOWN); in rtl_set_d3_pll_down()
[all …]
/openbmc/u-boot/drivers/net/
H A Drtl8169.c98 #define RTL_W8(reg, val8) writeb((val8), ioaddr + (reg)) macro
394 RTL_W8(ChipCmd, CmdReset); in rtl8169_init_board()
571 RTL_W8(IntrStatus, sts & ~(TxErr | RxErr | SYSErr)); in rtl_recv_common()
648 RTL_W8(TxPoll, 0x40); /* set polling bit */ in rtl_send_common()
728 RTL_W8(ChipCmd, CmdReset); in rtl8169_hw_start()
739 RTL_W8(Cfg9346, Cfg9346_Unlock); in rtl8169_hw_start()
743 RTL_W8(ChipCmd, CmdTxEnb | CmdRxEnb); in rtl8169_hw_start()
745 RTL_W8(EarlyTxThres, EarlyTxThld); in rtl8169_hw_start()
781 RTL_W8(ChipCmd, CmdTxEnb | CmdRxEnb); in rtl8169_hw_start()
783 RTL_W8(Cfg9346, Cfg9346_Lock); in rtl8169_hw_start()
[all …]