Searched refs:ufs_qcom_phy (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/phy/qualcomm/ |
D | phy-qcom-ufs-i.h | 57 struct ufs_qcom_phy { struct 109 int (*calibrate)(struct ufs_qcom_phy *ufs_qcom_phy, bool is_rate_B); argument 110 void (*start_serdes)(struct ufs_qcom_phy *phy); 111 int (*is_physical_coding_sublayer_ready)(struct ufs_qcom_phy *phy); 112 void (*set_tx_lane_enable)(struct ufs_qcom_phy *phy, u32 val); 113 void (*power_control)(struct ufs_qcom_phy *phy, bool val); 116 struct ufs_qcom_phy *get_ufs_qcom_phy(struct phy *generic_phy); 119 int ufs_qcom_phy_init_clks(struct ufs_qcom_phy *phy_common); 120 int ufs_qcom_phy_init_vregulators(struct ufs_qcom_phy *phy_common); 122 struct ufs_qcom_phy *ufs_qcom_phy); [all …]
|
D | phy-qcom-ufs.c | 16 int ufs_qcom_phy_calibrate(struct ufs_qcom_phy *ufs_qcom_phy, in ufs_qcom_phy_calibrate() argument 26 dev_err(ufs_qcom_phy->dev, "%s: tbl_A is NULL", __func__); in ufs_qcom_phy_calibrate() 33 ufs_qcom_phy->mmio + tbl_A[i].reg_offset); in ufs_qcom_phy_calibrate() 43 dev_err(ufs_qcom_phy->dev, "%s: tbl_B is NULL", in ufs_qcom_phy_calibrate() 51 ufs_qcom_phy->mmio + tbl_B[i].reg_offset); in ufs_qcom_phy_calibrate() 68 struct ufs_qcom_phy *get_ufs_qcom_phy(struct phy *generic_phy) in get_ufs_qcom_phy() 70 return (struct ufs_qcom_phy *)phy_get_drvdata(generic_phy); in get_ufs_qcom_phy() 76 struct ufs_qcom_phy *phy_common) in ufs_qcom_phy_base_init() 103 struct ufs_qcom_phy *common_cfg, in ufs_qcom_phy_generic_probe() 141 static int ufs_qcom_phy_get_reset(struct ufs_qcom_phy *phy_common) in ufs_qcom_phy_get_reset() [all …]
|
D | phy-qcom-ufs-qmp-20nm.c | 11 int ufs_qcom_phy_qmp_20nm_phy_calibrate(struct ufs_qcom_phy *ufs_qcom_phy, in ufs_qcom_phy_qmp_20nm_phy_calibrate() argument 16 u8 major = ufs_qcom_phy->host_ctrl_rev_major; in ufs_qcom_phy_qmp_20nm_phy_calibrate() 17 u16 minor = ufs_qcom_phy->host_ctrl_rev_minor; in ufs_qcom_phy_qmp_20nm_phy_calibrate() 18 u16 step = ufs_qcom_phy->host_ctrl_rev_step; in ufs_qcom_phy_qmp_20nm_phy_calibrate() 28 dev_err(ufs_qcom_phy->dev, "%s: Unknown UFS-PHY version, no calibration values\n", in ufs_qcom_phy_qmp_20nm_phy_calibrate() 37 err = ufs_qcom_phy_calibrate(ufs_qcom_phy, tbl_A, tbl_size_A, in ufs_qcom_phy_qmp_20nm_phy_calibrate() 41 dev_err(ufs_qcom_phy->dev, "%s: ufs_qcom_phy_calibrate() failed %d\n", in ufs_qcom_phy_qmp_20nm_phy_calibrate() 49 void ufs_qcom_phy_qmp_20nm_advertise_quirks(struct ufs_qcom_phy *phy_common) in ufs_qcom_phy_qmp_20nm_advertise_quirks() 59 struct ufs_qcom_phy *phy_common = get_ufs_qcom_phy(generic_phy); in ufs_qcom_phy_qmp_20nm_set_mode() 70 void ufs_qcom_phy_qmp_20nm_power_control(struct ufs_qcom_phy *phy, bool val) in ufs_qcom_phy_qmp_20nm_power_control() [all …]
|
D | phy-qcom-ufs-qmp-14nm.c | 12 int ufs_qcom_phy_qmp_14nm_phy_calibrate(struct ufs_qcom_phy *ufs_qcom_phy, in ufs_qcom_phy_qmp_14nm_phy_calibrate() argument 19 err = ufs_qcom_phy_calibrate(ufs_qcom_phy, phy_cal_table_rate_A, in ufs_qcom_phy_qmp_14nm_phy_calibrate() 23 dev_err(ufs_qcom_phy->dev, in ufs_qcom_phy_qmp_14nm_phy_calibrate() 30 void ufs_qcom_phy_qmp_14nm_advertise_quirks(struct ufs_qcom_phy *phy_common) in ufs_qcom_phy_qmp_14nm_advertise_quirks() 40 struct ufs_qcom_phy *phy_common = get_ufs_qcom_phy(generic_phy); in ufs_qcom_phy_qmp_14nm_set_mode() 51 void ufs_qcom_phy_qmp_14nm_power_control(struct ufs_qcom_phy *phy, bool val) in ufs_qcom_phy_qmp_14nm_power_control() 62 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() 70 static inline void ufs_qcom_phy_qmp_14nm_start_serdes(struct ufs_qcom_phy *phy) in ufs_qcom_phy_qmp_14nm_start_serdes() 82 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() 115 struct ufs_qcom_phy *phy_common; in ufs_qcom_phy_qmp_14nm_probe()
|
D | phy-qcom-ufs-qmp-14nm.h | 96 struct ufs_qcom_phy common_cfg;
|
D | phy-qcom-ufs-qmp-20nm.h | 122 struct ufs_qcom_phy common_cfg;
|