Searched refs:dev_pdata (Results 1 – 5 of 5) sorted by relevance
16 struct regulator_common_plat *dev_pdata, in regulator_common_of_to_plat() argument29 gpio = &dev_pdata->gpio; in regulator_common_of_to_plat()41 dev_pdata->off_on_delay_us = in regulator_common_of_to_plat()43 if (!dev_pdata->off_on_delay_us) { in regulator_common_of_to_plat()44 dev_pdata->off_on_delay_us = in regulator_common_of_to_plat()52 struct regulator_common_plat *dev_pdata) in regulator_common_get_enable() argument55 if (!dev_pdata->gpio.dev) in regulator_common_get_enable()68 dm_gpio_is_valid(&dev_pdata->gpio)); in regulator_common_set_enable()70 if (!dm_gpio_is_valid(&dev_pdata->gpio)) { in regulator_common_set_enable()84 udelay(dev_pdata->startup_delay_us); in regulator_common_set_enable()[all …]
31 struct gpio_regulator_plat *dev_pdata; in gpio_regulator_of_to_plat() local36 dev_pdata = dev_get_plat(dev); in gpio_regulator_of_to_plat()51 gpio = &dev_pdata->gpio; in gpio_regulator_of_to_plat()86 if (!dev_pdata->gpio.dev) in gpio_regulator_get_value()96 if (enable == dev_pdata->states[0]) in gpio_regulator_get_value()97 return dev_pdata->voltages[0]; in gpio_regulator_get_value()99 return dev_pdata->voltages[1]; in gpio_regulator_get_value()108 if (!dev_pdata->gpio.dev) in gpio_regulator_set_value()111 if (uV == dev_pdata->voltages[0]) in gpio_regulator_set_value()112 enable = dev_pdata->states[0]; in gpio_regulator_set_value()[all …]
19 struct regulator_common_plat *dev_pdata, const22 struct regulator_common_plat *dev_pdata);24 struct regulator_common_plat *dev_pdata, bool enable);
20 struct regulator_common_plat *dev_pdata; in fixed_regulator_of_to_plat() local22 dev_pdata = dev_get_plat(dev); in fixed_regulator_of_to_plat()29 return regulator_common_of_to_plat(dev, dev_pdata, "gpio"); in fixed_regulator_of_to_plat()
105 struct fan53555_plat *dev_pdata = dev_get_plat(dev); in fan53555_regulator_of_to_plat() local122 dev_pdata->sleep_reg = FAN53555_VSEL0; in fan53555_regulator_of_to_plat()123 dev_pdata->vol_reg = FAN53555_VSEL1; in fan53555_regulator_of_to_plat()126 dev_pdata->sleep_reg = FAN53555_VSEL1; in fan53555_regulator_of_to_plat()127 dev_pdata->vol_reg = FAN53555_VSEL0; in fan53555_regulator_of_to_plat()
Completed in 8 milliseconds