Searched refs:RTL_R16 (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/realtek/ |
D | 8139too.c | 678 #define RTL_R16(reg) ioread16 (ioaddr + (reg)) macro 1245 RTL_R16 (mii_2_8139_map[location]) : 0; in mdio_read() 1433 RTL_W16 (MultiIntr, RTL_R16 (MultiIntr) & MultiIntrClear); in rtl8139_hw_start() 1492 if (RTL_R16 (CSCR) & CSCR_LinkOKBit) { in rtl8139_tune_twister() 1508 linkcase = RTL_R16 (CSCR) & CSCR_LinkStatusBits; in rtl8139_tune_twister() 1537 if ((RTL_R16 (CSCR) & in rtl8139_tune_twister() 1600 RTL_R16(NWayLPAR)); in rtl8139_thread_iter() 1602 RTL_R16(IntrMask), RTL_R16(IntrStatus)); in rtl8139_thread_iter() 1667 RTL_R8(ChipCmd), RTL_R16(IntrStatus), in rtl8139_tx_timeout_task() 1668 RTL_R16(IntrMask), RTL_R8(MediaStatus)); in rtl8139_tx_timeout_task() [all …]
|
D | r8169.c | 87 #define RTL_R16(tp, reg) readw(tp->mmio_addr + (reg)) macro 1325 return RTL_R16(tp, IntrStatus); in rtl_get_events() 1625 RTL_R16(tp, CPlusCmd); in rtl8169_set_features() 1931 for (w = RTL_R16(tp, IntrMitigate); w; w >>= RTL_COALESCE_SHIFT, p++) { in rtl_get_coalesce() 2029 RTL_R16(tp, CPlusCmd); in rtl_set_coalesce() 4662 RTL_W16(tp, MultiIntr, RTL_R16(tp, MultiIntr) & 0xf000); in rtl_hw_start() 7359 tp->cp_cmd = RTL_R16(tp, CPlusCmd); in rtl_init_one()
|