Lines Matching defs:regulator_ops

144 struct regulator_ops {  struct
147 int (*list_voltage) (struct regulator_dev *, unsigned selector);
150 int (*set_voltage) (struct regulator_dev *, int min_uV, int max_uV,
152 int (*map_voltage)(struct regulator_dev *, int min_uV, int max_uV);
153 int (*set_voltage_sel) (struct regulator_dev *, unsigned selector);
154 int (*get_voltage) (struct regulator_dev *);
155 int (*get_voltage_sel) (struct regulator_dev *);
158 int (*set_current_limit) (struct regulator_dev *,
160 int (*get_current_limit) (struct regulator_dev *);
162 int (*set_input_current_limit) (struct regulator_dev *, int lim_uA);
163 int (*set_over_current_protection) (struct regulator_dev *);
164 int (*set_active_discharge) (struct regulator_dev *, bool enable);
167 int (*enable) (struct regulator_dev *);
168 int (*disable) (struct regulator_dev *);
169 int (*is_enabled) (struct regulator_dev *);
172 int (*set_mode) (struct regulator_dev *, unsigned int mode);
173 unsigned int (*get_mode) (struct regulator_dev *);
176 int (*get_error_flags)(struct regulator_dev *, unsigned int *flags);
179 int (*enable_time) (struct regulator_dev *);
180 int (*set_ramp_delay) (struct regulator_dev *, int ramp_delay);
181 int (*set_voltage_time) (struct regulator_dev *, int old_uV,
183 int (*set_voltage_time_sel) (struct regulator_dev *,
187 int (*set_soft_start) (struct regulator_dev *);
194 int (*get_status)(struct regulator_dev *);
197 unsigned int (*get_optimum_mode) (struct regulator_dev *, int input_uV,
200 int (*set_load)(struct regulator_dev *, int load_uA);
203 int (*set_bypass)(struct regulator_dev *dev, bool enable);
204 int (*get_bypass)(struct regulator_dev *dev, bool *enable);
210 int (*set_suspend_voltage) (struct regulator_dev *, int uV);
213 int (*set_suspend_enable) (struct regulator_dev *);
214 int (*set_suspend_disable) (struct regulator_dev *);
217 int (*set_suspend_mode) (struct regulator_dev *, unsigned int mode);
219 int (*resume)(struct regulator_dev *rdev);
221 int (*set_pull_down) (struct regulator_dev *);