Lines Matching defs:regulator_ops
127 struct regulator_ops { struct
130 int (*list_voltage) (struct regulator_dev *, unsigned selector);
133 int (*set_voltage) (struct regulator_dev *, int min_uV, int max_uV,
135 int (*map_voltage)(struct regulator_dev *, int min_uV, int max_uV);
136 int (*set_voltage_sel) (struct regulator_dev *, unsigned selector);
137 int (*get_voltage) (struct regulator_dev *);
138 int (*get_voltage_sel) (struct regulator_dev *);
141 int (*set_current_limit) (struct regulator_dev *,
143 int (*get_current_limit) (struct regulator_dev *);
145 int (*set_input_current_limit) (struct regulator_dev *, int lim_uA);
146 int (*set_over_current_protection) (struct regulator_dev *);
147 int (*set_active_discharge) (struct regulator_dev *, bool enable);
150 int (*enable) (struct regulator_dev *);
151 int (*disable) (struct regulator_dev *);
152 int (*is_enabled) (struct regulator_dev *);
155 int (*set_mode) (struct regulator_dev *, unsigned int mode);
156 unsigned int (*get_mode) (struct regulator_dev *);
159 int (*get_error_flags)(struct regulator_dev *, unsigned int *flags);
162 int (*enable_time) (struct regulator_dev *);
163 int (*set_ramp_delay) (struct regulator_dev *, int ramp_delay);
164 int (*set_voltage_time) (struct regulator_dev *, int old_uV,
166 int (*set_voltage_time_sel) (struct regulator_dev *,
170 int (*set_soft_start) (struct regulator_dev *);
177 int (*get_status)(struct regulator_dev *);
180 unsigned int (*get_optimum_mode) (struct regulator_dev *, int input_uV,
183 int (*set_load)(struct regulator_dev *, int load_uA);
186 int (*set_bypass)(struct regulator_dev *dev, bool enable);
187 int (*get_bypass)(struct regulator_dev *dev, bool *enable);
193 int (*set_suspend_voltage) (struct regulator_dev *, int uV);
196 int (*set_suspend_enable) (struct regulator_dev *);
197 int (*set_suspend_disable) (struct regulator_dev *);
200 int (*set_suspend_mode) (struct regulator_dev *, unsigned int mode);
202 int (*resume)(struct regulator_dev *rdev);
204 int (*set_pull_down) (struct regulator_dev *);