Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
fake.h File Reference

Go to the source code of this file.

Functions

 DECLARE_FAKE_VALUE_FUNC (int, regulator_fake_enable, const struct device *)
 
 DECLARE_FAKE_VALUE_FUNC (int, regulator_fake_disable, const struct device *)
 
 DECLARE_FAKE_VALUE_FUNC (unsigned int, regulator_fake_count_voltages, const struct device *)
 
 DECLARE_FAKE_VALUE_FUNC (int, regulator_fake_list_voltage, const struct device *, unsigned int, int32_t *)
 
 DECLARE_FAKE_VALUE_FUNC (int, regulator_fake_set_voltage, const struct device *, int32_t, int32_t)
 
 DECLARE_FAKE_VALUE_FUNC (int, regulator_fake_get_voltage, const struct device *, int32_t *)
 
 DECLARE_FAKE_VALUE_FUNC (int, regulator_fake_set_current_limit, const struct device *, int32_t, int32_t)
 
 DECLARE_FAKE_VALUE_FUNC (int, regulator_fake_get_current_limit, const struct device *, int32_t *)
 
 DECLARE_FAKE_VALUE_FUNC (int, regulator_fake_set_mode, const struct device *, regulator_mode_t)
 
 DECLARE_FAKE_VALUE_FUNC (int, regulator_fake_get_mode, const struct device *, regulator_mode_t *)
 
 DECLARE_FAKE_VALUE_FUNC (int, regulator_fake_set_active_discharge, const struct device *, bool)
 
 DECLARE_FAKE_VALUE_FUNC (int, regulator_fake_get_active_discharge, const struct device *, bool *)
 
 DECLARE_FAKE_VALUE_FUNC (int, regulator_fake_get_error_flags, const struct device *, regulator_error_flags_t *)
 
 DECLARE_FAKE_VALUE_FUNC (int, regulator_parent_fake_dvs_state_set, const struct device *, regulator_dvs_state_t)
 
 DECLARE_FAKE_VALUE_FUNC (int, regulator_parent_fake_ship_mode, const struct device *)
 

Function Documentation

◆ DECLARE_FAKE_VALUE_FUNC() [1/15]

DECLARE_FAKE_VALUE_FUNC ( int  ,
regulator_fake_disable  ,
const struct device  
)

◆ DECLARE_FAKE_VALUE_FUNC() [2/15]

DECLARE_FAKE_VALUE_FUNC ( int  ,
regulator_fake_enable  ,
const struct device  
)

◆ DECLARE_FAKE_VALUE_FUNC() [3/15]

DECLARE_FAKE_VALUE_FUNC ( int  ,
regulator_fake_get_active_discharge  ,
const struct device ,
bool  
)

◆ DECLARE_FAKE_VALUE_FUNC() [4/15]

DECLARE_FAKE_VALUE_FUNC ( int  ,
regulator_fake_get_current_limit  ,
const struct device ,
int32_t  
)

◆ DECLARE_FAKE_VALUE_FUNC() [5/15]

DECLARE_FAKE_VALUE_FUNC ( int  ,
regulator_fake_get_error_flags  ,
const struct device ,
regulator_error_flags_t  
)

◆ DECLARE_FAKE_VALUE_FUNC() [6/15]

DECLARE_FAKE_VALUE_FUNC ( int  ,
regulator_fake_get_mode  ,
const struct device ,
regulator_mode_t  
)

◆ DECLARE_FAKE_VALUE_FUNC() [7/15]

DECLARE_FAKE_VALUE_FUNC ( int  ,
regulator_fake_get_voltage  ,
const struct device ,
int32_t  
)

◆ DECLARE_FAKE_VALUE_FUNC() [8/15]

DECLARE_FAKE_VALUE_FUNC ( int  ,
regulator_fake_list_voltage  ,
const struct device ,
unsigned int  ,
int32_t  
)

◆ DECLARE_FAKE_VALUE_FUNC() [9/15]

DECLARE_FAKE_VALUE_FUNC ( int  ,
regulator_fake_set_active_discharge  ,
const struct device ,
bool   
)

◆ DECLARE_FAKE_VALUE_FUNC() [10/15]

DECLARE_FAKE_VALUE_FUNC ( int  ,
regulator_fake_set_current_limit  ,
const struct device ,
int32_t  ,
int32_t   
)

◆ DECLARE_FAKE_VALUE_FUNC() [11/15]

DECLARE_FAKE_VALUE_FUNC ( int  ,
regulator_fake_set_mode  ,
const struct device ,
regulator_mode_t   
)

◆ DECLARE_FAKE_VALUE_FUNC() [12/15]

DECLARE_FAKE_VALUE_FUNC ( int  ,
regulator_fake_set_voltage  ,
const struct device ,
int32_t  ,
int32_t   
)

◆ DECLARE_FAKE_VALUE_FUNC() [13/15]

DECLARE_FAKE_VALUE_FUNC ( int  ,
regulator_parent_fake_dvs_state_set  ,
const struct device ,
regulator_dvs_state_t   
)

◆ DECLARE_FAKE_VALUE_FUNC() [14/15]

DECLARE_FAKE_VALUE_FUNC ( int  ,
regulator_parent_fake_ship_mode  ,
const struct device  
)

◆ DECLARE_FAKE_VALUE_FUNC() [15/15]

DECLARE_FAKE_VALUE_FUNC ( unsigned int  ,
regulator_fake_count_voltages  ,
const struct device  
)