ufs_qcom_phy 109 drivers/phy/qualcomm/phy-qcom-ufs-i.h int (*calibrate)(struct ufs_qcom_phy *ufs_qcom_phy, bool is_rate_B); ufs_qcom_phy 110 drivers/phy/qualcomm/phy-qcom-ufs-i.h void (*start_serdes)(struct ufs_qcom_phy *phy); ufs_qcom_phy 111 drivers/phy/qualcomm/phy-qcom-ufs-i.h int (*is_physical_coding_sublayer_ready)(struct ufs_qcom_phy *phy); ufs_qcom_phy 112 drivers/phy/qualcomm/phy-qcom-ufs-i.h void (*set_tx_lane_enable)(struct ufs_qcom_phy *phy, u32 val); ufs_qcom_phy 113 drivers/phy/qualcomm/phy-qcom-ufs-i.h void (*power_control)(struct ufs_qcom_phy *phy, bool val); ufs_qcom_phy 116 drivers/phy/qualcomm/phy-qcom-ufs-i.h struct ufs_qcom_phy *get_ufs_qcom_phy(struct phy *generic_phy); ufs_qcom_phy 119 drivers/phy/qualcomm/phy-qcom-ufs-i.h int ufs_qcom_phy_init_clks(struct ufs_qcom_phy *phy_common); ufs_qcom_phy 120 drivers/phy/qualcomm/phy-qcom-ufs-i.h int ufs_qcom_phy_init_vregulators(struct ufs_qcom_phy *phy_common); ufs_qcom_phy 122 drivers/phy/qualcomm/phy-qcom-ufs-i.h struct ufs_qcom_phy *ufs_qcom_phy); ufs_qcom_phy 124 drivers/phy/qualcomm/phy-qcom-ufs-i.h struct ufs_qcom_phy *common_cfg, ufs_qcom_phy 127 drivers/phy/qualcomm/phy-qcom-ufs-i.h int ufs_qcom_phy_calibrate(struct ufs_qcom_phy *ufs_qcom_phy, ufs_qcom_phy 12 drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.c int ufs_qcom_phy_qmp_14nm_phy_calibrate(struct ufs_qcom_phy *ufs_qcom_phy, ufs_qcom_phy 19 drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.c err = ufs_qcom_phy_calibrate(ufs_qcom_phy, phy_cal_table_rate_A, ufs_qcom_phy 23 drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.c dev_err(ufs_qcom_phy->dev, ufs_qcom_phy 30 drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.c void ufs_qcom_phy_qmp_14nm_advertise_quirks(struct ufs_qcom_phy *phy_common) ufs_qcom_phy 40 drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.c struct ufs_qcom_phy *phy_common = get_ufs_qcom_phy(generic_phy); ufs_qcom_phy 51 drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.c void ufs_qcom_phy_qmp_14nm_power_control(struct ufs_qcom_phy *phy, bool val) ufs_qcom_phy 62 drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.c void ufs_qcom_phy_qmp_14nm_set_tx_lane_enable(struct ufs_qcom_phy *phy, u32 val) ufs_qcom_phy 70 drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.c static inline void ufs_qcom_phy_qmp_14nm_start_serdes(struct ufs_qcom_phy *phy) ufs_qcom_phy 82 drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.c static int ufs_qcom_phy_qmp_14nm_is_pcs_ready(struct ufs_qcom_phy *phy_common) ufs_qcom_phy 115 drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.c struct ufs_qcom_phy *phy_common; ufs_qcom_phy 96 drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.h struct ufs_qcom_phy common_cfg; ufs_qcom_phy 11 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c int ufs_qcom_phy_qmp_20nm_phy_calibrate(struct ufs_qcom_phy *ufs_qcom_phy, ufs_qcom_phy 16 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c u8 major = ufs_qcom_phy->host_ctrl_rev_major; ufs_qcom_phy 17 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c u16 minor = ufs_qcom_phy->host_ctrl_rev_minor; ufs_qcom_phy 18 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c u16 step = ufs_qcom_phy->host_ctrl_rev_step; ufs_qcom_phy 28 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c dev_err(ufs_qcom_phy->dev, "%s: Unknown UFS-PHY version, no calibration values\n", ufs_qcom_phy 37 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c err = ufs_qcom_phy_calibrate(ufs_qcom_phy, tbl_A, tbl_size_A, ufs_qcom_phy 41 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c dev_err(ufs_qcom_phy->dev, "%s: ufs_qcom_phy_calibrate() failed %d\n", ufs_qcom_phy 49 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c void ufs_qcom_phy_qmp_20nm_advertise_quirks(struct ufs_qcom_phy *phy_common) ufs_qcom_phy 59 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c struct ufs_qcom_phy *phy_common = get_ufs_qcom_phy(generic_phy); ufs_qcom_phy 70 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c void ufs_qcom_phy_qmp_20nm_power_control(struct ufs_qcom_phy *phy, bool val) ufs_qcom_phy 122 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c void ufs_qcom_phy_qmp_20nm_set_tx_lane_enable(struct ufs_qcom_phy *phy, u32 val) ufs_qcom_phy 129 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c static inline void ufs_qcom_phy_qmp_20nm_start_serdes(struct ufs_qcom_phy *phy) ufs_qcom_phy 140 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c static int ufs_qcom_phy_qmp_20nm_is_pcs_ready(struct ufs_qcom_phy *phy_common) ufs_qcom_phy 173 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c struct ufs_qcom_phy *phy_common; ufs_qcom_phy 122 drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.h struct ufs_qcom_phy common_cfg; ufs_qcom_phy 16 drivers/phy/qualcomm/phy-qcom-ufs.c int ufs_qcom_phy_calibrate(struct ufs_qcom_phy *ufs_qcom_phy, ufs_qcom_phy 26 drivers/phy/qualcomm/phy-qcom-ufs.c dev_err(ufs_qcom_phy->dev, "%s: tbl_A is NULL", __func__); ufs_qcom_phy 33 drivers/phy/qualcomm/phy-qcom-ufs.c ufs_qcom_phy->mmio + tbl_A[i].reg_offset); ufs_qcom_phy 43 drivers/phy/qualcomm/phy-qcom-ufs.c dev_err(ufs_qcom_phy->dev, "%s: tbl_B is NULL", ufs_qcom_phy 51 drivers/phy/qualcomm/phy-qcom-ufs.c ufs_qcom_phy->mmio + tbl_B[i].reg_offset); ufs_qcom_phy 68 drivers/phy/qualcomm/phy-qcom-ufs.c struct ufs_qcom_phy *get_ufs_qcom_phy(struct phy *generic_phy) ufs_qcom_phy 70 drivers/phy/qualcomm/phy-qcom-ufs.c return (struct ufs_qcom_phy *)phy_get_drvdata(generic_phy); ufs_qcom_phy 76 drivers/phy/qualcomm/phy-qcom-ufs.c struct ufs_qcom_phy *phy_common) ufs_qcom_phy 103 drivers/phy/qualcomm/phy-qcom-ufs.c struct ufs_qcom_phy *common_cfg, ufs_qcom_phy 141 drivers/phy/qualcomm/phy-qcom-ufs.c static int ufs_qcom_phy_get_reset(struct ufs_qcom_phy *phy_common) ufs_qcom_phy 180 drivers/phy/qualcomm/phy-qcom-ufs.c int ufs_qcom_phy_init_clks(struct ufs_qcom_phy *phy_common) ufs_qcom_phy 268 drivers/phy/qualcomm/phy-qcom-ufs.c int ufs_qcom_phy_init_vregulators(struct ufs_qcom_phy *phy_common) ufs_qcom_phy 353 drivers/phy/qualcomm/phy-qcom-ufs.c static int ufs_qcom_phy_enable_ref_clk(struct ufs_qcom_phy *phy) ufs_qcom_phy 425 drivers/phy/qualcomm/phy-qcom-ufs.c static void ufs_qcom_phy_disable_ref_clk(struct ufs_qcom_phy *phy) ufs_qcom_phy 441 drivers/phy/qualcomm/phy-qcom-ufs.c static int ufs_qcom_phy_enable_iface_clk(struct ufs_qcom_phy *phy) ufs_qcom_phy 468 drivers/phy/qualcomm/phy-qcom-ufs.c static void ufs_qcom_phy_disable_iface_clk(struct ufs_qcom_phy *phy) ufs_qcom_phy 477 drivers/phy/qualcomm/phy-qcom-ufs.c static int ufs_qcom_phy_start_serdes(struct ufs_qcom_phy *ufs_qcom_phy) ufs_qcom_phy 481 drivers/phy/qualcomm/phy-qcom-ufs.c if (!ufs_qcom_phy->phy_spec_ops->start_serdes) { ufs_qcom_phy 482 drivers/phy/qualcomm/phy-qcom-ufs.c dev_err(ufs_qcom_phy->dev, "%s: start_serdes() callback is not supported\n", ufs_qcom_phy 486 drivers/phy/qualcomm/phy-qcom-ufs.c ufs_qcom_phy->phy_spec_ops->start_serdes(ufs_qcom_phy); ufs_qcom_phy 494 drivers/phy/qualcomm/phy-qcom-ufs.c struct ufs_qcom_phy *ufs_qcom_phy = get_ufs_qcom_phy(generic_phy); ufs_qcom_phy 497 drivers/phy/qualcomm/phy-qcom-ufs.c if (!ufs_qcom_phy->phy_spec_ops->set_tx_lane_enable) { ufs_qcom_phy 498 drivers/phy/qualcomm/phy-qcom-ufs.c dev_err(ufs_qcom_phy->dev, "%s: set_tx_lane_enable() callback is not supported\n", ufs_qcom_phy 502 drivers/phy/qualcomm/phy-qcom-ufs.c ufs_qcom_phy->phy_spec_ops->set_tx_lane_enable(ufs_qcom_phy, ufs_qcom_phy 513 drivers/phy/qualcomm/phy-qcom-ufs.c struct ufs_qcom_phy *ufs_qcom_phy = get_ufs_qcom_phy(generic_phy); ufs_qcom_phy 515 drivers/phy/qualcomm/phy-qcom-ufs.c ufs_qcom_phy->host_ctrl_rev_major = major; ufs_qcom_phy 516 drivers/phy/qualcomm/phy-qcom-ufs.c ufs_qcom_phy->host_ctrl_rev_minor = minor; ufs_qcom_phy 517 drivers/phy/qualcomm/phy-qcom-ufs.c ufs_qcom_phy->host_ctrl_rev_step = step; ufs_qcom_phy 521 drivers/phy/qualcomm/phy-qcom-ufs.c static int ufs_qcom_phy_is_pcs_ready(struct ufs_qcom_phy *ufs_qcom_phy) ufs_qcom_phy 523 drivers/phy/qualcomm/phy-qcom-ufs.c if (!ufs_qcom_phy->phy_spec_ops->is_physical_coding_sublayer_ready) { ufs_qcom_phy 524 drivers/phy/qualcomm/phy-qcom-ufs.c dev_err(ufs_qcom_phy->dev, "%s: is_physical_coding_sublayer_ready() callback is not supported\n", ufs_qcom_phy 529 drivers/phy/qualcomm/phy-qcom-ufs.c return ufs_qcom_phy->phy_spec_ops-> ufs_qcom_phy 530 drivers/phy/qualcomm/phy-qcom-ufs.c is_physical_coding_sublayer_ready(ufs_qcom_phy); ufs_qcom_phy 535 drivers/phy/qualcomm/phy-qcom-ufs.c struct ufs_qcom_phy *phy_common = get_ufs_qcom_phy(generic_phy); ufs_qcom_phy 628 drivers/phy/qualcomm/phy-qcom-ufs.c struct ufs_qcom_phy *phy_common = get_ufs_qcom_phy(generic_phy);