Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/ti/ina23x/
Dina237.c34 static void micro_s32_to_sensor_value(struct sensor_value *val, int32_t value_microX) in micro_s32_to_sensor_value() argument
36 val->val1 = value_microX / 1000000L; in micro_s32_to_sensor_value()
37 val->val2 = value_microX % 1000000L; in micro_s32_to_sensor_value()
40 static void micro_u64_to_sensor_value(struct sensor_value *val, uint64_t value_microX) in micro_u64_to_sensor_value() argument
42 val->val1 = value_microX / 1000000U; in micro_u64_to_sensor_value()
43 val->val2 = value_microX % 1000000U; in micro_u64_to_sensor_value()
/Zephyr-latest/drivers/sensor/ti/ina226/
Dina226.c96 static void micro_s32_to_sensor_value(struct sensor_value *val, int32_t value_microX) in micro_s32_to_sensor_value() argument
98 val->val1 = value_microX / 1000000L; in micro_s32_to_sensor_value()
99 val->val2 = value_microX % 1000000L; in micro_s32_to_sensor_value()