Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/phy/samsung/
H A Dphy-samsung-ufs.c204 struct samsung_ufs_phy *ss_phy = get_samsung_ufs_phy(phy); in samsung_ufs_phy_init() local
207 ss_phy->lane_cnt = phy->attrs.bus_width; in samsung_ufs_phy_init()
208 ss_phy->ufs_phy_state = CFG_PRE_INIT; in samsung_ufs_phy_init()
210 if (ss_phy->drvdata->has_symbol_clk) { in samsung_ufs_phy_init()
211 ret = samsung_ufs_phy_symbol_clk_init(ss_phy); in samsung_ufs_phy_init()
213 dev_err(ss_phy->dev, "failed to set ufs phy symbol clocks\n"); in samsung_ufs_phy_init()
216 ret = samsung_ufs_phy_clks_init(ss_phy); in samsung_ufs_phy_init()
218 dev_err(ss_phy->dev, "failed to set ufs phy clocks\n"); in samsung_ufs_phy_init()
222 dev_err(ss_phy->dev, "ufs phy calibration failed\n"); in samsung_ufs_phy_init()
229 struct samsung_ufs_phy *ss_phy in samsung_ufs_phy_power_on() local
237 struct samsung_ufs_phy *ss_phy = get_samsung_ufs_phy(phy); samsung_ufs_phy_power_off() local
246 struct samsung_ufs_phy *ss_phy = get_samsung_ufs_phy(generic_phy); samsung_ufs_phy_set_mode() local
258 struct samsung_ufs_phy *ss_phy = get_samsung_ufs_phy(phy); samsung_ufs_phy_exit() local
[all...]
/kernel/linux/linux-6.6/drivers/phy/samsung/
H A 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 in samsung_ufs_phy_power_on()
185 struct samsung_ufs_phy *ss_phy = get_samsung_ufs_phy(phy); samsung_ufs_phy_power_off() local
197 struct samsung_ufs_phy *ss_phy = get_samsung_ufs_phy(generic_phy); samsung_ufs_phy_set_mode() local
209 struct samsung_ufs_phy *ss_phy = get_samsung_ufs_phy(phy); samsung_ufs_phy_exit() local
[all...]

Completed in 2 milliseconds