Lines Matching refs:rtl_readphy

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()
3150 val = rtl_readphy(tp, 0x0d); in rtl8168d_1_hw_phy_config()
3254 val = rtl_readphy(tp, 0x0d); in rtl8168d_2_hw_phy_config()
3732 if (rtl_readphy(tp, 0x10) & 0x0100) { in rtl8168g_1_hw_phy_config()
3741 if (rtl_readphy(tp, 0x13) & 0x0100) { in rtl8168g_1_hw_phy_config()
3787 if (rtl_readphy(tp, 0x10) & 0x0004) in rtl8168g_1_hw_phy_config()
3840 data = rtl_readphy(tp, 0x13); in rtl8168h_1_hw_phy_config()
3844 data = rtl_readphy(tp, 0x12); in rtl8168h_1_hw_phy_config()
3902 if (rtl_readphy(tp, 0x10) & 0x0004) in rtl8168h_1_hw_phy_config()
3958 data = rtl_readphy(tp, 0x16); in rtl8168h_2_hw_phy_config()
3975 if (rtl_readphy(tp, 0x10) & 0x0004) in rtl8168h_2_hw_phy_config()
4017 if (rtl_readphy(tp, 0x10) & 0x0004) in rtl8168ep_1_hw_phy_config()
4108 if (rtl_readphy(tp, 0x10) & 0x0004) in rtl8168ep_2_hw_phy_config()
4489 data->val_out = rtl_readphy(tp, data->reg_num & 0x1f); in rtl_xmii_ioctl()
4554 lpa = rtl_readphy(tp, MII_LPA); in rtl_speed_down()
6139 rg_saw_cnt = rtl_readphy(tp, 0x13); in rtl_hw_start_8168h_1()