Home
last modified time | relevance | path

Searched refs:k_val (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/charger/
Dcharger_handlers.c13 union charger_propval k_val; in z_vrfy_charger_get_prop() local
17 int ret = z_impl_charger_get_prop(dev, prop, &k_val); in z_vrfy_charger_get_prop()
19 K_OOPS(k_usermode_to_copy(val, &k_val, sizeof(union charger_propval))); in z_vrfy_charger_get_prop()
29 union charger_propval k_val; in z_vrfy_charger_set_prop() local
33 K_OOPS(k_usermode_from_copy(&k_val, val, sizeof(union charger_propval))); in z_vrfy_charger_set_prop()
35 return z_impl_charger_set_prop(dev, prop, &k_val); in z_vrfy_charger_set_prop()
/Zephyr-latest/drivers/fuel_gauge/
Dfuel_gauge_syscall_handlers.c14 union fuel_gauge_prop_val k_val; in z_vrfy_fuel_gauge_get_prop() local
18 K_OOPS(k_usermode_from_copy(&k_val, val, sizeof(union fuel_gauge_prop_val))); in z_vrfy_fuel_gauge_get_prop()
20 int ret = z_impl_fuel_gauge_get_prop(dev, prop, &k_val); in z_vrfy_fuel_gauge_get_prop()
22 K_OOPS(k_usermode_to_copy(val, &k_val, sizeof(union fuel_gauge_prop_val))); in z_vrfy_fuel_gauge_get_prop()