Home
last modified time | relevance | path

Searched refs:RTL_W32 (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/realtek/
Dr8169_main.c82 #define RTL_W32(tp, reg, val32) writel((val32), tp->mmio_addr + (reg)) macro
817 RTL_W32(tp, ERIDR, val); in _rtl_eri_write()
819 RTL_W32(tp, ERIAR, cmd); in _rtl_eri_write()
835 RTL_W32(tp, ERIAR, cmd); in _rtl_eri_read()
878 RTL_W32(tp, GPHY_OCP, OCPAR_FLAG | (reg << 15) | data); in r8168_phy_ocp_write()
888 RTL_W32(tp, GPHY_OCP, reg << 15); in r8168_phy_ocp_read()
899 RTL_W32(tp, OCPDR, OCPAR_FLAG | (reg << 15) | data); in __r8168_mac_ocp_write()
916 RTL_W32(tp, OCPDR, reg << 15); in __r8168_mac_ocp_read()
1011 RTL_W32(tp, PHYAR, 0x80000000 | (reg & 0x1f) << 16 | (value & 0xffff)); in r8169_mdio_write()
1025 RTL_W32(tp, PHYAR, 0x0 | (reg & 0x1f) << 16); in r8169_mdio_read()
[all …]
D8139too.c675 #define RTL_W32(reg, val32) iowrite32 ((val32), ioaddr + (reg)) macro
1409 RTL_W32 (RxConfig, tp->rx_config); in rtl8139_hw_start()
1410 RTL_W32 (TxConfig, rtl8139_tx_config); in rtl8139_hw_start()
1430 RTL_W32 (RxMissed, 0); in rtl8139_hw_start()
1502 RTL_W32 (FIFOTMS, 0x20); /* Turn on cable test mode. */ in rtl8139_tune_twister()
1503 RTL_W32 (PARA78, PARA78_default); in rtl8139_tune_twister()
1504 RTL_W32 (PARA7c, PARA7c_default); in rtl8139_tune_twister()
1527 RTL_W32 (PARA7c, param[(int) tp->twist_row] in rtl8139_tune_twister()
1544 RTL_W32 (PARA7c, 0xfb38de03); in rtl8139_tune_twister()
1551 RTL_W32 (FIFOTMS, 0x20); in rtl8139_tune_twister()
[all …]