Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/hwmon/
Dntc_thermistor.c319 pdata->read_uv = ntc_adc_iio_read; in ntc_thermistor_parse_dt()
466 int read_uv; in ntc_thermistor_get_ohm() local
471 if (data->pdata->read_uv) { in ntc_thermistor_get_ohm()
472 read_uv = data->pdata->read_uv(data->pdata); in ntc_thermistor_get_ohm()
473 if (read_uv < 0) in ntc_thermistor_get_ohm()
474 return read_uv; in ntc_thermistor_get_ohm()
475 return get_ohm_of_thermistor(data, read_uv); in ntc_thermistor_get_ohm()
561 if (!pdata->read_uv && !pdata->read_ohm) { in ntc_thermistor_probe()
567 if (pdata->read_uv && pdata->read_ohm) { in ntc_thermistor_probe()
570 pdata->read_uv = NULL; in ntc_thermistor_probe()
[all …]
/linux-4.4.14/include/linux/platform_data/
Dntc_thermistor.h50 int (*read_uv)(struct ntc_thermistor_platform_data *); member