Searched refs:raw_pressure (Results 1 – 3 of 3) sorted by relevance
334 uint32_t raw_pressure = data->sample.press; in bmp388_compensate_press() local349 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()
379 uint32_t raw_pressure = (uint32_t)((uint32_t)(data[5] << 16) | in bmp581_sample_fetch() local385 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()
318 int32_t raw_pressure = data->raw_press; in bmp180_compensate_press() local331 partial_B7 = (uint64_t)(raw_pressure - partial_B3) * (50000 >> data->osr_pressure); in bmp180_compensate_press()