Searched refs:tjunc (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | da9055-hwmon.c | 179 int tjunc; in da9055_tjunc_show() local 182 tjunc = da9055_adc_manual_read(hwmon, DA9055_ADC_TJUNC); in da9055_tjunc_show() 183 if (tjunc < 0) in da9055_tjunc_show() 184 return tjunc; in da9055_tjunc_show() 194 return sprintf(buf, "%d\n", DIV_ROUND_CLOSEST(-4084 * (tjunc - toffset) in da9055_tjunc_show()
|
H A D | da9052-hwmon.c | 261 int tjunc; in da9052_tjunc_show() local 264 tjunc = da9052_reg_read(hwmon->da9052, DA9052_TJUNC_RES_REG); in da9052_tjunc_show() 265 if (tjunc < 0) in da9052_tjunc_show() 266 return tjunc; in da9052_tjunc_show() 276 return sprintf(buf, "%d\n", 1708 * (tjunc - toffset) - 108800); in da9052_tjunc_show()
|
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | da9055-hwmon.c | 179 int tjunc; in da9055_tjunc_show() local 182 tjunc = da9055_adc_manual_read(hwmon, DA9055_ADC_TJUNC); in da9055_tjunc_show() 183 if (tjunc < 0) in da9055_tjunc_show() 184 return tjunc; in da9055_tjunc_show() 194 return sprintf(buf, "%d\n", DIV_ROUND_CLOSEST(-4084 * (tjunc - toffset) in da9055_tjunc_show()
|
H A D | da9052-hwmon.c | 261 int tjunc; in da9052_tjunc_show() local 264 tjunc = da9052_reg_read(hwmon->da9052, DA9052_TJUNC_RES_REG); in da9052_tjunc_show() 265 if (tjunc < 0) in da9052_tjunc_show() 266 return tjunc; in da9052_tjunc_show() 276 return sprintf(buf, "%d\n", 1708 * (tjunc - toffset) - 108800); in da9052_tjunc_show()
|
Completed in 3 milliseconds