Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/realtek/
Dr8169.c105 #define RTL_R8(reg) readb (ioaddr + (reg)) macro
1389 return RTL_R8(IBISR0) & 0x02; in DECLARE_RTL_COND()
1396 RTL_W8(IBCR2, RTL_R8(IBCR2) & ~0x01); in rtl8168ep_stop_cmac()
1398 RTL_W8(IBISR0, RTL_R8(IBISR0) | 0x20); in rtl8168ep_stop_cmac()
1399 RTL_W8(IBCR0, RTL_R8(IBCR0) & ~0x01); in rtl8168ep_stop_cmac()
1572 RTL_R8(ChipCmd); in rtl8169_irq_mask_and_ack()
1594 return RTL_R8(PHYstatus) & LinkStatus; in rtl8169_xmii_link_ok()
1622 if (RTL_R8(PHYstatus) & _1000bpsF) { in rtl_link_chg_patch()
1627 } else if (RTL_R8(PHYstatus) & _100bps) { in rtl_link_chg_patch()
1645 if (RTL_R8(PHYstatus) & _1000bpsF) { in rtl_link_chg_patch()
[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()
1152 #define eeprom_delay() (void)RTL_R8(Cfg9346)
1184 (retval << 1) | ((RTL_R8 (Cfg9346) & EE_DATA_READ) ? 1 : in read_eeprom()
1210 #define mdio_delay() RTL_R8(Config4)
1272 retval = (retval << 1) | ((RTL_R8 (Config4) & MDIO_DATA_IN) ? 1 : 0); in mdio_read()
1368 irq, RTL_R8 (MediaStatus), in rtl8139_open()
[all …]