Searched refs:rtl_readphy (Results 1 – 1 of 1) sorted by relevance
/linux-4.1.27/drivers/net/ethernet/realtek/ |
D | r8169.c | 1176 static int rtl_readphy(struct rtl8169_private *tp, int location) in rtl_readphy() function 1183 rtl_writephy(tp, reg_addr, rtl_readphy(tp, reg_addr) | value); in rtl_patchphy() 1190 val = rtl_readphy(tp, reg_addr); in rtl_w0w1_phy() 1206 return rtl_readphy(tp, location); in rtl_mdio_read() 1572 return rtl_readphy(tp, MII_BMCR) & BMCR_RESET; in rtl8169_xmii_reset_pending() 1596 val = rtl_readphy(tp, MII_BMCR) | BMCR_RESET; in rtl8169_xmii_reset_enable() 1912 auto_nego = rtl_readphy(tp, MII_ADVERTISE); in rtl8169_set_speed_xmii() 1927 giga_ctrl = rtl_readphy(tp, MII_CTRL1000); in rtl8169_set_speed_xmii() 2595 predata = rtl_readphy(tp, regno); in rtl_phy_write_fw() 2683 if (rtl_readphy(tp, reg) != val) in rtl_apply_firmware_cond() [all …]
|