Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/phy/
H A Dphy-stm32-usbphyc.c147 struct stm32_usbphyc_phy *usbphyc_phy = usbphyc->phys + phy->id; in stm32_usbphyc_phy_init() local
178 usbphyc_phy->init = true; in stm32_usbphyc_phy_init()
186 struct stm32_usbphyc_phy *usbphyc_phy = usbphyc->phys + phy->id; in stm32_usbphyc_phy_exit() local
189 usbphyc_phy->init = false; in stm32_usbphyc_phy_exit()
212 struct stm32_usbphyc_phy *usbphyc_phy = usbphyc->phys + phy->id; in stm32_usbphyc_phy_power_on() local
216 if (usbphyc_phy->vdda1v1) { in stm32_usbphyc_phy_power_on()
217 ret = regulator_set_enable(usbphyc_phy->vdda1v1, true); in stm32_usbphyc_phy_power_on()
222 if (usbphyc_phy->vdda1v8) { in stm32_usbphyc_phy_power_on()
223 ret = regulator_set_enable(usbphyc_phy->vdda1v8, true); in stm32_usbphyc_phy_power_on()
227 if (usbphyc_phy->vdd) { in stm32_usbphyc_phy_power_on()
[all …]
/openbmc/linux/drivers/phy/st/
H A Dphy-stm32-usbphyc.c337 struct stm32_usbphyc_phy *usbphyc_phy = phy_get_drvdata(phy); in stm32_usbphyc_phy_init() local
338 struct stm32_usbphyc *usbphyc = usbphyc_phy->usbphyc; in stm32_usbphyc_phy_init()
339 u32 reg_mon = STM32_USBPHYC_MONITOR(usbphyc_phy->index); in stm32_usbphyc_phy_init()
360 usbphyc_phy->active = true; in stm32_usbphyc_phy_init()
372 struct stm32_usbphyc_phy *usbphyc_phy = phy_get_drvdata(phy); in stm32_usbphyc_phy_exit() local
373 struct stm32_usbphyc *usbphyc = usbphyc_phy->usbphyc; in stm32_usbphyc_phy_exit()
375 usbphyc_phy->active = false; in stm32_usbphyc_phy_exit()
382 struct stm32_usbphyc_phy *usbphyc_phy = phy_get_drvdata(phy); in stm32_usbphyc_phy_power_on() local
384 if (usbphyc_phy->vbus) in stm32_usbphyc_phy_power_on()
385 return regulator_enable(usbphyc_phy->vbus); in stm32_usbphyc_phy_power_on()
[all …]