Searched refs:rtl_readphy (Results 1 – 1 of 1) sorted by relevance
/linux-4.4.14/drivers/net/ethernet/realtek/ |
D | r8169.c | 1188 static int rtl_readphy(struct rtl8169_private *tp, int location) in rtl_readphy() function 1195 rtl_writephy(tp, reg_addr, rtl_readphy(tp, reg_addr) | value); in rtl_patchphy() 1202 val = rtl_readphy(tp, reg_addr); in rtl_w0w1_phy() 1218 return rtl_readphy(tp, location); in rtl_mdio_read() 1584 return rtl_readphy(tp, MII_BMCR) & BMCR_RESET; in rtl8169_xmii_reset_pending() 1608 val = rtl_readphy(tp, MII_BMCR) | BMCR_RESET; in rtl8169_xmii_reset_enable() 1924 auto_nego = rtl_readphy(tp, MII_ADVERTISE); in rtl8169_set_speed_xmii() 1939 giga_ctrl = rtl_readphy(tp, MII_CTRL1000); in rtl8169_set_speed_xmii() 2663 predata = rtl_readphy(tp, regno); in rtl_phy_write_fw() 2751 if (rtl_readphy(tp, reg) != val) in rtl_apply_firmware_cond() [all …]
|