Home
last modified time | relevance | path

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

/linux/drivers/thermal/qcom/
H A Dqcom-spmi-mbg-tm.c108 int idx, vtemp, tc = 0, t0 = 0, vtemp0 = 0; in temp_to_vtemp_mv() local
124 vtemp = ((temp - t0) * tc + vtemp0 * 100000) / 1000000; in temp_to_vtemp_mv()
127 return abs(vtemp - MBG_TEMP_DEFAULT_TEMP_MV) / MBG_TEMP_STEP_MV; in temp_to_vtemp_mv()
/linux/drivers/iio/adc/
H A Dat91-sama5d2_adc.c1858 int ret, vbg, vtemp; in at91_adc_read_temp() local
1879 ret = at91_adc_read_info_raw(indio_dev, chan, &vtemp); in at91_adc_read_temp()
1892 div1 = DIV_ROUND_CLOSEST_ULL(((u64)vtemp * clb->p6), vbg); in at91_adc_read_temp()