Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Fake regulator driver API functions. More...

Go to the source code of this file.

Functions

 DECLARE_FAKE_VALUE_FUNC (int, regulator_fake_enable, const struct device *)
 @fake_of{regulator_driver_api::enable}
 DECLARE_FAKE_VALUE_FUNC (int, regulator_fake_disable, const struct device *)
 @fake_of{regulator_driver_api::disable}
 DECLARE_FAKE_VALUE_FUNC (unsigned int, regulator_fake_count_voltages, const struct device *)
 @fake_of{regulator_driver_api::count_voltages}
 DECLARE_FAKE_VALUE_FUNC (int, regulator_fake_list_voltage, const struct device *, unsigned int, int32_t *)
 @fake_of{regulator_driver_api::list_voltage}
 DECLARE_FAKE_VALUE_FUNC (int, regulator_fake_set_voltage, const struct device *, int32_t, int32_t)
 @fake_of{regulator_driver_api::set_voltage}
 DECLARE_FAKE_VALUE_FUNC (int, regulator_fake_get_voltage, const struct device *, int32_t *)
 @fake_of{regulator_driver_api::get_voltage}
 DECLARE_FAKE_VALUE_FUNC (unsigned int, regulator_fake_count_current_limits, const struct device *)
 @fake_of{regulator_driver_api::count_current_limits}
 DECLARE_FAKE_VALUE_FUNC (int, regulator_fake_list_current_limit, const struct device *, unsigned int, int32_t *)
 @fake_of{regulator_driver_api::list_current_limit}
 DECLARE_FAKE_VALUE_FUNC (int, regulator_fake_set_current_limit, const struct device *, int32_t, int32_t)
 @fake_of{regulator_driver_api::set_current_limit}
 DECLARE_FAKE_VALUE_FUNC (int, regulator_fake_get_current_limit, const struct device *, int32_t *)
 @fake_of{regulator_driver_api::get_current_limit}
 DECLARE_FAKE_VALUE_FUNC (int, regulator_fake_set_mode, const struct device *, regulator_mode_t)
 @fake_of{regulator_driver_api::set_mode}
 DECLARE_FAKE_VALUE_FUNC (int, regulator_fake_get_mode, const struct device *, regulator_mode_t *)
 @fake_of{regulator_driver_api::get_mode}
 DECLARE_FAKE_VALUE_FUNC (int, regulator_fake_set_active_discharge, const struct device *, bool)
 @fake_of{regulator_driver_api::set_active_discharge}
 DECLARE_FAKE_VALUE_FUNC (int, regulator_fake_get_active_discharge, const struct device *, bool *)
 @fake_of{regulator_driver_api::get_active_discharge}
 DECLARE_FAKE_VALUE_FUNC (int, regulator_fake_get_error_flags, const struct device *, regulator_error_flags_t *)
 @fake_of{regulator_driver_api::get_error_flags}
 DECLARE_FAKE_VALUE_FUNC (int, regulator_parent_fake_dvs_state_set, const struct device *, regulator_dvs_state_t)
 @fake_of{regulator_parent_driver_api::dvs_state_set}
 DECLARE_FAKE_VALUE_FUNC (int, regulator_parent_fake_ship_mode, const struct device *)
 @fake_of{regulator_parent_driver_api::ship_mode}

Detailed Description

Fake regulator driver API functions.