Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Dntc_thermistor.c421 pdata->read_uv = ntc_adc_iio_read; in ntc_thermistor_parse_dt()
561 int read_uv; in ntc_thermistor_get_ohm() local
566 if (data->pdata->read_uv) { in ntc_thermistor_get_ohm()
567 read_uv = data->pdata->read_uv(data->pdata); in ntc_thermistor_get_ohm()
568 if (read_uv < 0) in ntc_thermistor_get_ohm()
569 return read_uv; in ntc_thermistor_get_ohm()
570 return get_ohm_of_thermistor(data, read_uv); in ntc_thermistor_get_ohm()
656 if (!pdata->read_uv && !pdata->read_ohm) { in ntc_thermistor_probe()
662 if (pdata->read_uv && pdata->read_ohm) { in ntc_thermistor_probe()
665 pdata->read_uv = NULL; in ntc_thermistor_probe()
[all …]
/OK3568_Linux_fs/kernel/include/linux/platform_data/
H A Dntc_thermistor.h39 int (*read_uv)(struct ntc_thermistor_platform_data *); member