Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/realtek/
Dr8169.c98 #define RTL_W32(reg, val32) writel ((val32), ioaddr + (reg)) macro
806 RTL_W32(OCPAR, ((u32)mask & 0x0f) << 12 | (reg & 0x0fff)); in ocp_read()
820 RTL_W32(OCPDR, data); in ocp_write()
821 RTL_W32(OCPAR, OCPAR_FLAG | ((u32)mask & 0x0f) << 12 | (reg & 0x0fff)); in ocp_write()
835 RTL_W32(ERIAR, 0x800010e8); in rtl8168_oob_notify()
898 RTL_W32(PHYAR, 0x80000000 | (reg_addr & 0x1f) << 16 | (value & 0xffff)); in r8169_mdio_write()
920 RTL_W32(PHYAR, 0x0 | (reg_addr & 0x1f) << 16); in r8169_mdio_read()
946 RTL_W32(OCPDR, data | in r8168dp_1_mdio_access()
948 RTL_W32(OCPAR, OCPAR_GPHY_WRITE_CMD); in r8168dp_1_mdio_access()
949 RTL_W32(EPHY_RXER_NUM, 0); in r8168dp_1_mdio_access()
[all …]
D8139too.c671 #define RTL_W32(reg, val32) iowrite32 ((val32), ioaddr + (reg)) macro
1427 RTL_W32 (RxConfig, tp->rx_config); in rtl8139_hw_start()
1428 RTL_W32 (TxConfig, rtl8139_tx_config); in rtl8139_hw_start()
1448 RTL_W32 (RxMissed, 0); in rtl8139_hw_start()
1520 RTL_W32 (FIFOTMS, 0x20); /* Turn on cable test mode. */ in rtl8139_tune_twister()
1521 RTL_W32 (PARA78, PARA78_default); in rtl8139_tune_twister()
1522 RTL_W32 (PARA7c, PARA7c_default); in rtl8139_tune_twister()
1545 RTL_W32 (PARA7c, param[(int) tp->twist_row] in rtl8139_tune_twister()
1562 RTL_W32 (PARA7c, 0xfb38de03); in rtl8139_tune_twister()
1569 RTL_W32 (FIFOTMS, 0x20); in rtl8139_tune_twister()
[all …]