Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
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()
H A Dds2760_battery.c101 int temp_raw; /* units of 0.125 °C */ member
303 di->temp_raw = (((signed char)di->raw[DS2760_TEMP_MSB]) << 3) | in ds2760_battery_read_status()
305 di->temp_C = di->temp_raw + (di->temp_raw / 4); in ds2760_battery_read_status()
/linux/drivers/peci/
H A Dcpu.c21 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()
/linux/include/linux/
H A Dpeci-cpu.h50 int peci_temp_read(struct peci_device *device, s16 *temp_raw);
/linux/drivers/hwmon/
H A Dnct6694-hwmon.c328 int ret, temp_raw; in nct6694_temp_read() local
349 temp_raw = data->rpt->tin.msb << 3; in nct6694_temp_read()
350 temp_raw |= FIELD_GET(NCT6694_LSB_REG_MASK, data->rpt->tin.lsb); in nct6694_temp_read()
353 *val = sign_extend32(temp_raw, 10) * 125; in nct6694_temp_read()