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 | 81 #define RTL_W8(tp, reg, val8) writeb((val8), tp->mmio_addr + (reg)) macro 725 RTL_W8(tp, Cfg9346, Cfg9346_Lock); in rtl_lock_config_regs() 730 RTL_W8(tp, Cfg9346, Cfg9346_Unlock); in rtl_unlock_config_regs() 744 RTL_W8(tp, Config2, (val & ~clear) | set); in rtl_mod_config2() 752 RTL_W8(tp, Config5, (val & ~clear) | set); in rtl_mod_config5() 766 RTL_W8(tp, reg, val); in r8169_mod_reg8_cond() 1346 RTL_W8(tp, IBCR2, RTL_R8(tp, IBCR2) & ~0x01); in rtl8168ep_stop_cmac() 1348 RTL_W8(tp, IBISR0, RTL_R8(tp, IBISR0) | 0x20); in rtl8168ep_stop_cmac() 1349 RTL_W8(tp, IBCR0, RTL_R8(tp, IBCR0) & ~0x01); in rtl8168ep_stop_cmac() 2443 RTL_W8(tp, EEE_LED, RTL_R8(tp, EEE_LED) & ~0x07); in rtl8168_config_eee_mac() [all …]
|