Lines Matching refs:device
25 DEFINE_FAKE_VALUE_FUNC(int, regulator_fake_enable, const struct device *);
26 DEFINE_FAKE_VALUE_FUNC(int, regulator_fake_disable, const struct device *);
28 const struct device *);
29 DEFINE_FAKE_VALUE_FUNC(int, regulator_fake_list_voltage, const struct device *,
31 DEFINE_FAKE_VALUE_FUNC(int, regulator_fake_set_voltage, const struct device *,
33 DEFINE_FAKE_VALUE_FUNC(int, regulator_fake_get_voltage, const struct device *,
36 const struct device *, int32_t, int32_t);
38 const struct device *, int32_t *);
39 DEFINE_FAKE_VALUE_FUNC(int, regulator_fake_set_mode, const struct device *,
41 DEFINE_FAKE_VALUE_FUNC(int, regulator_fake_get_mode, const struct device *,
43 DEFINE_FAKE_VALUE_FUNC(int, regulator_fake_set_active_discharge, const struct device *,
45 DEFINE_FAKE_VALUE_FUNC(int, regulator_fake_get_active_discharge, const struct device *,
48 const struct device *, regulator_error_flags_t *);
66 static int regulator_fake_init(const struct device *dev) in regulator_fake_init()
78 const struct device *, regulator_dvs_state_t);
81 const struct device *);