Home
last modified time | relevance | path

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

/drivers/net/ethernet/realtek/
Dr8169_main.c83 #define RTL_R8(tp, reg) readb(tp->mmio_addr + (reg)) macro
697 RTL_R8(tp, ChipCmd); in rtl_pci_commit()
706 val = RTL_R8(tp, Config2); in rtl_mod_config2()
717 val = RTL_R8(tp, Config5); in rtl_mod_config5()
746 mac[i] = RTL_R8(tp, reg + i); in rtl_read_mac_from_reg()
1193 return RTL_R8(tp, IBISR0) & 0x20; in DECLARE_RTL_COND()
1198 RTL_W8(tp, IBCR2, RTL_R8(tp, IBCR2) & ~0x01); in rtl8168ep_stop_cmac()
1200 RTL_W8(tp, IBISR0, RTL_R8(tp, IBISR0) | 0x20); in rtl8168ep_stop_cmac()
1201 RTL_W8(tp, IBCR0, RTL_R8(tp, IBCR0) & ~0x01); in rtl8168ep_stop_cmac()
1315 RTL_W8(tp, PMCH, RTL_R8(tp, PMCH) & ~D3_NO_PLL_DOWN); in rtl_set_d3_pll_down()
[all …]
D8139too.c678 #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()
1146 #define eeprom_delay() (void)RTL_R8(Cfg9346)
1178 (retval << 1) | ((RTL_R8 (Cfg9346) & EE_DATA_READ) ? 1 : in read_eeprom()
1204 #define mdio_delay() RTL_R8(Config4)
1266 retval = (retval << 1) | ((RTL_R8 (Config4) & MDIO_DATA_IN) ? 1 : 0); in mdio_read()
1362 irq, RTL_R8 (MediaStatus), in rtl8139_open()
[all …]