Home
last modified time | relevance | path

Searched refs:temp_raw (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/hwmon/
Ddrivetemp.c212 u8 temp_raw; in drivetemp_get_smarttemp() local
239 temp_raw = attr[7]; in drivetemp_get_smarttemp()
243 temp_raw = attr[7]; in drivetemp_get_smarttemp()
250 *temp = temp_raw * 1000; in drivetemp_get_smarttemp()
/Linux-v5.10/drivers/iio/pressure/
Ddps310.c91 s32 temp_raw; member
346 data->temp_raw = sign_extend32(raw, 23); in dps310_read_temp_ready()
501 t = (s64)data->temp_raw; in dps310_calculate_pressure()
596 t = c0 + ((s64)data->temp_raw * (s64)data->c1); in dps310_calculate_temp()
/Linux-v5.10/drivers/power/supply/
Dds2781_battery.c193 int temp_raw; in ds2781_get_temperature() local
208 temp_raw = ((val[0]) << 3) | in ds2781_get_temperature()
210 *temp = temp_raw + (temp_raw / 4); in ds2781_get_temperature()
Dds2760_battery.c101 int temp_raw; /* units of 0.125 °C */ member
312 di->temp_raw = (((signed char)di->raw[DS2760_TEMP_MSB]) << 3) | in ds2760_battery_read_status()
314 di->temp_C = di->temp_raw + (di->temp_raw / 4); in ds2760_battery_read_status()