Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/samples/drivers/peci/src/
Dmain.c102 int16_t raw_cpu_temp; in peci_get_temp() local
128 raw_cpu_temp = (int16_t)(packet.rx_buffer.buf[0] | in peci_get_temp()
131 if (raw_cpu_temp == 0x8000) { in peci_get_temp()
132 printk("Invalid temp %x\n", raw_cpu_temp); in peci_get_temp()
137 raw_cpu_temp = (raw_cpu_temp >> 6) | 0x7E00; in peci_get_temp()
138 *temperature = raw_cpu_temp + cpu_tjmax; in peci_get_temp()