Searched refs:RTL_R32 (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/ethernet/realtek/ |
H A D | r8169_main.c | 85 #define RTL_R32(tp, reg) readl(tp->mmio_addr + (reg)) macro 950 return RTL_R32(tp, ERIAR) & ERIAR_FLAG; in DECLARE_RTL_COND() 982 RTL_R32(tp, ERIDR) : ~0; in _rtl_eri_read() 1014 return RTL_R32(tp, GPHY_OCP) & OCPAR_FLAG; in DECLARE_RTL_COND() 1035 (RTL_R32(tp, GPHY_OCP) & 0xffff) : -ETIMEDOUT; in r8168_phy_ocp_read() 1062 return RTL_R32(tp, OCPDR); in __r8168_mac_ocp_read() 1150 return RTL_R32(tp, PHYAR) & 0x80000000; in DECLARE_RTL_COND() 1172 RTL_R32(tp, PHYAR) & 0xffff : -ETIMEDOUT; in r8169_mdio_read() 1185 return RTL_R32(tp, OCPAR) & OCPAR_FLAG; in DECLARE_RTL_COND() 1192 RTL_W32(tp, 0xd0, RTL_R32(tp, 0xd0) & ~R8168DP_1_MDIO_ACCESS_BIT); in r8168dp_2_mdio_start() [all …]
|
H A 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() 1676 i, RTL_R32(TxStatus0 + (i * 4)), in rtl8139_tx_timeout_task() 1777 txstatus = RTL_R32 (TxStatus0 + (entry * sizeof (u32))); in rtl8139_tx_interrupt() 2101 dev->stats.rx_missed_errors += RTL_R32 (RxMissed); in rtl8139_weird_interrupt() 2277 dev->stats.rx_missed_errors += RTL_R32 (RxMissed); in rtl8139_close() 2527 dev->stats.rx_missed_errors += RTL_R32 (RxMissed); in rtl8139_get_stats64() 2559 dev->flags, RTL_R32(RxConfig)); in __set_rx_mode() [all …]
|