Home
last modified time | relevance | path

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

/openbmc/linux/drivers/phy/samsung/
H A Dphy-samsung-ufs.c155 ss_phy->lane_cnt = phy->attrs.bus_width; in samsung_ufs_phy_init()
156 ss_phy->ufs_phy_state = CFG_PRE_INIT; in samsung_ufs_phy_init()
166 samsung_ufs_phy_ctrl_isol(ss_phy, false); in samsung_ufs_phy_power_on()
168 ret = clk_bulk_prepare_enable(ss_phy->drvdata->num_clks, ss_phy->clks); in samsung_ufs_phy_power_on()
174 if (ss_phy->ufs_phy_state == CFG_PRE_INIT) { in samsung_ufs_phy_power_on()
177 dev_err(ss_phy->dev, "ufs phy calibration failed\n"); in samsung_ufs_phy_power_on()
187 clk_bulk_disable_unprepare(ss_phy->drvdata->num_clks, ss_phy->clks); in samsung_ufs_phy_power_off()
189 samsung_ufs_phy_ctrl_isol(ss_phy, true); in samsung_ufs_phy_power_off()
199 ss_phy->mode = PHY_MODE_INVALID; in samsung_ufs_phy_set_mode()
202 ss_phy->mode = mode; in samsung_ufs_phy_set_mode()
[all …]