#include <zephyr/drivers/regulator.h>
#include <zephyr/fff.h>
 
Go to the source code of this file.
 | 
|   | 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_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() [1/12]
      
        
          | DECLARE_FAKE_VALUE_FUNC  | 
          ( | 
          int  | 
          ,  | 
        
        
           | 
           | 
          regulator_fake_disable  | 
          ,  | 
        
        
           | 
           | 
          const struct device *  | 
            | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ DECLARE_FAKE_VALUE_FUNC() [2/12]
      
        
          | DECLARE_FAKE_VALUE_FUNC  | 
          ( | 
          int  | 
          ,  | 
        
        
           | 
           | 
          regulator_fake_enable  | 
          ,  | 
        
        
           | 
           | 
          const struct device *  | 
            | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ DECLARE_FAKE_VALUE_FUNC() [3/12]
      
        
          | DECLARE_FAKE_VALUE_FUNC  | 
          ( | 
          int  | 
          ,  | 
        
        
           | 
           | 
          regulator_fake_get_current_limit  | 
          ,  | 
        
        
           | 
           | 
          const struct device *  | 
          ,  | 
        
        
           | 
           | 
          int32_t *  | 
            | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ DECLARE_FAKE_VALUE_FUNC() [4/12]
◆ DECLARE_FAKE_VALUE_FUNC() [5/12]
◆ DECLARE_FAKE_VALUE_FUNC() [6/12]
      
        
          | DECLARE_FAKE_VALUE_FUNC  | 
          ( | 
          int  | 
          ,  | 
        
        
           | 
           | 
          regulator_fake_get_voltage  | 
          ,  | 
        
        
           | 
           | 
          const struct device *  | 
          ,  | 
        
        
           | 
           | 
          int32_t *  | 
            | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ DECLARE_FAKE_VALUE_FUNC() [7/12]
      
        
          | DECLARE_FAKE_VALUE_FUNC  | 
          ( | 
          int  | 
          ,  | 
        
        
           | 
           | 
          regulator_fake_list_voltage  | 
          ,  | 
        
        
           | 
           | 
          const struct device *  | 
          ,  | 
        
        
           | 
           | 
          unsigned int  | 
          ,  | 
        
        
           | 
           | 
          int32_t *  | 
            | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ DECLARE_FAKE_VALUE_FUNC() [8/12]
      
        
          | DECLARE_FAKE_VALUE_FUNC  | 
          ( | 
          int  | 
          ,  | 
        
        
           | 
           | 
          regulator_fake_set_current_limit  | 
          ,  | 
        
        
           | 
           | 
          const struct device *  | 
          ,  | 
        
        
           | 
           | 
          int32_t  | 
          ,  | 
        
        
           | 
           | 
          int32_t  | 
            | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ DECLARE_FAKE_VALUE_FUNC() [9/12]
◆ DECLARE_FAKE_VALUE_FUNC() [10/12]
      
        
          | DECLARE_FAKE_VALUE_FUNC  | 
          ( | 
          int  | 
          ,  | 
        
        
           | 
           | 
          regulator_fake_set_voltage  | 
          ,  | 
        
        
           | 
           | 
          const struct device *  | 
          ,  | 
        
        
           | 
           | 
          int32_t  | 
          ,  | 
        
        
           | 
           | 
          int32_t  | 
            | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ DECLARE_FAKE_VALUE_FUNC() [11/12]
◆ DECLARE_FAKE_VALUE_FUNC() [12/12]
      
        
          | DECLARE_FAKE_VALUE_FUNC  | 
          ( | 
          unsigned int  | 
          ,  | 
        
        
           | 
           | 
          regulator_fake_count_voltages  | 
          ,  | 
        
        
           | 
           | 
          const struct device *  | 
            | 
        
        
           | 
          ) | 
           |  |