Lines Matching refs:ss_phy
204 struct samsung_ufs_phy *ss_phy = get_samsung_ufs_phy(phy);
207 ss_phy->lane_cnt = phy->attrs.bus_width;
208 ss_phy->ufs_phy_state = CFG_PRE_INIT;
210 if (ss_phy->drvdata->has_symbol_clk) {
211 ret = samsung_ufs_phy_symbol_clk_init(ss_phy);
213 dev_err(ss_phy->dev, "failed to set ufs phy symbol clocks\n");
216 ret = samsung_ufs_phy_clks_init(ss_phy);
218 dev_err(ss_phy->dev, "failed to set ufs phy clocks\n");
222 dev_err(ss_phy->dev, "ufs phy calibration failed\n");
229 struct samsung_ufs_phy *ss_phy = get_samsung_ufs_phy(phy);
231 samsung_ufs_phy_ctrl_isol(ss_phy, false);
237 struct samsung_ufs_phy *ss_phy = get_samsung_ufs_phy(phy);
239 samsung_ufs_phy_ctrl_isol(ss_phy, true);
246 struct samsung_ufs_phy *ss_phy = get_samsung_ufs_phy(generic_phy);
248 ss_phy->mode = PHY_MODE_INVALID;
251 ss_phy->mode = mode;
258 struct samsung_ufs_phy *ss_phy = get_samsung_ufs_phy(phy);
260 clk_disable_unprepare(ss_phy->ref_clk);
262 if (ss_phy->drvdata->has_symbol_clk) {
263 clk_disable_unprepare(ss_phy->tx0_symbol_clk);
264 clk_disable_unprepare(ss_phy->rx0_symbol_clk);
265 clk_disable_unprepare(ss_phy->rx1_symbol_clk);