Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/phy/allwinner/
H A Dphy-sun4i-usb.c137 bool regulator_on; member
417 data->vbus_power_supply && data->phys[0].regulator_on) in sun4i_usb_phy0_poll()
429 if (!phy->vbus || phy->regulator_on) in sun4i_usb_phy_power_on()
443 phy->regulator_on = true; in sun4i_usb_phy_power_on()
457 if (!phy->vbus || !phy->regulator_on) in sun4i_usb_phy_power_off()
461 phy->regulator_on = false; in sun4i_usb_phy_power_off()
/kernel/linux/linux-6.6/drivers/phy/allwinner/
H A Dphy-sun4i-usb.c126 bool regulator_on; member
456 data->phys[0].regulator_on) in sun4i_usb_phy0_poll()
468 if (!phy->vbus || phy->regulator_on) in sun4i_usb_phy_power_on()
482 phy->regulator_on = true; in sun4i_usb_phy_power_on()
496 if (!phy->vbus || !phy->regulator_on) in sun4i_usb_phy_power_off()
500 phy->regulator_on = false; in sun4i_usb_phy_power_off()

Completed in 4 milliseconds