Searched refs:adc_pressure (Results 1 – 3 of 3) sorted by relevance
50 const int32_t adc_pressure) in ms5837_compensate_30() argument98 (((SENS * adc_pressure) / (1ll << 21)) - OFF) / (1ll << 13); in ms5837_compensate_30()107 const int32_t adc_pressure) in ms5837_compensate_02() argument138 data->pressure = (((SENS * adc_pressure) / (1ll << 21)) - OFF) / (1ll << 15); in ms5837_compensate_02()146 uint32_t adc_pressure; in ms5837_sample_fetch() local151 err = ms5837_get_measurement(dev, &adc_pressure, data->presure_conv_cmd, in ms5837_sample_fetch()164 data->comp_func(dev, adc_temperature, adc_pressure); in ms5837_sample_fetch()
55 const int32_t adc_pressure);
23 const int32_t adc_pressure) in ms5607_compensate() argument70 data->pressure = (SENS * (int64_t)adc_pressure / (1ll << 21) - OFF) / in ms5607_compensate()118 uint32_t adc_pressure, adc_temperature; in ms5607_sample_fetch() local123 &adc_pressure, in ms5607_sample_fetch()138 ms5607_compensate(data, adc_temperature, adc_pressure); in ms5607_sample_fetch()