Lines Matching refs:phy_common
49 void ufs_qcom_phy_qmp_20nm_advertise_quirks(struct ufs_qcom_phy *phy_common) in ufs_qcom_phy_qmp_20nm_advertise_quirks() argument
51 phy_common->quirks = 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() local
61 phy_common->mode = PHY_MODE_INVALID; in ufs_qcom_phy_qmp_20nm_set_mode()
64 phy_common->mode = mode; in ufs_qcom_phy_qmp_20nm_set_mode()
140 static int ufs_qcom_phy_qmp_20nm_is_pcs_ready(struct ufs_qcom_phy *phy_common) in ufs_qcom_phy_qmp_20nm_is_pcs_ready() argument
145 err = readl_poll_timeout(phy_common->mmio + UFS_PHY_PCS_READY_STATUS, in ufs_qcom_phy_qmp_20nm_is_pcs_ready()
148 dev_err(phy_common->dev, "%s: poll for pcs failed err = %d\n", in ufs_qcom_phy_qmp_20nm_is_pcs_ready()
173 struct ufs_qcom_phy *phy_common; in ufs_qcom_phy_qmp_20nm_probe() local
181 phy_common = &phy->common_cfg; in ufs_qcom_phy_qmp_20nm_probe()
183 generic_phy = ufs_qcom_phy_generic_probe(pdev, phy_common, in ufs_qcom_phy_qmp_20nm_probe()
191 err = ufs_qcom_phy_init_clks(phy_common); in ufs_qcom_phy_qmp_20nm_probe()
195 err = ufs_qcom_phy_init_vregulators(phy_common); in ufs_qcom_phy_qmp_20nm_probe()
199 ufs_qcom_phy_qmp_20nm_advertise_quirks(phy_common); in ufs_qcom_phy_qmp_20nm_probe()
203 strlcpy(phy_common->name, UFS_PHY_NAME, sizeof(phy_common->name)); in ufs_qcom_phy_qmp_20nm_probe()