Home
last modified time | relevance | path

Searched refs:raw_pressure (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/drivers/sensor/bosch/bmp388/
Dbmp388.c334 uint32_t raw_pressure = data->sample.press; in bmp388_compensate_press() local
349 partial_data1 = (sensitivity / 16777216) * raw_pressure; in bmp388_compensate_press()
352 partial_data4 = (partial_data3 * raw_pressure) / 8192; in bmp388_compensate_press()
356 partial_data5 = (raw_pressure * (partial_data4 / 10)) / 512; in bmp388_compensate_press()
358 partial_data6 = ((int64_t)raw_pressure * (int64_t)raw_pressure); in bmp388_compensate_press()
360 partial_data3 = (partial_data2 * raw_pressure) / 128; in bmp388_compensate_press()
/Zephyr-latest/drivers/sensor/bosch/bmp581/
Dbmp581.c379 uint32_t raw_pressure = (uint32_t)((uint32_t)(data[5] << 16) | in bmp581_sample_fetch() local
385 drv->last_sample.pressure.val1 = raw_pressure >> 6; in bmp581_sample_fetch()
386 drv->last_sample.pressure.val2 = (raw_pressure & BIT_MASK(6)) * 10000; in bmp581_sample_fetch()
/Zephyr-latest/drivers/sensor/bosch/bmp180/
Dbmp180.c318 int32_t raw_pressure = data->raw_press; in bmp180_compensate_press() local
331 partial_B7 = (uint64_t)(raw_pressure - partial_B3) * (50000 >> data->osr_pressure); in bmp180_compensate_press()