Searched refs:RTL_R32 (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/realtek/ |
D | r8169_main.c | 84 #define RTL_R32(tp, reg) readl(tp->mmio_addr + (reg)) macro 852 return RTL_R32(tp, GPHY_OCP) & OCPAR_FLAG; in DECLARE_RTL_COND() 873 (RTL_R32(tp, GPHY_OCP) & 0xffff) : -ETIMEDOUT; in r8168_phy_ocp_read() 891 return RTL_R32(tp, OCPDR); in r8168_mac_ocp_read() 945 return RTL_R32(tp, PHYAR) & 0x80000000; in DECLARE_RTL_COND() 967 RTL_R32(tp, PHYAR) & 0xffff : -ETIMEDOUT; in r8169_mdio_read() 980 return RTL_R32(tp, OCPAR) & OCPAR_FLAG; in DECLARE_RTL_COND() 1007 RTL_R32(tp, OCPDR) & OCPDR_DATA_MASK : -ETIMEDOUT; in r8168dp_1_mdio_read() 1014 RTL_W32(tp, 0xd0, RTL_R32(tp, 0xd0) & ~R8168DP_1_MDIO_ACCESS_BIT); in r8168dp_2_mdio_start() 1019 RTL_W32(tp, 0xd0, RTL_R32(tp, 0xd0) | R8168DP_1_MDIO_ACCESS_BIT); in r8168dp_2_mdio_stop() [all …]
|
D | 8139too.c | 680 #define RTL_R32(reg) ioread32 (ioaddr + (reg)) macro 838 if (RTL_R32 (TxConfig) == 0xFFFFFFFF) { in rtl8139_init_board() 845 version = RTL_R32 (TxConfig) & HW_REVID_MASK; in rtl8139_init_board() 855 dev_dbg(&pdev->dev, "TxConfig = 0x%x\n", RTL_R32 (TxConfig)); in rtl8139_init_board() 1675 i, RTL_R32(TxStatus0 + (i * 4)), in rtl8139_tx_timeout_task() 1776 txstatus = RTL_R32 (TxStatus0 + (entry * sizeof (u32))); in rtl8139_tx_interrupt() 2100 dev->stats.rx_missed_errors += RTL_R32 (RxMissed); in rtl8139_weird_interrupt() 2276 dev->stats.rx_missed_errors += RTL_R32 (RxMissed); in rtl8139_close() 2526 dev->stats.rx_missed_errors += RTL_R32 (RxMissed); in rtl8139_get_stats64() 2558 dev->flags, RTL_R32(RxConfig)); in __set_rx_mode() [all …]
|