Lines Matching refs:tp
17 typedef void (*rtl_phy_cfg_fct)(struct rtl8169_private *tp,
108 static void rtl8169s_hw_phy_config(struct rtl8169_private *tp, in rtl8169s_hw_phy_config() argument
176 static void rtl8169sb_hw_phy_config(struct rtl8169_private *tp, in rtl8169sb_hw_phy_config() argument
182 static void rtl8169scd_hw_phy_config(struct rtl8169_private *tp, in rtl8169scd_hw_phy_config() argument
228 static void rtl8169sce_hw_phy_config(struct rtl8169_private *tp, in rtl8169sce_hw_phy_config() argument
282 static void rtl8168bb_hw_phy_config(struct rtl8169_private *tp, in rtl8168bb_hw_phy_config() argument
291 static void rtl8168bef_hw_phy_config(struct rtl8169_private *tp, in rtl8168bef_hw_phy_config() argument
297 static void rtl8168cp_1_hw_phy_config(struct rtl8169_private *tp, in rtl8168cp_1_hw_phy_config() argument
304 static void rtl8168cp_2_hw_phy_config(struct rtl8169_private *tp, in rtl8168cp_2_hw_phy_config() argument
312 static void rtl8168c_1_hw_phy_config(struct rtl8169_private *tp, in rtl8168c_1_hw_phy_config() argument
341 static void rtl8168c_2_hw_phy_config(struct rtl8169_private *tp, in rtl8168c_2_hw_phy_config() argument
369 static void rtl8168c_3_hw_phy_config(struct rtl8169_private *tp, in rtl8168c_3_hw_phy_config() argument
441 static void rtl8168d_apply_firmware_cond(struct rtl8169_private *tp, in rtl8168d_apply_firmware_cond() argument
455 r8169_apply_firmware(tp); in rtl8168d_apply_firmware_cond()
458 static void rtl8168d_1_hw_phy_config(struct rtl8169_private *tp, in rtl8168d_1_hw_phy_config() argument
471 if (rtl8168d_efuse_read(tp, 0x01) == 0xb1) { in rtl8168d_1_hw_phy_config()
507 rtl8168d_apply_firmware_cond(tp, phydev, 0xbf00); in rtl8168d_1_hw_phy_config()
510 static void rtl8168d_2_hw_phy_config(struct rtl8169_private *tp, in rtl8168d_2_hw_phy_config() argument
515 if (rtl8168d_efuse_read(tp, 0x01) == 0xb1) { in rtl8168d_2_hw_phy_config()
548 rtl8168d_apply_firmware_cond(tp, phydev, 0xb300); in rtl8168d_2_hw_phy_config()
551 static void rtl8168d_3_hw_phy_config(struct rtl8169_private *tp, in rtl8168d_3_hw_phy_config() argument
609 static void rtl8168d_4_hw_phy_config(struct rtl8169_private *tp, in rtl8168d_4_hw_phy_config() argument
617 static void rtl8168e_1_hw_phy_config(struct rtl8169_private *tp, in rtl8168e_1_hw_phy_config() argument
631 r8169_apply_firmware(tp); in rtl8168e_1_hw_phy_config()
662 static void rtl8168e_2_hw_phy_config(struct rtl8169_private *tp, in rtl8168e_2_hw_phy_config() argument
665 r8169_apply_firmware(tp); in rtl8168e_2_hw_phy_config()
704 static void rtl8168f_hw_phy_config(struct rtl8169_private *tp, in rtl8168f_hw_phy_config() argument
720 static void rtl8168f_1_hw_phy_config(struct rtl8169_private *tp, in rtl8168f_1_hw_phy_config() argument
723 r8169_apply_firmware(tp); in rtl8168f_1_hw_phy_config()
742 rtl8168f_hw_phy_config(tp, phydev); in rtl8168f_1_hw_phy_config()
748 static void rtl8168f_2_hw_phy_config(struct rtl8169_private *tp, in rtl8168f_2_hw_phy_config() argument
751 r8169_apply_firmware(tp); in rtl8168f_2_hw_phy_config()
753 rtl8168f_hw_phy_config(tp, phydev); in rtl8168f_2_hw_phy_config()
756 static void rtl8411_hw_phy_config(struct rtl8169_private *tp, in rtl8411_hw_phy_config() argument
759 r8169_apply_firmware(tp); in rtl8411_hw_phy_config()
761 rtl8168f_hw_phy_config(tp, phydev); in rtl8411_hw_phy_config()
820 static void rtl8168g_1_hw_phy_config(struct rtl8169_private *tp, in rtl8168g_1_hw_phy_config() argument
825 r8169_apply_firmware(tp); in rtl8168g_1_hw_phy_config()
868 static void rtl8168g_2_hw_phy_config(struct rtl8169_private *tp, in rtl8168g_2_hw_phy_config() argument
871 r8169_apply_firmware(tp); in rtl8168g_2_hw_phy_config()
875 static void rtl8168h_1_hw_phy_config(struct rtl8169_private *tp, in rtl8168h_1_hw_phy_config() argument
881 r8169_apply_firmware(tp); in rtl8168h_1_hw_phy_config()
940 static void rtl8168h_2_hw_phy_config(struct rtl8169_private *tp, in rtl8168h_2_hw_phy_config() argument
946 r8169_apply_firmware(tp); in rtl8168h_2_hw_phy_config()
957 ioffset = rtl8168h_2_get_adc_bias_ioffset(tp); in rtl8168h_2_hw_phy_config()
980 static void rtl8168ep_1_hw_phy_config(struct rtl8169_private *tp, in rtl8168ep_1_hw_phy_config() argument
1001 static void rtl8168ep_2_hw_phy_config(struct rtl8169_private *tp, in rtl8168ep_2_hw_phy_config() argument
1051 static void rtl8117_hw_phy_config(struct rtl8169_private *tp, in rtl8117_hw_phy_config() argument
1088 static void rtl8102e_hw_phy_config(struct rtl8169_private *tp, in rtl8102e_hw_phy_config() argument
1105 static void rtl8401_hw_phy_config(struct rtl8169_private *tp, in rtl8401_hw_phy_config() argument
1112 static void rtl8105e_hw_phy_config(struct rtl8169_private *tp, in rtl8105e_hw_phy_config() argument
1119 r8169_apply_firmware(tp); in rtl8105e_hw_phy_config()
1126 static void rtl8402_hw_phy_config(struct rtl8169_private *tp, in rtl8402_hw_phy_config() argument
1133 r8169_apply_firmware(tp); in rtl8402_hw_phy_config()
1142 static void rtl8106e_hw_phy_config(struct rtl8169_private *tp, in rtl8106e_hw_phy_config() argument
1156 r8169_apply_firmware(tp); in rtl8106e_hw_phy_config()
1166 static void rtl8125a_1_hw_phy_config(struct rtl8169_private *tp, in rtl8125a_1_hw_phy_config() argument
1204 static void rtl8125a_2_hw_phy_config(struct rtl8169_private *tp, in rtl8125a_2_hw_phy_config() argument
1253 r8169_apply_firmware(tp); in rtl8125a_2_hw_phy_config()
1269 static void rtl8125b_hw_phy_config(struct rtl8169_private *tp, in rtl8125b_hw_phy_config() argument
1272 r8169_apply_firmware(tp); in rtl8125b_hw_phy_config()
1308 void r8169_hw_phy_config(struct rtl8169_private *tp, struct phy_device *phydev, in r8169_hw_phy_config() argument
1371 phy_configs[ver](tp, phydev); in r8169_hw_phy_config()