Home
last modified time | relevance | path

Searched refs:ufs_qcom_phy (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/phy/qualcomm/
Dphy-qcom-ufs.c25 int ufs_qcom_phy_calibrate(struct ufs_qcom_phy *ufs_qcom_phy, in ufs_qcom_phy_calibrate() argument
35 dev_err(ufs_qcom_phy->dev, "%s: tbl_A is NULL", __func__); in ufs_qcom_phy_calibrate()
42 ufs_qcom_phy->mmio + tbl_A[i].reg_offset); in ufs_qcom_phy_calibrate()
52 dev_err(ufs_qcom_phy->dev, "%s: tbl_B is NULL", in ufs_qcom_phy_calibrate()
60 ufs_qcom_phy->mmio + tbl_B[i].reg_offset); in ufs_qcom_phy_calibrate()
77 struct ufs_qcom_phy *get_ufs_qcom_phy(struct phy *generic_phy) in get_ufs_qcom_phy()
79 return (struct ufs_qcom_phy *)phy_get_drvdata(generic_phy); in get_ufs_qcom_phy()
85 struct ufs_qcom_phy *phy_common) in ufs_qcom_phy_base_init()
112 struct ufs_qcom_phy *common_cfg, in ufs_qcom_phy_generic_probe()
174 int ufs_qcom_phy_init_clks(struct ufs_qcom_phy *phy_common) in ufs_qcom_phy_init_clks()
[all …]
Dphy-qcom-ufs-i.h82 struct ufs_qcom_phy { struct
135 void (*start_serdes)(struct ufs_qcom_phy *phy); argument
136 int (*is_physical_coding_sublayer_ready)(struct ufs_qcom_phy *phy);
137 void (*set_tx_lane_enable)(struct ufs_qcom_phy *phy, u32 val);
138 void (*power_control)(struct ufs_qcom_phy *phy, bool val);
141 struct ufs_qcom_phy *get_ufs_qcom_phy(struct phy *generic_phy);
144 int ufs_qcom_phy_init_clks(struct ufs_qcom_phy *phy_common);
145 int ufs_qcom_phy_init_vregulators(struct ufs_qcom_phy *phy_common);
147 struct ufs_qcom_phy *ufs_qcom_phy);
149 struct ufs_qcom_phy *common_cfg,
[all …]
Dphy-qcom-ufs-qmp-20nm.c20 int ufs_qcom_phy_qmp_20nm_phy_calibrate(struct ufs_qcom_phy *ufs_qcom_phy, in ufs_qcom_phy_qmp_20nm_phy_calibrate() argument
25 u8 major = ufs_qcom_phy->host_ctrl_rev_major; in ufs_qcom_phy_qmp_20nm_phy_calibrate()
26 u16 minor = ufs_qcom_phy->host_ctrl_rev_minor; in ufs_qcom_phy_qmp_20nm_phy_calibrate()
27 u16 step = ufs_qcom_phy->host_ctrl_rev_step; in ufs_qcom_phy_qmp_20nm_phy_calibrate()
37 dev_err(ufs_qcom_phy->dev, "%s: Unknown UFS-PHY version, no calibration values\n", in ufs_qcom_phy_qmp_20nm_phy_calibrate()
46 err = ufs_qcom_phy_calibrate(ufs_qcom_phy, tbl_A, tbl_size_A, in ufs_qcom_phy_qmp_20nm_phy_calibrate()
50 dev_err(ufs_qcom_phy->dev, "%s: ufs_qcom_phy_calibrate() failed %d\n", in ufs_qcom_phy_qmp_20nm_phy_calibrate()
58 void ufs_qcom_phy_qmp_20nm_advertise_quirks(struct ufs_qcom_phy *phy_common) in ufs_qcom_phy_qmp_20nm_advertise_quirks()
66 struct ufs_qcom_phy *phy_common = get_ufs_qcom_phy(generic_phy); in ufs_qcom_phy_qmp_20nm_init()
89 struct ufs_qcom_phy *phy_common = get_ufs_qcom_phy(generic_phy); in ufs_qcom_phy_qmp_20nm_set_mode()
[all …]
Dphy-qcom-ufs-qmp-14nm.c21 int ufs_qcom_phy_qmp_14nm_phy_calibrate(struct ufs_qcom_phy *ufs_qcom_phy, in ufs_qcom_phy_qmp_14nm_phy_calibrate() argument
28 err = ufs_qcom_phy_calibrate(ufs_qcom_phy, phy_cal_table_rate_A, in ufs_qcom_phy_qmp_14nm_phy_calibrate()
32 dev_err(ufs_qcom_phy->dev, in ufs_qcom_phy_qmp_14nm_phy_calibrate()
39 void ufs_qcom_phy_qmp_14nm_advertise_quirks(struct ufs_qcom_phy *phy_common) in ufs_qcom_phy_qmp_14nm_advertise_quirks()
47 struct ufs_qcom_phy *phy_common = get_ufs_qcom_phy(generic_phy); in ufs_qcom_phy_qmp_14nm_init()
70 struct ufs_qcom_phy *phy_common = get_ufs_qcom_phy(generic_phy); in ufs_qcom_phy_qmp_14nm_set_mode()
81 void ufs_qcom_phy_qmp_14nm_power_control(struct ufs_qcom_phy *phy, bool val) in ufs_qcom_phy_qmp_14nm_power_control()
92 void ufs_qcom_phy_qmp_14nm_set_tx_lane_enable(struct ufs_qcom_phy *phy, u32 val) in ufs_qcom_phy_qmp_14nm_set_tx_lane_enable()
100 static inline void ufs_qcom_phy_qmp_14nm_start_serdes(struct ufs_qcom_phy *phy) in ufs_qcom_phy_qmp_14nm_start_serdes()
112 static int ufs_qcom_phy_qmp_14nm_is_pcs_ready(struct ufs_qcom_phy *phy_common) in ufs_qcom_phy_qmp_14nm_is_pcs_ready()
[all …]
Dphy-qcom-ufs-qmp-14nm.h105 struct ufs_qcom_phy common_cfg;
Dphy-qcom-ufs-qmp-20nm.h131 struct ufs_qcom_phy common_cfg;