/Zephyr-latest/drivers/sensor/st/i3g4250d/ |
D | i3g4250d.c | 55 val->val1 = (int16_t)(raw_value * RAW_TO_MICRODEGREEPERSEC / 1000000LL); in i3g4250d_convert()
|
/Zephyr-latest/drivers/sensor/ti/tmp007/ |
D | tmp007_trigger.c | 58 value = (int64_t)val->val1 * 1000000 + val->val2; in tmp007_attr_set()
|
/Zephyr-latest/drivers/sensor/voltage_divider/ |
D | voltage.c | 84 val->val1 = v_mv / 1000; in get()
|
/Zephyr-latest/drivers/sensor/amg88xx/ |
D | amg88xx_trigger.c | 37 int16_t int_level = (val->val1 * 1000000 + val->val2) / in amg88xx_attr_set()
|
/Zephyr-latest/drivers/sensor/fcx_mldx5/ |
D | fcx_mldx5.c | 389 val->val1 = data->status; in fcx_mldx5_attr_get() 414 val->val1 = data->o2_ppm; in fcx_mldx5_channel_get()
|
/Zephyr-latest/drivers/sensor/adi/adxl372/ |
D | adxl372.c | 555 switch (val->val1) { in adxl372_attr_set_odr() 593 int64_t micro_ms2 = val->val1 * 1000000LL + val->val2; in adxl372_attr_set_thresh() 663 val->val1 = micro_ms2 / 1000000; in adxl372_accel_convert()
|
/Zephyr-latest/drivers/sensor/adi/adxl367/ |
D | adxl367.c | 795 int64_t micro_ms2 = val->val1 * 1000000LL + val->val2; in adxl367_attr_set_thresh() 829 switch (val->val1) { in adxl367_attr_set_odr() 896 val->val1 = micro_ms2 / 1000000; in adxl367_accel_convert() 908 val->val1 = temp_data / 54 /*temp sensitivity LSB/C*/ + 25/*bias test conditions*/; in adxl367_temp_convert()
|
/Zephyr-latest/drivers/sensor/maxim/max30101/ |
D | max30101.c | 85 val->val1 = data->raw[fifo_chan]; in max30101_channel_get()
|
/Zephyr-latest/drivers/sensor/ntc_thermistor/ |
D | ntc_thermistor.c | 81 val->val1 = temp / 1000; in ntc_thermistor_channel_get()
|
/Zephyr-latest/drivers/sensor/ |
D | default_rtio_sensor.c | 199 uint32_t scale = (uint32_t)llabs((int64_t)value[sample].val1) + 1; in sensor_submit_fallback_sync() 248 abs((int)value[sample].val1), abs((int)value[sample].val2), in sensor_submit_fallback_sync()
|
/Zephyr-latest/drivers/sensor/bosch/bmi08x/ |
D | bmi08x_gyro.c | 192 return bmi08x_gyr_odr_set(dev, val->val1, val->val2 / 1000); in bmi08x_gyr_config() 259 val->val1 = converted_val / 1000000; in bmi08x_to_fixed_point()
|
D | bmi08x_accel.c | 334 return bmi08x_acc_odr_set(dev, val->val1, val->val2 / 1000); in bmi08x_acc_config() 414 val->val1 = converted_val / 1000000; in bmi08x_to_fixed_point() 467 val->val1 = temp_micro / 1000000ULL; in bmi08x_temp_channel_get()
|
/Zephyr-latest/subsys/net/ip/ |
D | net_stats.c | 67 static inline int64_t cmp_val(uint64_t val1, uint64_t val2) in cmp_val() argument 69 return (int64_t)(val1 - val2); in cmp_val()
|
/Zephyr-latest/drivers/sensor/tdk/mpu9250/ |
D | ak8963.c | 85 val->val1 = scaled_val / 1000000; in ak8963_convert_magn()
|
/Zephyr-latest/drivers/sensor/vishay/vcnl36825t/ |
D | vcnl36825t_trigger.c | 51 rc = vcnl36825t_write(&config->i2c, reg_addr, (uint16_t)val->val1); in vcnl36825t_trigger_attr_set()
|
/Zephyr-latest/drivers/sensor/infineon/dps310/ |
D | dps310.c | 698 val->val1 = data->tmp_val1; in dps310_channel_get() 702 val->val1 = data->psr_val1; in dps310_channel_get()
|
/Zephyr-latest/drivers/sensor/adi/adxl345/ |
D | adxl345.c | 234 switch (val->val1) { in adxl345_attr_set_odr() 315 val->val1 = ((sample * SENSOR_G) / 32) / 1000000; in adxl345_accel_convert()
|
/Zephyr-latest/drivers/sensor/nordic/temp/ |
D | temp_nrfs.c | 252 val->val1 = uval / 100; in api_channel_get()
|
/Zephyr-latest/drivers/sensor/ti/lm95234/ |
D | lm95234.c | 202 val->val1 = raw_temp / 256; in lm95234_channel_get()
|
/Zephyr-latest/drivers/sensor/tsic_xx6/ |
D | tsic_xx6.c | 169 data->val.val1 = tmp / 1000000; in tsic_xx6_get_value()
|
/Zephyr-latest/drivers/sensor/s11059/ |
D | s11059.c | 249 val->val1 = meas_value / (S11059_CARRY_UP / 10); in s11059_channel_get()
|
/Zephyr-latest/drivers/sensor/ams/tsl2561/ |
D | tsl2561.c | 241 val->val1 = tmp >> TSL2561_LUX_SCALE; in tsl2561_channel_get()
|
/Zephyr-latest/drivers/sensor/maxim/max31865/ |
D | max31865.c | 299 return max31865_set_three_wire(dev, val->val1); in max31865_attr_set()
|
/Zephyr-latest/drivers/sensor/ams/tmd2620/ |
D | tmd2620.c | 160 val->val1 = (256 - data->pdata); in tmd2620_channel_get()
|
/Zephyr-latest/drivers/counter/ |
D | counter_nrfx_rtc.c | 143 static uint32_t ticks_add(const struct device *dev, uint32_t val1, in ticks_add() argument 146 uint32_t sum = val1 + val2; in ticks_add()
|