Searched refs:RTL_R8 (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/realtek/ |
D | r8169_main.c | 83 #define RTL_R8(tp, reg) readb(tp->mmio_addr + (reg)) macro 681 RTL_R8(tp, ChipCmd); in rtl_pci_commit() 729 mac[i] = RTL_R8(tp, reg + i); in rtl_read_mac_from_reg() 1164 return RTL_R8(tp, IBISR0) & 0x20; in DECLARE_RTL_COND() 1169 RTL_W8(tp, IBCR2, RTL_R8(tp, IBCR2) & ~0x01); in rtl8168ep_stop_cmac() 1171 RTL_W8(tp, IBISR0, RTL_R8(tp, IBISR0) | 0x20); in rtl8168ep_stop_cmac() 1172 RTL_W8(tp, IBCR0, RTL_R8(tp, IBCR0) & ~0x01); in rtl8168ep_stop_cmac() 1400 options = RTL_R8(tp, cfg[i].reg) & ~cfg[i].mask; in __rtl8169_set_wol() 1408 options = RTL_R8(tp, Config1) & ~PMEnable; in __rtl8169_set_wol() 1416 options = RTL_R8(tp, Config2) & ~PME_SIGNAL; in __rtl8169_set_wol() [all …]
|
D | 8139too.c | 678 #define RTL_R8(reg) ioread8 (ioaddr + (reg)) macro 747 if ((RTL_R8 (ChipCmd) & CmdReset) == 0) in rtl8139_chip_reset() 863 u8 new_tmp8 = tmp8 = RTL_R8 (Config1); in rtl8139_init_board() 875 tmp8 = RTL_R8 (Config4); in rtl8139_init_board() 884 tmp8 = RTL_R8 (Config1); in rtl8139_init_board() 1145 #define eeprom_delay() (void)RTL_R8(Cfg9346) 1177 (retval << 1) | ((RTL_R8 (Cfg9346) & EE_DATA_READ) ? 1 : in read_eeprom() 1203 #define mdio_delay() RTL_R8(Config4) 1265 retval = (retval << 1) | ((RTL_R8 (Config4) & MDIO_DATA_IN) ? 1 : 0); in mdio_read() 1361 irq, RTL_R8 (MediaStatus), in rtl8139_open() [all …]
|