Searched refs:phy_common (Results 1 – 7 of 7) sorted by relevance
76 struct ufs_qcom_phy *phy_common) in ufs_qcom_phy_base_init() argument83 phy_common->mmio = devm_ioremap_resource(dev, res); in ufs_qcom_phy_base_init()84 if (IS_ERR((void const *)phy_common->mmio)) { in ufs_qcom_phy_base_init()85 err = PTR_ERR((void const *)phy_common->mmio); in ufs_qcom_phy_base_init()86 phy_common->mmio = NULL; in ufs_qcom_phy_base_init()95 phy_common->dev_ref_clk_ctrl_mmio = devm_ioremap_resource(dev, res); in ufs_qcom_phy_base_init()96 if (IS_ERR((void const *)phy_common->dev_ref_clk_ctrl_mmio)) in ufs_qcom_phy_base_init()97 phy_common->dev_ref_clk_ctrl_mmio = NULL; in ufs_qcom_phy_base_init()141 static int ufs_qcom_phy_get_reset(struct ufs_qcom_phy *phy_common) in ufs_qcom_phy_get_reset() argument145 if (phy_common->ufs_reset) in ufs_qcom_phy_get_reset()[all …]
30 void ufs_qcom_phy_qmp_14nm_advertise_quirks(struct ufs_qcom_phy *phy_common) in ufs_qcom_phy_qmp_14nm_advertise_quirks() argument32 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() local42 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() argument87 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() local123 phy_common = &phy->common_cfg; in ufs_qcom_phy_qmp_14nm_probe()[all …]
49 void ufs_qcom_phy_qmp_20nm_advertise_quirks(struct ufs_qcom_phy *phy_common) in ufs_qcom_phy_qmp_20nm_advertise_quirks() argument51 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() local61 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() argument145 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() local181 phy_common = &phy->common_cfg; in ufs_qcom_phy_qmp_20nm_probe()[all …]
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);
6 phy_common.o
9 b43-y += phy_common.o