Lines Matching refs:device
62 typedef int (*regulator_dvs_state_set_t)(const struct device *dev,
65 typedef int (*regulator_ship_mode_t)(const struct device *dev);
73 typedef int (*regulator_enable_t)(const struct device *dev);
74 typedef int (*regulator_disable_t)(const struct device *dev);
75 typedef unsigned int (*regulator_count_voltages_t)(const struct device *dev);
76 typedef int (*regulator_list_voltage_t)(const struct device *dev,
78 typedef int (*regulator_set_voltage_t)(const struct device *dev, int32_t min_uv,
80 typedef int (*regulator_get_voltage_t)(const struct device *dev,
82 typedef unsigned int (*regulator_count_current_limits_t)(const struct device *dev);
83 typedef int (*regulator_list_current_limit_t)(const struct device *dev,
85 typedef int (*regulator_set_current_limit_t)(const struct device *dev,
87 typedef int (*regulator_get_current_limit_t)(const struct device *dev,
89 typedef int (*regulator_set_mode_t)(const struct device *dev,
91 typedef int (*regulator_get_mode_t)(const struct device *dev,
93 typedef int (*regulator_set_active_discharge_t)(const struct device *dev,
95 typedef int (*regulator_get_active_discharge_t)(const struct device *dev,
98 const struct device *dev, regulator_error_flags_t *flags);
253 void regulator_common_data_init(const struct device *dev);
277 int regulator_common_init(const struct device *dev, bool is_enabled);
286 static inline bool regulator_common_is_init_enabled(const struct device *dev) in regulator_common_is_init_enabled()
303 static inline int regulator_common_get_min_voltage(const struct device *dev, int32_t *min_uv) in regulator_common_get_min_voltage()
325 static inline int regulator_common_get_max_voltage(const struct device *dev, int32_t *max_uv) in regulator_common_get_max_voltage()
365 static inline int regulator_parent_dvs_state_set(const struct device *dev, in regulator_parent_dvs_state_set()
392 static inline int regulator_parent_ship_mode(const struct device *dev) in regulator_parent_ship_mode()
420 int regulator_enable(const struct device *dev);
430 bool regulator_is_enabled(const struct device *dev);
448 int regulator_disable(const struct device *dev);
461 static inline unsigned int regulator_count_voltages(const struct device *dev) in regulator_count_voltages()
488 static inline int regulator_list_voltage(const struct device *dev, in regulator_list_voltage()
511 bool regulator_is_supported_voltage(const struct device *dev, int32_t min_uv,
532 int regulator_set_voltage(const struct device *dev, int32_t min_uv,
545 static inline int regulator_get_voltage(const struct device *dev, in regulator_get_voltage()
569 static inline unsigned int regulator_count_current_limits(const struct device *dev) in regulator_count_current_limits()
596 static inline int regulator_list_current_limit(const struct device *dev, in regulator_list_current_limit()
626 int regulator_set_current_limit(const struct device *dev, int32_t min_ua,
639 static inline int regulator_get_current_limit(const struct device *dev, in regulator_get_current_limit()
668 int regulator_set_mode(const struct device *dev, regulator_mode_t mode);
680 static inline int regulator_get_mode(const struct device *dev, in regulator_get_mode()
703 static inline int regulator_set_active_discharge(const struct device *dev, in regulator_set_active_discharge()
726 static inline int regulator_get_active_discharge(const struct device *dev, in regulator_get_active_discharge()
749 static inline int regulator_get_error_flags(const struct device *dev, in regulator_get_error_flags()