Home
last modified time | relevance | path

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

/drivers/phy/samsung/
Dphy-samsung-ufs.c153 struct samsung_ufs_phy *ss_phy = get_samsung_ufs_phy(phy); in samsung_ufs_phy_init() local
155 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()
163 struct samsung_ufs_phy *ss_phy = get_samsung_ufs_phy(phy); in samsung_ufs_phy_power_on() local
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()
170 dev_err(ss_phy->dev, "failed to enable ufs phy clocks\n"); 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()
185 struct samsung_ufs_phy *ss_phy = get_samsung_ufs_phy(phy); in samsung_ufs_phy_power_off() local
[all …]