Home
last modified time | relevance | path

Searched refs:fuel_gauge_prop_t (Results 1 – 9 of 9) sorted by relevance

/Zephyr-Core-3.7.0/drivers/fuel_gauge/
Dfuel_gauge_syscall_handlers.c11 static inline int z_vrfy_fuel_gauge_get_prop(const struct device *dev, fuel_gauge_prop_t prop, in z_vrfy_fuel_gauge_get_prop()
29 static inline int z_vrfy_fuel_gauge_get_props(const struct device *dev, fuel_gauge_prop_t *props, in z_vrfy_fuel_gauge_get_props()
33 fuel_gauge_prop_t k_props[len]; in z_vrfy_fuel_gauge_get_props()
38 K_OOPS(k_usermode_from_copy(k_props, props, len * sizeof(fuel_gauge_prop_t))); in z_vrfy_fuel_gauge_get_props()
49 static inline int z_vrfy_fuel_gauge_set_prop(const struct device *dev, fuel_gauge_prop_t prop, in z_vrfy_fuel_gauge_set_prop()
61 static inline int z_vrfy_fuel_gauge_set_props(const struct device *dev, fuel_gauge_prop_t *props, in z_vrfy_fuel_gauge_set_props()
65 fuel_gauge_prop_t k_props[len]; in z_vrfy_fuel_gauge_set_props()
70 K_OOPS(k_usermode_from_copy(k_props, props, len * sizeof(fuel_gauge_prop_t))); in z_vrfy_fuel_gauge_set_props()
83 fuel_gauge_prop_t prop, void *dst, in z_vrfy_fuel_gauge_get_buffer_prop()
/Zephyr-Core-3.7.0/include/zephyr/drivers/
Dfuel_gauge.h116 typedef uint16_t fuel_gauge_prop_t; typedef
207 typedef int (*fuel_gauge_get_property_t)(const struct device *dev, fuel_gauge_prop_t prop,
216 typedef int (*fuel_gauge_set_property_t)(const struct device *dev, fuel_gauge_prop_t prop,
226 fuel_gauge_prop_t prop_type,
261 __syscall int fuel_gauge_get_prop(const struct device *dev, fuel_gauge_prop_t prop,
264 static inline int z_impl_fuel_gauge_get_prop(const struct device *dev, fuel_gauge_prop_t prop, in z_impl_fuel_gauge_get_prop()
291 __syscall int fuel_gauge_get_props(const struct device *dev, fuel_gauge_prop_t *props,
294 fuel_gauge_prop_t *props, in z_impl_fuel_gauge_get_props()
319 __syscall int fuel_gauge_set_prop(const struct device *dev, fuel_gauge_prop_t prop,
322 static inline int z_impl_fuel_gauge_set_prop(const struct device *dev, fuel_gauge_prop_t prop, in z_impl_fuel_gauge_set_prop()
[all …]
/Zephyr-Core-3.7.0/tests/drivers/fuel_gauge/max17048/src/
Dtest_max17048.c37 fuel_gauge_prop_t prop_types[] = { in ZTEST_USER_F()
56 fuel_gauge_prop_t prop_types[] = { in ZTEST_USER_F()
72 fuel_gauge_prop_t prop_types[] = { in ZTEST_USER_F()
/Zephyr-Core-3.7.0/tests/drivers/fuel_gauge/sbs_gauge/src/
Dtest_sbs_gauge.c37 fuel_gauge_prop_t prop_types[] = { in ZTEST_USER_F()
54 fuel_gauge_prop_t prop_types[] = { in ZTEST_USER_F()
67 fuel_gauge_prop_t prop_types[] = { in ZTEST_USER_F()
97 fuel_gauge_prop_t prop_types[] = { in ZTEST_USER_F()
142 fuel_gauge_prop_t prop_types[] = { in ZTEST_USER_F()
176 fuel_gauge_prop_t prop_types[] = { in ZTEST_USER_F()
/Zephyr-Core-3.7.0/samples/fuel_gauge/max17048/src/
Dmain.c42 fuel_gauge_prop_t props[] = { in main()
/Zephyr-Core-3.7.0/drivers/fuel_gauge/bq27z746/
Dbq27z746.c112 static int bq27z746_get_prop(const struct device *dev, fuel_gauge_prop_t prop, in bq27z746_get_prop()
200 fuel_gauge_prop_t property_type, void *dst, in bq27z746_get_buffer_prop()
237 static int bq27z746_set_prop(const struct device *dev, fuel_gauge_prop_t prop, in bq27z746_set_prop()
/Zephyr-Core-3.7.0/tests/drivers/fuel_gauge/bq27z746/src/
Dtest_bq27z746.c36 fuel_gauge_prop_t props[] = { in ZTEST_USER_F()
103 fuel_gauge_prop_t props[] = { in ZTEST_USER_F()
/Zephyr-Core-3.7.0/drivers/fuel_gauge/max17048/
Dmax17048.c177 static int max17048_get_single_prop_impl(const struct device *dev, fuel_gauge_prop_t prop, in max17048_get_single_prop_impl()
206 static int max17048_get_prop(const struct device *dev, fuel_gauge_prop_t prop, in max17048_get_prop()
/Zephyr-Core-3.7.0/drivers/fuel_gauge/sbs_gauge/
Dsbs_gauge.c69 static int sbs_gauge_get_prop(const struct device *dev, fuel_gauge_prop_t prop, in sbs_gauge_get_prop()
198 static int sbs_gauge_set_prop(const struct device *dev, fuel_gauge_prop_t prop, in sbs_gauge_set_prop()
237 fuel_gauge_prop_t prop_type, void *dst, in sbs_gauge_get_buffer_prop()