Searched refs:RTL_W8 (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/ethernet/realtek/ |
H A 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 …]
|
H A D | r8169_main.c | 78 #define RTL_W8(tp, reg, val8) writeb((val8), tp->mmio_addr + (reg)) macro 724 RTL_W8(tp, Cfg9346, Cfg9346_Lock); in rtl_lock_config_regs() 734 RTL_W8(tp, Cfg9346, Cfg9346_Unlock); in rtl_unlock_config_regs() 751 RTL_W8(tp, Config2, (val & ~clear) | set); in rtl_mod_config2() 762 RTL_W8(tp, Config5, (val & ~clear) | set); in rtl_mod_config5() 1343 RTL_W8(tp, IBCR2, RTL_R8(tp, IBCR2) & ~0x01); in rtl8168ep_stop_cmac() 1345 RTL_W8(tp, IBISR0, RTL_R8(tp, IBISR0) | 0x20); in rtl8168ep_stop_cmac() 1346 RTL_W8(tp, IBCR0, RTL_R8(tp, IBCR0) & ~0x01); in rtl8168ep_stop_cmac() 1460 RTL_W8(tp, PMCH, RTL_R8(tp, PMCH) & ~D3_NO_PLL_DOWN); in rtl_set_d3_pll_down() 1462 RTL_W8(tp, PMCH, RTL_R8(tp, PMCH) | D3_NO_PLL_DOWN); in rtl_set_d3_pll_down() [all …]
|