Searched refs:tsens_hw_to_mC (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/thermal/qcom/ |
H A D | tsens.c | 136 * tsens_hw_to_mC - Return sign-extended temperature in mCelsius. 146 static int tsens_hw_to_mC(const struct tsens_sensor *s, int field) in tsens_hw_to_mC() function 335 d->crit_thresh = tsens_hw_to_mC(s, CRIT_THRESH_0 + hw_id); in tsens_read_irq_state() 345 d->up_thresh = tsens_hw_to_mC(s, UP_THRESH_0 + hw_id); in tsens_read_irq_state() 346 d->low_thresh = tsens_hw_to_mC(s, LOW_THRESH_0 + hw_id); in tsens_read_irq_state() 602 *temp = tsens_hw_to_mC(s, temp_idx); in get_temp_tsens_valid()
|
/kernel/linux/linux-6.6/drivers/thermal/qcom/ |
H A D | tsens.c | 318 * tsens_hw_to_mC - Return sign-extended temperature in mCelsius. 328 static int tsens_hw_to_mC(const struct tsens_sensor *s, int field) in tsens_hw_to_mC() function 517 d->crit_thresh = tsens_hw_to_mC(s, CRIT_THRESH_0 + hw_id); in tsens_read_irq_state() 527 d->up_thresh = tsens_hw_to_mC(s, UP_THRESH_0 + hw_id); in tsens_read_irq_state() 528 d->low_thresh = tsens_hw_to_mC(s, LOW_THRESH_0 + hw_id); in tsens_read_irq_state() 776 *temp = tsens_hw_to_mC(s, temp_idx); in get_temp_tsens_valid()
|
Completed in 4 milliseconds