Lines Matching refs:ss_phy
153 struct samsung_ufs_phy *ss_phy = get_samsung_ufs_phy(phy);
155 ss_phy->lane_cnt = phy->attrs.bus_width;
156 ss_phy->ufs_phy_state = CFG_PRE_INIT;
163 struct samsung_ufs_phy *ss_phy = get_samsung_ufs_phy(phy);
166 samsung_ufs_phy_ctrl_isol(ss_phy, false);
168 ret = clk_bulk_prepare_enable(ss_phy->drvdata->num_clks, ss_phy->clks);
170 dev_err(ss_phy->dev, "failed to enable ufs phy clocks\n");
174 if (ss_phy->ufs_phy_state == CFG_PRE_INIT) {
177 dev_err(ss_phy->dev, "ufs phy calibration failed\n");
185 struct samsung_ufs_phy *ss_phy = get_samsung_ufs_phy(phy);
187 clk_bulk_disable_unprepare(ss_phy->drvdata->num_clks, ss_phy->clks);
189 samsung_ufs_phy_ctrl_isol(ss_phy, true);
197 struct samsung_ufs_phy *ss_phy = get_samsung_ufs_phy(generic_phy);
199 ss_phy->mode = PHY_MODE_INVALID;
202 ss_phy->mode = mode;
209 struct samsung_ufs_phy *ss_phy = get_samsung_ufs_phy(phy);
211 ss_phy->ufs_phy_state = CFG_TAG_MAX;