Lines Matching defs:regulator_ops
128 struct regulator_ops { struct
131 int (*list_voltage) (struct regulator_dev *, unsigned selector);
134 int (*set_voltage) (struct regulator_dev *, int min_uV, int max_uV,
136 int (*map_voltage)(struct regulator_dev *, int min_uV, int max_uV);
137 int (*set_voltage_sel) (struct regulator_dev *, unsigned selector);
138 int (*get_voltage) (struct regulator_dev *);
139 int (*get_voltage_sel) (struct regulator_dev *);
142 int (*set_current_limit) (struct regulator_dev *,
144 int (*get_current_limit) (struct regulator_dev *);
146 int (*set_input_current_limit) (struct regulator_dev *, int lim_uA);
147 int (*set_over_current_protection) (struct regulator_dev *);
148 int (*set_active_discharge) (struct regulator_dev *, bool enable);
151 int (*enable) (struct regulator_dev *);
152 int (*disable) (struct regulator_dev *);
153 int (*is_enabled) (struct regulator_dev *);
156 int (*set_mode) (struct regulator_dev *, unsigned int mode);
157 unsigned int (*get_mode) (struct regulator_dev *);
160 int (*get_error_flags)(struct regulator_dev *, unsigned int *flags);
163 int (*enable_time) (struct regulator_dev *);
164 int (*set_ramp_delay) (struct regulator_dev *, int ramp_delay);
165 int (*set_voltage_time) (struct regulator_dev *, int old_uV,
167 int (*set_voltage_time_sel) (struct regulator_dev *,
171 int (*set_soft_start) (struct regulator_dev *);
178 int (*get_status)(struct regulator_dev *);
181 unsigned int (*get_optimum_mode) (struct regulator_dev *, int input_uV,
184 int (*set_load)(struct regulator_dev *, int load_uA);
187 int (*set_bypass)(struct regulator_dev *dev, bool enable);
188 int (*get_bypass)(struct regulator_dev *dev, bool *enable);
194 int (*set_suspend_voltage) (struct regulator_dev *, int uV);
197 int (*set_suspend_enable) (struct regulator_dev *);
198 int (*set_suspend_disable) (struct regulator_dev *);
201 int (*set_suspend_mode) (struct regulator_dev *, unsigned int mode);
203 int (*resume)(struct regulator_dev *rdev);
205 int (*set_pull_down) (struct regulator_dev *);