Lines Matching refs:regulator_dev
23 struct regulator_dev;
162 int (*list_voltage) (struct regulator_dev *, unsigned selector);
165 int (*set_voltage) (struct regulator_dev *, int min_uV, int max_uV,
167 int (*map_voltage)(struct regulator_dev *, int min_uV, int max_uV);
168 int (*set_voltage_sel) (struct regulator_dev *, unsigned selector);
169 int (*get_voltage) (struct regulator_dev *);
170 int (*get_voltage_sel) (struct regulator_dev *);
173 int (*set_current_limit) (struct regulator_dev *,
175 int (*get_current_limit) (struct regulator_dev *);
177 int (*set_input_current_limit) (struct regulator_dev *, int lim_uA);
178 int (*set_over_current_protection)(struct regulator_dev *, int lim_uA,
180 int (*set_over_voltage_protection)(struct regulator_dev *, int lim_uV,
182 int (*set_under_voltage_protection)(struct regulator_dev *, int lim_uV,
184 int (*set_thermal_protection)(struct regulator_dev *, int lim,
186 int (*set_active_discharge)(struct regulator_dev *, bool enable);
189 int (*enable) (struct regulator_dev *);
190 int (*disable) (struct regulator_dev *);
191 int (*is_enabled) (struct regulator_dev *);
194 int (*set_mode) (struct regulator_dev *, unsigned int mode);
195 unsigned int (*get_mode) (struct regulator_dev *);
198 int (*get_error_flags)(struct regulator_dev *, unsigned int *flags);
201 int (*enable_time) (struct regulator_dev *);
202 int (*set_ramp_delay) (struct regulator_dev *, int ramp_delay);
203 int (*set_voltage_time) (struct regulator_dev *, int old_uV,
205 int (*set_voltage_time_sel) (struct regulator_dev *,
209 int (*set_soft_start) (struct regulator_dev *);
216 int (*get_status)(struct regulator_dev *);
219 unsigned int (*get_optimum_mode) (struct regulator_dev *, int input_uV,
222 int (*set_load)(struct regulator_dev *, int load_uA);
225 int (*set_bypass)(struct regulator_dev *dev, bool enable);
226 int (*get_bypass)(struct regulator_dev *dev, bool *enable);
232 int (*set_suspend_voltage) (struct regulator_dev *, int uV);
235 int (*set_suspend_enable) (struct regulator_dev *);
236 int (*set_suspend_disable) (struct regulator_dev *);
239 int (*set_suspend_mode) (struct regulator_dev *, unsigned int mode);
241 int (*resume)(struct regulator_dev *rdev);
243 int (*set_pull_down) (struct regulator_dev *);
471 struct regulator_dev *rdev;
595 struct regulator_dev **coupled_rdevs;
611 struct regulator_dev { struct
689 struct regulator_dev *
693 struct regulator_dev *
697 void regulator_unregister(struct regulator_dev *rdev);
699 int regulator_notifier_call_chain(struct regulator_dev *rdev,
704 int *per_rdev_errs, struct regulator_dev **rdev,
709 struct regulator_dev **rdev, int rdev_amount);
714 void *rdev_get_drvdata(struct regulator_dev *rdev);
715 struct device *rdev_get_dev(struct regulator_dev *rdev);
716 struct regmap *rdev_get_regmap(struct regulator_dev *rdev);
717 int rdev_get_id(struct regulator_dev *rdev);
721 int regulator_list_voltage_linear(struct regulator_dev *rdev,
723 int regulator_list_voltage_pickable_linear_range(struct regulator_dev *rdev,
725 int regulator_list_voltage_linear_range(struct regulator_dev *rdev,
727 int regulator_list_voltage_table(struct regulator_dev *rdev,
729 int regulator_map_voltage_linear(struct regulator_dev *rdev,
731 int regulator_map_voltage_pickable_linear_range(struct regulator_dev *rdev,
733 int regulator_map_voltage_linear_range(struct regulator_dev *rdev,
735 int regulator_map_voltage_iterate(struct regulator_dev *rdev,
737 int regulator_map_voltage_ascend(struct regulator_dev *rdev,
739 int regulator_get_voltage_sel_pickable_regmap(struct regulator_dev *rdev);
740 int regulator_set_voltage_sel_pickable_regmap(struct regulator_dev *rdev,
742 int regulator_get_voltage_sel_regmap(struct regulator_dev *rdev);
743 int regulator_set_voltage_sel_regmap(struct regulator_dev *rdev, unsigned sel);
744 int regulator_is_enabled_regmap(struct regulator_dev *rdev);
745 int regulator_enable_regmap(struct regulator_dev *rdev);
746 int regulator_disable_regmap(struct regulator_dev *rdev);
747 int regulator_set_voltage_time_sel(struct regulator_dev *rdev,
750 int regulator_set_bypass_regmap(struct regulator_dev *rdev, bool enable);
751 int regulator_get_bypass_regmap(struct regulator_dev *rdev, bool *enable);
752 int regulator_set_soft_start_regmap(struct regulator_dev *rdev);
753 int regulator_set_pull_down_regmap(struct regulator_dev *rdev);
755 int regulator_set_active_discharge_regmap(struct regulator_dev *rdev,
757 int regulator_set_current_limit_regmap(struct regulator_dev *rdev,
759 int regulator_get_current_limit_regmap(struct regulator_dev *rdev);
761 int regulator_set_ramp_delay_regmap(struct regulator_dev *rdev, int ramp_delay);
762 int regulator_sync_voltage_rdev(struct regulator_dev *rdev);
775 const char *rdev_get_name(struct regulator_dev *rdev);
777 static inline const char *rdev_get_name(struct regulator_dev *rdev) in rdev_get_name()