Home
last modified time | relevance | path

Searched refs:val1 (Results 276 – 300 of 304) sorted by relevance

1...<<111213

/Zephyr-latest/drivers/sensor/st/i3g4250d/
Di3g4250d.c55 val->val1 = (int16_t)(raw_value * RAW_TO_MICRODEGREEPERSEC / 1000000LL); in i3g4250d_convert()
/Zephyr-latest/drivers/sensor/ti/tmp007/
Dtmp007_trigger.c58 value = (int64_t)val->val1 * 1000000 + val->val2; in tmp007_attr_set()
/Zephyr-latest/drivers/sensor/voltage_divider/
Dvoltage.c84 val->val1 = v_mv / 1000; in get()
/Zephyr-latest/drivers/sensor/amg88xx/
Damg88xx_trigger.c37 int16_t int_level = (val->val1 * 1000000 + val->val2) / in amg88xx_attr_set()
/Zephyr-latest/drivers/sensor/fcx_mldx5/
Dfcx_mldx5.c389 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/
Dadxl372.c555 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/
Dadxl367.c795 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/
Dmax30101.c85 val->val1 = data->raw[fifo_chan]; in max30101_channel_get()
/Zephyr-latest/drivers/sensor/ntc_thermistor/
Dntc_thermistor.c81 val->val1 = temp / 1000; in ntc_thermistor_channel_get()
/Zephyr-latest/drivers/sensor/
Ddefault_rtio_sensor.c199 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/
Dbmi08x_gyro.c192 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()
Dbmi08x_accel.c334 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/
Dnet_stats.c67 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/
Dak8963.c85 val->val1 = scaled_val / 1000000; in ak8963_convert_magn()
/Zephyr-latest/drivers/sensor/vishay/vcnl36825t/
Dvcnl36825t_trigger.c51 rc = vcnl36825t_write(&config->i2c, reg_addr, (uint16_t)val->val1); in vcnl36825t_trigger_attr_set()
/Zephyr-latest/drivers/sensor/infineon/dps310/
Ddps310.c698 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/
Dadxl345.c234 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/
Dtemp_nrfs.c252 val->val1 = uval / 100; in api_channel_get()
/Zephyr-latest/drivers/sensor/ti/lm95234/
Dlm95234.c202 val->val1 = raw_temp / 256; in lm95234_channel_get()
/Zephyr-latest/drivers/sensor/tsic_xx6/
Dtsic_xx6.c169 data->val.val1 = tmp / 1000000; in tsic_xx6_get_value()
/Zephyr-latest/drivers/sensor/s11059/
Ds11059.c249 val->val1 = meas_value / (S11059_CARRY_UP / 10); in s11059_channel_get()
/Zephyr-latest/drivers/sensor/ams/tsl2561/
Dtsl2561.c241 val->val1 = tmp >> TSL2561_LUX_SCALE; in tsl2561_channel_get()
/Zephyr-latest/drivers/sensor/maxim/max31865/
Dmax31865.c299 return max31865_set_three_wire(dev, val->val1); in max31865_attr_set()
/Zephyr-latest/drivers/sensor/ams/tmd2620/
Dtmd2620.c160 val->val1 = (256 - data->pdata); in tmd2620_channel_get()
/Zephyr-latest/drivers/counter/
Dcounter_nrfx_rtc.c143 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()

1...<<111213