12#ifndef ZEPHYR_INCLUDE_DRIVERS_REGULATOR_FAKE_H_
13#define ZEPHYR_INCLUDE_DRIVERS_REGULATOR_FAKE_H_
16#include <zephyr/fff.h>
int regulator_fake_list_voltage(const struct device *, unsigned int, int32_t *)
Fake implementation of the regulator_driver_api::list_voltage driver operation.
int regulator_parent_fake_dvs_state_set(const struct device *, regulator_dvs_state_t)
Fake implementation of the regulator_parent_driver_api::dvs_state_set driver operation.
int regulator_fake_get_error_flags(const struct device *, regulator_error_flags_t *)
Fake implementation of the regulator_driver_api::get_error_flags driver operation.
int regulator_fake_get_mode(const struct device *, regulator_mode_t *)
Fake implementation of the regulator_driver_api::get_mode driver operation.
int regulator_fake_list_current_limit(const struct device *, unsigned int, int32_t *)
Fake implementation of the regulator_driver_api::list_current_limit driver operation.
int regulator_fake_set_active_discharge(const struct device *, bool)
Fake implementation of the regulator_driver_api::set_active_discharge driver operation.
int regulator_parent_fake_ship_mode(const struct device *)
Fake implementation of the regulator_parent_driver_api::ship_mode driver operation.
int regulator_fake_set_voltage(const struct device *, int32_t, int32_t)
Fake implementation of the regulator_driver_api::set_voltage driver operation.
unsigned int regulator_fake_count_voltages(const struct device *)
Fake implementation of the regulator_driver_api::count_voltages driver operation.
int regulator_fake_get_voltage(const struct device *, int32_t *)
Fake implementation of the regulator_driver_api::get_voltage driver operation.
int regulator_fake_get_current_limit(const struct device *, int32_t *)
Fake implementation of the regulator_driver_api::get_current_limit driver operation.
unsigned int regulator_fake_count_current_limits(const struct device *)
Fake implementation of the regulator_driver_api::count_current_limits driver operation.
int regulator_fake_get_active_discharge(const struct device *, bool *)
Fake implementation of the regulator_driver_api::get_active_discharge driver operation.
int regulator_fake_set_mode(const struct device *, regulator_mode_t)
Fake implementation of the regulator_driver_api::set_mode driver operation.
int regulator_fake_enable(const struct device *)
Fake implementation of the regulator_driver_api::enable driver operation.
int regulator_fake_disable(const struct device *)
Fake implementation of the regulator_driver_api::disable driver operation.
int regulator_fake_set_current_limit(const struct device *, int32_t, int32_t)
Fake implementation of the regulator_driver_api::set_current_limit driver operation.
uint8_t regulator_mode_t
Opaque type to store regulator modes.
Definition regulator.h:52
uint8_t regulator_error_flags_t
Opaque bit map for regulator error flags (see REGULATOR_ERRORS).
Definition regulator.h:55
uint8_t regulator_dvs_state_t
Opaque type to store regulator DVS states.
Definition regulator.h:49
Main header file for regulator driver API.
__INT32_TYPE__ int32_t
Definition stdint.h:74
Runtime device structure (in ROM) per driver instance.
Definition device.h:543