Home
last modified time | relevance | path

Searched refs:get_temp (Results 1 – 25 of 61) sorted by relevance

123

/Linux-v4.19/drivers/thermal/qcom/
Dtsens.c29 return tmdev->ops->get_temp(tmdev, s->id, temp); in tsens_get_temp()
84 .get_temp = tsens_get_temp,
162 if (!tmdev->ops || !tmdev->ops->init || !tmdev->ops->get_temp) in tsens_probe()
Dtsens.h49 int (*get_temp)(struct tsens_device *, int, int *); member
Dtsens-v2.c66 .get_temp = get_temp_tsens_v2,
Dtsens-8916.c106 .get_temp = get_temp_common,
/Linux-v4.19/drivers/thermal/
Dintel_pch_thermal.c219 int (*get_temp)(struct pch_thermal_device *ptd, int *temp); member
228 .get_temp = pch_wpt_get_temp,
237 return ptd->ops->get_temp(ptd, temp); in pch_thermal_get_temp()
274 .get_temp = pch_thermal_get_temp,
Drockchip_thermal.c121 int (*get_temp)(const struct chip_tsadc_table *table, member
832 .get_temp = rk_tsadcv2_get_temp,
856 .get_temp = rk_tsadcv2_get_temp,
881 .get_temp = rk_tsadcv2_get_temp,
904 .get_temp = rk_tsadcv2_get_temp,
929 .get_temp = rk_tsadcv2_get_temp,
954 .get_temp = rk_tsadcv2_get_temp,
979 .get_temp = rk_tsadcv2_get_temp,
1070 retval = tsadc->get_temp(&tsadc->table, in rockchip_thermal_get_temp()
1079 .get_temp = rockchip_thermal_get_temp,
Dhisi_thermal.c68 int (*get_temp)(struct hisi_thermal_data *data); member
377 data->get_temp = hi6220_thermal_get_temp; in hi6220_thermal_probe()
412 data->get_temp = hi3660_thermal_get_temp; in hi3660_thermal_probe()
438 *temp = data->get_temp(data); in hisi_thermal_get_temp()
447 .get_temp = hisi_thermal_get_temp,
Dthermal_helpers.c84 if (!tz || IS_ERR(tz) || !tz->ops->get_temp) in thermal_zone_get_temp()
89 ret = tz->ops->get_temp(tz, temp); in thermal_zone_get_temp()
Dkirkwood_thermal.c64 .get_temp = kirkwood_get_temp,
Dof-thermal.c80 if (!data->ops->get_temp) in of_thermal_get_temp()
83 return data->ops->get_temp(data->sensor_data, temp); in of_thermal_get_temp()
407 tzd->ops->get_temp = of_thermal_get_temp; in thermal_zone_of_add_sensor()
545 tzd->ops->get_temp = NULL; in thermal_zone_of_sensor_unregister()
Dtango_thermal.c64 .get_temp = tango_get_temp,
Dmax77620_thermal.c73 .get_temp = max77620_thermal_read_temp,
Ddove_thermal.c122 .get_temp = dove_get_temp,
Dthermal-generic-adc.c68 .get_temp = gadc_thermal_get_temp,
Dspear_thermal.c54 .get_temp = thermal_get_temp,
Dda9062-thermal.c192 .get_temp = da9062_thermal_get_temp,
Dzx2967_thermal.c115 .get_temp = zx2967_thermal_get_temp,
/Linux-v4.19/tools/perf/tests/
Dtopology.c14 static int get_temp(char *path) in get_temp() function
122 TEST_ASSERT_VAL("can't get templ file", !get_temp(path)); in test__session_topology()
/Linux-v4.19/drivers/hwmon/
Damc6821.c280 static ssize_t get_temp( in get_temp() function
738 get_temp, NULL, IDX_TEMP1_INPUT);
739 static SENSOR_DEVICE_ATTR(temp1_min, S_IRUGO | S_IWUSR, get_temp,
741 static SENSOR_DEVICE_ATTR(temp1_max, S_IRUGO | S_IWUSR, get_temp,
743 static SENSOR_DEVICE_ATTR(temp1_crit, S_IRUGO | S_IWUSR, get_temp,
752 get_temp, NULL, IDX_TEMP2_INPUT);
753 static SENSOR_DEVICE_ATTR(temp2_min, S_IRUGO | S_IWUSR, get_temp,
755 static SENSOR_DEVICE_ATTR(temp2_max, S_IRUGO | S_IWUSR, get_temp,
757 static SENSOR_DEVICE_ATTR(temp2_crit, S_IRUGO | S_IWUSR, get_temp,
/Linux-v4.19/drivers/thermal/tegra/
Dtegra-bpmp-thermal.c52 req.get_temp.zone = zone->idx; in tegra_bpmp_thermal_get_temp()
65 *out_temp = reply.get_temp.temp; in tegra_bpmp_thermal_get_temp()
159 .get_temp = tegra_bpmp_thermal_get_temp,
/Linux-v4.19/drivers/thermal/int340x_thermal/
Dint340x_thermal_zone.c29 if (d->override_ops && d->override_ops->get_temp) in int340x_thermal_get_zone_temp()
30 return d->override_ops->get_temp(zone, temp); in int340x_thermal_get_zone_temp()
158 .get_temp = int340x_thermal_get_zone_temp,
/Linux-v4.19/drivers/thermal/broadcom/
Dns-thermal.c50 .get_temp = ns_thermal_get_temp,
/Linux-v4.19/include/linux/
Dthermal.h98 int (*get_temp) (struct thermal_zone_device *, int *); member
354 int (*get_temp)(void *, int *); member
/Linux-v4.19/include/soc/tegra/
Dbpmp-abi.h1532 struct cmd_thermal_get_temp_request get_temp; member
1554 struct cmd_thermal_get_temp_response get_temp; member
/Linux-v4.19/drivers/thermal/ti-soc-thermal/
Dti-thermal-common.c155 .get_temp = __ti_thermal_get_temp,

123