Lines Matching refs:ufs_phy_state
83 if (unlikely(ufs_phy->ufs_phy_state < CFG_PRE_INIT ||
84 ufs_phy->ufs_phy_state >= CFG_TAG_MAX)) {
85 dev_err(ufs_phy->dev, "invalid phy config index %d\n", ufs_phy->ufs_phy_state);
89 cfg = cfgs[ufs_phy->ufs_phy_state];
99 if (ufs_phy->ufs_phy_state == CFG_POST_PWR_HS)
112 switch (ufs_phy->ufs_phy_state) {
114 ufs_phy->ufs_phy_state = CFG_POST_INIT;
117 ufs_phy->ufs_phy_state = CFG_PRE_PWR_HS;
120 ufs_phy->ufs_phy_state = CFG_POST_PWR_HS;
124 ufs_phy->ufs_phy_state = CFG_PRE_INIT;
208 ss_phy->ufs_phy_state = CFG_PRE_INIT;