Home
last modified time | relevance | path

Searched refs:temp_raw (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/hwmon/
H A 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()
/kernel/linux/linux-6.6/drivers/hwmon/
H A Ddrivetemp.c211 u8 temp_raw; in drivetemp_get_smarttemp() local
238 temp_raw = attr[7]; in drivetemp_get_smarttemp()
242 temp_raw = attr[7]; in drivetemp_get_smarttemp()
249 *temp = temp_raw * 1000; in drivetemp_get_smarttemp()
/kernel/linux/linux-6.6/include/linux/
H A Dpeci-cpu.h26 int peci_temp_read(struct peci_device *device, s16 *temp_raw);
/kernel/linux/linux-6.6/drivers/peci/
H A Dcpu.c15 * @temp_raw: where to store the read temperature
21 int peci_temp_read(struct peci_device *device, s16 *temp_raw) in peci_temp_read() argument
29 *temp_raw = peci_request_temp_read(req); in peci_temp_read()
/kernel/linux/linux-5.10/drivers/iio/pressure/
H A Ddps310.c91 s32 temp_raw; member
499 data->temp_raw = sign_extend32(raw, 23); in dps310_read_temp_ready()
651 t = (s64)data->temp_raw; in dps310_calculate_pressure()
746 t = c0 + ((s64)data->temp_raw * (s64)data->c1); in dps310_calculate_temp()
/kernel/linux/linux-5.10/drivers/power/supply/
H A 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()
H A 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()
/kernel/linux/linux-6.6/drivers/power/supply/
H A Dds2760_battery.c101 int temp_raw; /* units of 0.125 °C */ member
304 di->temp_raw = (((signed char)di->raw[DS2760_TEMP_MSB]) << 3) | in ds2760_battery_read_status()
306 di->temp_C = di->temp_raw + (di->temp_raw / 4); in ds2760_battery_read_status()
H A 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()
/kernel/linux/linux-6.6/drivers/iio/pressure/
H A Ddps310.c91 s32 temp_raw; member
499 data->temp_raw = sign_extend32(raw, 23); in dps310_read_temp_ready()
651 t = (s64)data->temp_raw; in dps310_calculate_pressure()
746 t = c0 + ((s64)data->temp_raw * (s64)data->c1); in dps310_calculate_temp()

Completed in 10 milliseconds