Searched refs:RTL_W8 (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/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 670 RTL_W8(tp, Cfg9346, Cfg9346_Lock); in rtl_lock_config_regs() 675 RTL_W8(tp, Cfg9346, Cfg9346_Unlock); in rtl_unlock_config_regs() 1169 RTL_W8(tp, IBCR2, RTL_R8(tp, IBCR2) & ~0x01); in rtl8168ep_stop_cmac() 1171 RTL_W8(tp, IBISR0, RTL_R8(tp, IBISR0) | 0x20); in rtl8168ep_stop_cmac() 1172 RTL_W8(tp, IBCR0, RTL_R8(tp, IBCR0) & ~0x01); in rtl8168ep_stop_cmac() 1403 RTL_W8(tp, cfg[i].reg, options); in __rtl8169_set_wol() 1411 RTL_W8(tp, Config1, options); in __rtl8169_set_wol() 1419 RTL_W8(tp, Config2, options); in __rtl8169_set_wol() 2098 RTL_W8(tp, EEE_LED, RTL_R8(tp, EEE_LED) & ~0x07); in rtl8168_config_eee_mac() [all …]
|