Home
last modified time | relevance | path

Searched refs:ufs_phy_state (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/phy/samsung/
Dphy-samsung-ufs.c84 if (unlikely(ufs_phy->ufs_phy_state < CFG_PRE_INIT || in samsung_ufs_phy_calibrate()
85 ufs_phy->ufs_phy_state >= CFG_TAG_MAX)) { in samsung_ufs_phy_calibrate()
86 dev_err(ufs_phy->dev, "invalid phy config index %d\n", ufs_phy->ufs_phy_state); in samsung_ufs_phy_calibrate()
90 cfg = cfgs[ufs_phy->ufs_phy_state]; in samsung_ufs_phy_calibrate()
101 if (ufs_phy->ufs_phy_state == CFG_PRE_INIT && in samsung_ufs_phy_calibrate()
108 if (ufs_phy->ufs_phy_state == CFG_POST_PWR_HS && in samsung_ufs_phy_calibrate()
126 switch (ufs_phy->ufs_phy_state) { in samsung_ufs_phy_calibrate()
128 ufs_phy->ufs_phy_state = CFG_POST_INIT; in samsung_ufs_phy_calibrate()
131 ufs_phy->ufs_phy_state = CFG_PRE_PWR_HS; in samsung_ufs_phy_calibrate()
134 ufs_phy->ufs_phy_state = CFG_POST_PWR_HS; in samsung_ufs_phy_calibrate()
[all …]
Dphy-samsung-ufs.h129 int ufs_phy_state; member