Searched refs:RTL_R16 (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/realtek/ |
| D | 8139too.c | 679 #define RTL_R16(reg) ioread16 (ioaddr + (reg)) macro 1246 RTL_R16 (mii_2_8139_map[location]) : 0; in mdio_read() 1434 RTL_W16 (MultiIntr, RTL_R16 (MultiIntr) & MultiIntrClear); in rtl8139_hw_start() 1493 if (RTL_R16 (CSCR) & CSCR_LinkOKBit) { in rtl8139_tune_twister() 1509 linkcase = RTL_R16 (CSCR) & CSCR_LinkStatusBits; in rtl8139_tune_twister() 1538 if ((RTL_R16 (CSCR) & in rtl8139_tune_twister() 1601 RTL_R16(NWayLPAR)); in rtl8139_thread_iter() 1603 RTL_R16(IntrMask), RTL_R16(IntrStatus)); in rtl8139_thread_iter() 1668 RTL_R8(ChipCmd), RTL_R16(IntrStatus), in rtl8139_tx_timeout_task() 1669 RTL_R16(IntrMask), RTL_R8(MediaStatus)); in rtl8139_tx_timeout_task() [all …]
|
| D | r8169_main.c | 83 #define RTL_R16(tp, reg) readw(tp->mmio_addr + (reg)) macro 1362 return RTL_R16(tp, IntrStatus); in rtl_get_events() 1615 RTL_R16(tp, CPlusCmd); in rtl8169_set_features() 1924 for (w = RTL_R16(tp, IntrMitigate); w; w >>= RTL_COALESCE_SHIFT, p++) { in rtl_get_coalesce() 2025 RTL_R16(tp, CPlusCmd); in rtl_set_coalesce() 5276 RTL_W16(tp, 0x1880, RTL_R16(tp, 0x1880) & ~0x0030); in rtl_hw_start_8125_common() 5486 RTL_R16(tp, CPlusCmd); in rtl_hw_start() 7115 tp->cp_cmd = RTL_R16(tp, CPlusCmd); in rtl_init_one()
|