Lines Matching refs:phy_common
30 void ufs_qcom_phy_qmp_14nm_advertise_quirks(struct ufs_qcom_phy *phy_common) in ufs_qcom_phy_qmp_14nm_advertise_quirks() argument
32 phy_common->quirks = 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() local
42 phy_common->mode = PHY_MODE_INVALID; in ufs_qcom_phy_qmp_14nm_set_mode()
45 phy_common->mode = mode; in ufs_qcom_phy_qmp_14nm_set_mode()
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() argument
87 err = readl_poll_timeout(phy_common->mmio + UFS_PHY_PCS_READY_STATUS, in ufs_qcom_phy_qmp_14nm_is_pcs_ready()
90 dev_err(phy_common->dev, "%s: poll for pcs failed err = %d\n", in ufs_qcom_phy_qmp_14nm_is_pcs_ready()
115 struct ufs_qcom_phy *phy_common; in ufs_qcom_phy_qmp_14nm_probe() local
123 phy_common = &phy->common_cfg; in ufs_qcom_phy_qmp_14nm_probe()
125 generic_phy = ufs_qcom_phy_generic_probe(pdev, phy_common, in ufs_qcom_phy_qmp_14nm_probe()
133 err = ufs_qcom_phy_init_clks(phy_common); in ufs_qcom_phy_qmp_14nm_probe()
137 err = ufs_qcom_phy_init_vregulators(phy_common); in ufs_qcom_phy_qmp_14nm_probe()
141 phy_common->vdda_phy.max_uV = UFS_PHY_VDDA_PHY_UV; in ufs_qcom_phy_qmp_14nm_probe()
142 phy_common->vdda_phy.min_uV = UFS_PHY_VDDA_PHY_UV; in ufs_qcom_phy_qmp_14nm_probe()
144 ufs_qcom_phy_qmp_14nm_advertise_quirks(phy_common); in ufs_qcom_phy_qmp_14nm_probe()
148 strlcpy(phy_common->name, UFS_PHY_NAME, sizeof(phy_common->name)); in ufs_qcom_phy_qmp_14nm_probe()