Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/realtek/
Dr8169.c86 #define RTL_R8(tp, reg) readb(tp->mmio_addr + (reg)) macro
1191 return RTL_R8(tp, IBISR0) & 0x20; in DECLARE_RTL_COND()
1196 RTL_W8(tp, IBCR2, RTL_R8(tp, IBCR2) & ~0x01); in rtl8168ep_stop_cmac()
1198 RTL_W8(tp, IBISR0, RTL_R8(tp, IBISR0) | 0x20); in rtl8168ep_stop_cmac()
1199 RTL_W8(tp, IBCR0, RTL_R8(tp, IBCR0) & ~0x01); in rtl8168ep_stop_cmac()
1358 RTL_R8(tp, ChipCmd); in rtl8169_irq_mask_and_ack()
1425 options = RTL_R8(tp, Config1); in __rtl8169_get_wol()
1429 options = RTL_R8(tp, Config3); in __rtl8169_get_wol()
1444 options = RTL_R8(tp, Config5); in __rtl8169_get_wol()
1509 options = RTL_R8(tp, cfg[i].reg) & ~cfg[i].mask; in __rtl8169_set_wol()
[all …]
D8139too.c677 #define RTL_R8(reg) ioread8 (ioaddr + (reg)) macro
746 if ((RTL_R8 (ChipCmd) & CmdReset) == 0) in rtl8139_chip_reset()
862 u8 new_tmp8 = tmp8 = RTL_R8 (Config1); in rtl8139_init_board()
874 tmp8 = RTL_R8 (Config4); in rtl8139_init_board()
883 tmp8 = RTL_R8 (Config1); in rtl8139_init_board()
1144 #define eeprom_delay() (void)RTL_R8(Cfg9346)
1176 (retval << 1) | ((RTL_R8 (Cfg9346) & EE_DATA_READ) ? 1 : in read_eeprom()
1202 #define mdio_delay() RTL_R8(Config4)
1264 retval = (retval << 1) | ((RTL_R8 (Config4) & MDIO_DATA_IN) ? 1 : 0); in mdio_read()
1360 irq, RTL_R8 (MediaStatus), in rtl8139_open()
[all …]