Lines Matching refs:dev
198 int (*get_value)(struct udevice *dev);
199 int (*set_value)(struct udevice *dev, int uV);
211 int (*set_suspend_value)(struct udevice *dev, int uV);
212 int (*get_suspend_value)(struct udevice *dev);
223 int (*get_current)(struct udevice *dev);
224 int (*set_current)(struct udevice *dev, int uA);
235 int (*get_enable)(struct udevice *dev);
236 int (*set_enable)(struct udevice *dev, bool enable);
248 int (*set_suspend_enable)(struct udevice *dev, bool enable);
249 int (*get_suspend_enable)(struct udevice *dev);
265 int (*get_mode)(struct udevice *dev);
266 int (*set_mode)(struct udevice *dev, int mode_id);
277 int regulator_mode(struct udevice *dev, struct dm_regulator_mode **modep);
285 int regulator_get_value(struct udevice *dev);
294 int regulator_set_value(struct udevice *dev, int uV);
303 int regulator_set_suspend_value(struct udevice *dev, int uV);
311 int regulator_get_suspend_value(struct udevice *dev);
321 int regulator_set_value_force(struct udevice *dev, int uV);
329 int regulator_get_current(struct udevice *dev);
338 int regulator_set_current(struct udevice *dev, int uA);
346 int regulator_get_enable(struct udevice *dev);
355 int regulator_set_enable(struct udevice *dev, bool enable);
366 int regulator_set_enable_if_allowed(struct udevice *dev, bool enable);
375 int regulator_set_suspend_enable(struct udevice *dev, bool enable);
383 int regulator_get_suspend_enable(struct udevice *dev);
396 int regulator_get_mode(struct udevice *dev);
410 int regulator_set_mode(struct udevice *dev, int mode_id);
440 int regulator_autoset(struct udevice *dev);
528 int device_get_supply_regulator(struct udevice *dev, const char *supply_name,
531 static inline int regulator_mode(struct udevice *dev, struct dm_regulator_mode **modep) in regulator_mode() argument
536 static inline int regulator_get_value(struct udevice *dev) in regulator_get_value() argument
541 static inline int regulator_set_value(struct udevice *dev, int uV) in regulator_set_value() argument
546 static inline int regulator_set_suspend_value(struct udevice *dev, int uV) in regulator_set_suspend_value() argument
551 static inline int regulator_get_suspend_value(struct udevice *dev) in regulator_get_suspend_value() argument
556 static inline int regulator_set_value_force(struct udevice *dev, int uV) in regulator_set_value_force() argument
561 static inline int regulator_get_current(struct udevice *dev) in regulator_get_current() argument
566 static inline int regulator_set_current(struct udevice *dev, int uA) in regulator_set_current() argument
571 static inline int regulator_get_enable(struct udevice *dev) in regulator_get_enable() argument
576 static inline int regulator_set_enable(struct udevice *dev, bool enable) in regulator_set_enable() argument
581 static inline int regulator_set_enable_if_allowed(struct udevice *dev, bool enable) in regulator_set_enable_if_allowed() argument
586 static inline int regulator_set_suspend_enable(struct udevice *dev, bool enable) in regulator_set_suspend_enable() argument
591 static inline int regulator_get_suspend_enable(struct udevice *dev) in regulator_get_suspend_enable() argument
596 static inline int regulator_get_mode(struct udevice *dev) in regulator_get_mode() argument
601 static inline int regulator_set_mode(struct udevice *dev, int mode_id) in regulator_set_mode() argument
611 static inline int regulator_autoset(struct udevice *dev) in regulator_autoset() argument
637 static inline int device_get_supply_regulator(struct udevice *dev, const char *supply_name, in device_get_supply_regulator() argument