hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/mfd/rkx110_x120/serdes_combphy.h
....@@ -14,15 +14,20 @@
1414 void serdes_combphy_get_default_config(u64 hs_clk_rate,
1515 struct configure_opts_combphy *cfg);
1616
17
-void rkx110_combrxphy_set_mode(struct rk_serdes *ser, enum combrx_phy_mode mode);
18
-void rkx110_combrxphy_set_rate(struct rk_serdes *ser, u64 rate);
19
-void rkx110_combrxphy_power_on(struct rk_serdes *ser, enum comb_phy_id id);
20
-void rkx110_combrxphy_power_off(struct rk_serdes *ser, enum comb_phy_id id);
17
+void rkx110_combrxphy_set_mode(struct rkx110_combrxphy *combrxphy, enum combrx_phy_mode mode);
18
+void rkx110_combrxphy_set_rate(struct rkx110_combrxphy *combrxphy, u64 rate);
19
+void rkx110_combrxphy_set_lanes(struct rkx110_combrxphy *combrxphy, uint8_t lanes);
20
+void rkx110_combrxphy_power_on(struct rk_serdes *ser, struct rkx110_combrxphy *combrxphy,
21
+ u8 dev_id, enum comb_phy_id id);
22
+void rkx110_combrxphy_power_off(struct rk_serdes *ser, struct rkx110_combrxphy *combrxphy,
23
+ u8 dev_id, enum comb_phy_id id);
2124
22
-void rkx120_combtxphy_set_mode(struct rk_serdes *des, enum combtx_phy_mode mode);
23
-void rkx120_combtxphy_set_rate(struct rk_serdes *des, u64 rate);
24
-u64 rkx120_combtxphy_get_rate(struct rk_serdes *des);
25
-void rkx120_combtxphy_power_on(struct rk_serdes *des, u8 remote_id, u8 phy_id);
26
-void rkx120_combtxphy_power_off(struct rk_serdes *des, u8 remote_id);
25
+void rkx120_combtxphy_set_mode(struct rkx120_combtxphy *combtxphy, enum combtx_phy_mode mode);
26
+void rkx120_combtxphy_set_rate(struct rkx120_combtxphy *combtxphy, u64 rate);
27
+u64 rkx120_combtxphy_get_rate(struct rkx120_combtxphy *combtxphy);
28
+void rkx120_combtxphy_power_on(struct rk_serdes *des, struct rkx120_combtxphy *combtxphy,
29
+ u8 dev_id, u8 phy_id);
30
+void rkx120_combtxphy_power_off(struct rk_serdes *des, struct rkx120_combtxphy *combtxphy,
31
+ u8 dev_id, u8 phy_id);
2732 #endif
2833