Searched refs:t_sample (Results 1 – 11 of 11) sorted by relevance
80 uint16_t t_sample, rh_sample; in sht3xd_sample_fetch() local111 t_sample = sys_get_be16(&rx_buf[0]); in sht3xd_sample_fetch()112 if (sht3xd_compute_crc(t_sample) != rx_buf[2]) { in sht3xd_sample_fetch()123 data->t_sample = t_sample; in sht3xd_sample_fetch()142 tmp = (uint64_t)data->t_sample * 175U; in sht3xd_channel_get()
61 uint16_t t_sample; member
41 uint16_t *t_sample, in sht4x_read_sample() argument54 *t_sample = sys_get_be16(rx_buf); in sht4x_read_sample()55 if (sht4x_compute_crc(*t_sample) != rx_buf[2]) { in sht4x_read_sample()84 rc = sht4x_read_sample(dev, &data->t_sample, &data->rh_sample); in sht4x_fetch_with_heater()114 rc = sht4x_read_sample(dev, &data->t_sample, &data->rh_sample); in sht4x_sample_fetch()136 tmp = data->t_sample * 175; in sht4x_channel_get()
33 uint16_t t_sample; member
94 drv_data->t_sample = get_temp(drv_data->i2c); in th02_sample_fetch()95 LOG_INF("temp: %u", drv_data->t_sample); in th02_sample_fetch()113 val->val1 = drv_data->t_sample / 32U - 50; in th02_channel_get()114 val->val2 = (drv_data->t_sample % 32) * (1000000 / 32); in th02_channel_get()
30 uint16_t t_sample; member
26 uint16_t t_sample; member
71 drv_data->t_sample = (buf[0] << 8) + buf[1]; in ti_hdc_sample_fetch()92 tmp = (uint64_t)drv_data->t_sample * 165U; in ti_hdc_channel_get()
55 uint16_t t_sample; member100 data->t_sample = sys_le16_to_cpu(buf[0]); in ti_hdc20xx_sample_fetch()118 tmp = data->t_sample * TI_HDC20XX_TEMP_SCALE + TI_HDC20XX_TEMP_OFFSET; in ti_hdc20xx_channel_get()
38 (data->t_sample - data->t0_out) / in hts221_channel_get()78 data->t_sample = sys_le16_to_cpu(buf[2] | (buf[3] << 8)); in hts221_sample_fetch()
37 int16_t t_sample; member