Lines Matching refs:ufs_phy_state
84 if (unlikely(ufs_phy->ufs_phy_state < CFG_PRE_INIT ||
85 ufs_phy->ufs_phy_state >= CFG_TAG_MAX)) {
86 dev_err(ufs_phy->dev, "invalid phy config index %d\n", ufs_phy->ufs_phy_state);
90 cfg = cfgs[ufs_phy->ufs_phy_state];
100 if (ufs_phy->ufs_phy_state == CFG_POST_PWR_HS)
113 switch (ufs_phy->ufs_phy_state) {
115 ufs_phy->ufs_phy_state = CFG_POST_INIT;
118 ufs_phy->ufs_phy_state = CFG_PRE_PWR_HS;
121 ufs_phy->ufs_phy_state = CFG_POST_PWR_HS;
125 ufs_phy->ufs_phy_state = CFG_PRE_INIT;
156 ss_phy->ufs_phy_state = CFG_PRE_INIT;
174 if (ss_phy->ufs_phy_state == CFG_PRE_INIT) {
211 ss_phy->ufs_phy_state = CFG_TAG_MAX;