Searched refs:RTL_W8 (Results 1 – 2 of 2) sorted by relevance
/drivers/net/ethernet/realtek/ |
D | 8139too.c | 673 #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 …]
|
D | r8169_main.c | 80 #define RTL_W8(tp, reg, val8) writeb((val8), tp->mmio_addr + (reg)) macro 680 RTL_W8(tp, Cfg9346, Cfg9346_Lock); in rtl_lock_config_regs() 690 RTL_W8(tp, Cfg9346, Cfg9346_Unlock); in rtl_unlock_config_regs() 707 RTL_W8(tp, Config2, (val & ~clear) | set); in rtl_mod_config2() 718 RTL_W8(tp, Config5, (val & ~clear) | set); in rtl_mod_config5() 1198 RTL_W8(tp, IBCR2, RTL_R8(tp, IBCR2) & ~0x01); in rtl8168ep_stop_cmac() 1200 RTL_W8(tp, IBISR0, RTL_R8(tp, IBISR0) | 0x20); in rtl8168ep_stop_cmac() 1201 RTL_W8(tp, IBCR0, RTL_R8(tp, IBCR0) & ~0x01); in rtl8168ep_stop_cmac() 1315 RTL_W8(tp, PMCH, RTL_R8(tp, PMCH) & ~D3_NO_PLL_DOWN); in rtl_set_d3_pll_down() 1317 RTL_W8(tp, PMCH, RTL_R8(tp, PMCH) | D3_NO_PLL_DOWN); in rtl_set_d3_pll_down() [all …]
|