Lines Matching refs:rtl_readphy
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()
3082 val = rtl_readphy(tp, 0x0d); in rtl8168d_1_hw_phy_config()
3186 val = rtl_readphy(tp, 0x0d); in rtl8168d_2_hw_phy_config()
3664 if (rtl_readphy(tp, 0x10) & 0x0100) { in rtl8168g_1_hw_phy_config()
3673 if (rtl_readphy(tp, 0x13) & 0x0100) { in rtl8168g_1_hw_phy_config()
3719 if (rtl_readphy(tp, 0x10) & 0x0004) in rtl8168g_1_hw_phy_config()
3772 data = rtl_readphy(tp, 0x13); in rtl8168h_1_hw_phy_config()
3776 data = rtl_readphy(tp, 0x12); in rtl8168h_1_hw_phy_config()
3834 if (rtl_readphy(tp, 0x10) & 0x0004) in rtl8168h_1_hw_phy_config()
3890 data = rtl_readphy(tp, 0x16); in rtl8168h_2_hw_phy_config()
3907 if (rtl_readphy(tp, 0x10) & 0x0004) in rtl8168h_2_hw_phy_config()
3949 if (rtl_readphy(tp, 0x10) & 0x0004) in rtl8168ep_1_hw_phy_config()
4040 if (rtl_readphy(tp, 0x10) & 0x0004) in rtl8168ep_2_hw_phy_config()
4421 data->val_out = rtl_readphy(tp, data->reg_num & 0x1f); in rtl_xmii_ioctl()
4486 lpa = rtl_readphy(tp, MII_LPA); in rtl_speed_down()
6069 rg_saw_cnt = rtl_readphy(tp, 0x13); in rtl_hw_start_8168h_1()