Searched refs:usbphyc_phy (Results 1 – 2 of 2) sorted by relevance
147 struct stm32_usbphyc_phy *usbphyc_phy = usbphyc->phys + phy->id; in stm32_usbphyc_phy_init() local178 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() local189 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() local216 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 …]
337 struct stm32_usbphyc_phy *usbphyc_phy = phy_get_drvdata(phy); in stm32_usbphyc_phy_init() local338 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() local373 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() local384 if (usbphyc_phy->vbus) in stm32_usbphyc_phy_power_on()385 return regulator_enable(usbphyc_phy->vbus); in stm32_usbphyc_phy_power_on()[all …]