Lines Matching defs:regulator_ops
148 struct regulator_ops { struct
151 int (*list_voltage) (struct regulator_dev *, unsigned selector);
154 int (*set_voltage) (struct regulator_dev *, int min_uV, int max_uV,
156 int (*map_voltage)(struct regulator_dev *, int min_uV, int max_uV);
157 int (*set_voltage_sel) (struct regulator_dev *, unsigned selector);
158 int (*get_voltage) (struct regulator_dev *);
159 int (*get_voltage_sel) (struct regulator_dev *);
162 int (*set_current_limit) (struct regulator_dev *,
164 int (*get_current_limit) (struct regulator_dev *);
166 int (*set_input_current_limit) (struct regulator_dev *, int lim_uA);
167 int (*set_over_current_protection) (struct regulator_dev *);
168 int (*set_active_discharge) (struct regulator_dev *, bool enable);
171 int (*enable) (struct regulator_dev *);
172 int (*disable) (struct regulator_dev *);
173 int (*is_enabled) (struct regulator_dev *);
176 int (*set_mode) (struct regulator_dev *, unsigned int mode);
177 unsigned int (*get_mode) (struct regulator_dev *);
180 int (*get_error_flags)(struct regulator_dev *, unsigned int *flags);
183 int (*enable_time) (struct regulator_dev *);
184 int (*set_ramp_delay) (struct regulator_dev *, int ramp_delay);
185 int (*set_voltage_time) (struct regulator_dev *, int old_uV,
187 int (*set_voltage_time_sel) (struct regulator_dev *,
191 int (*set_soft_start) (struct regulator_dev *);
198 int (*get_status)(struct regulator_dev *);
201 unsigned int (*get_optimum_mode) (struct regulator_dev *, int input_uV,
204 int (*set_load)(struct regulator_dev *, int load_uA);
207 int (*set_bypass)(struct regulator_dev *dev, bool enable);
208 int (*get_bypass)(struct regulator_dev *dev, bool *enable);
214 int (*set_suspend_voltage) (struct regulator_dev *, int uV);
217 int (*set_suspend_enable) (struct regulator_dev *);
218 int (*set_suspend_disable) (struct regulator_dev *);
221 int (*set_suspend_mode) (struct regulator_dev *, unsigned int mode);
223 int (*resume)(struct regulator_dev *rdev);
225 int (*set_pull_down) (struct regulator_dev *);