Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/hwmon/
Dntc_thermistor.c278 pdata->read_uv = ntc_adc_iio_read; in ntc_thermistor_parse_dt()
428 int read_uv; in ntc_thermistor_get_ohm() local
433 if (data->pdata->read_uv) { in ntc_thermistor_get_ohm()
434 read_uv = data->pdata->read_uv(data->pdata); in ntc_thermistor_get_ohm()
435 if (read_uv < 0) in ntc_thermistor_get_ohm()
436 return read_uv; in ntc_thermistor_get_ohm()
437 return get_ohm_of_thermistor(data, read_uv); in ntc_thermistor_get_ohm()
523 if (!pdata->read_uv && !pdata->read_ohm) { in ntc_thermistor_probe()
529 if (pdata->read_uv && pdata->read_ohm) { in ntc_thermistor_probe()
532 pdata->read_uv = NULL; in ntc_thermistor_probe()
[all …]
/linux-4.1.27/include/linux/platform_data/
Dntc_thermistor.h49 int (*read_uv)(struct ntc_thermistor_platform_data *); member