Home
last modified time | relevance | path

Searched refs:get_temp (Results 1 - 25 of 147) sorted by relevance

123456

/kernel/linux/linux-6.6/drivers/thermal/qcom/
H A Dtsens-v0_1.c331 .get_temp = get_temp_common,
337 .get_temp = get_temp_common,
350 .get_temp = get_temp_common,
363 .get_temp = get_temp_common,
378 .get_temp = get_temp_common,
393 .get_temp = get_temp_common,
406 .get_temp = get_temp_common,
H A Dtsens-v1.c156 .get_temp = get_temp_tsens_valid,
168 .get_temp = get_temp_tsens_valid,
181 .get_temp = get_temp_tsens_valid,
/kernel/linux/linux-5.10/drivers/thermal/
H A Dimx8mm_thermal.c45 int (*get_temp)(void *, int *); member
110 return tmu->socdata->get_temp(data, temp); in tmu_get_temp()
114 .get_temp = tmu_get_temp,
214 .get_temp = imx8mm_tmu_get_temp,
220 .get_temp = imx8mp_tmu_get_temp,
H A Dhisi_thermal.c77 int (*get_temp)(struct hisi_thermal_sensor *sensor); member
446 *temp = data->ops->get_temp(sensor); in hisi_thermal_get_temp()
455 .get_temp = hisi_thermal_get_temp,
515 .get_temp = hi6220_thermal_get_temp,
523 .get_temp = hi3660_thermal_get_temp,
H A Drockchip_thermal.c93 * @get_temp: get the temperature
116 int (*get_temp)(const struct chip_tsadc_table *table, member
846 .get_temp = rk_tsadcv2_get_temp,
870 .get_temp = rk_tsadcv2_get_temp,
894 .get_temp = rk_tsadcv2_get_temp,
919 .get_temp = rk_tsadcv2_get_temp,
942 .get_temp = rk_tsadcv2_get_temp,
967 .get_temp = rk_tsadcv2_get_temp,
992 .get_temp = rk_tsadcv2_get_temp,
1017 .get_temp
[all...]
H A Dthermal_helpers.c85 if (!tz || IS_ERR(tz) || !tz->ops->get_temp) in thermal_zone_get_temp()
90 ret = tz->ops->get_temp(tz, temp); in thermal_zone_get_temp()
H A Dthermal_of.c92 if (!data->ops || !data->ops->get_temp) in of_thermal_get_temp()
95 return data->ops->get_temp(data->sensor_data, temp); in of_thermal_get_temp()
398 tzd->ops->get_temp = of_thermal_get_temp; in thermal_zone_of_add_sensor()
468 * @ops: struct thermal_zone_of_device_ops *. Must contain at least .get_temp.
475 * The thermal zone temperature is provided by the @get_temp function
544 * API. It will also silent the zone by remove the .get_temp() and .get_trend()
569 tzd->ops->get_temp = NULL; in thermal_zone_of_sensor_unregister()
605 * @ops: struct thermal_zone_of_device_ops *. Must contain at least .get_temp.
647 * API. It will also silent the zone by remove the .get_temp() and .get_trend()
H A Dkirkwood_thermal.c55 .get_temp = kirkwood_get_temp,
/kernel/linux/linux-6.6/drivers/thermal/intel/int340x_thermal/
H A Dint340x_thermal_zone.c65 .get_temp = int340x_thermal_get_zone_temp,
116 int (*get_temp) (struct thermal_zone_device *, int *)) in int340x_thermal_zone_add()
139 if (get_temp) in int340x_thermal_zone_add()
140 int34x_zone->ops->get_temp = get_temp; in int340x_thermal_zone_add()
H A Dprocessor_thermal_device.c207 int (*get_temp) (struct thermal_zone_device *, int *) = NULL; in proc_thermal_add()
225 get_temp = proc_thermal_get_zone_temp; in proc_thermal_add()
228 proc_priv->int340x_zone = int340x_thermal_zone_add(adev, get_temp); in proc_thermal_add()
H A Dint340x_thermal_zone.h32 int (*get_temp) (struct thermal_zone_device *, int *));
/kernel/linux/linux-6.6/drivers/thermal/
H A Dhisi_thermal.c68 int (*get_temp)(struct hisi_thermal_sensor *sensor); member
437 *temp = data->ops->get_temp(sensor); in hisi_thermal_get_temp()
443 .get_temp = hisi_thermal_get_temp,
454 temp = data->ops->get_temp(sensor); in hisi_thermal_alarm_irq_thread()
504 .get_temp = hi6220_thermal_get_temp,
512 .get_temp = hi3660_thermal_get_temp,
H A Drockchip_thermal.c78 * @get_temp: get the temperature
101 int (*get_temp)(const struct chip_tsadc_table *table, member
1074 .get_temp = rk_tsadcv2_get_temp,
1099 .get_temp = rk_tsadcv2_get_temp,
1124 .get_temp = rk_tsadcv2_get_temp,
1149 .get_temp = rk_tsadcv2_get_temp,
1173 .get_temp = rk_tsadcv2_get_temp,
1198 .get_temp = rk_tsadcv2_get_temp,
1223 .get_temp = rk_tsadcv2_get_temp,
1248 .get_temp
[all...]
H A Dimx8mm_thermal.c81 int (*get_temp)(void *, int *); member
146 return tmu->socdata->get_temp(sensor, temp); in tmu_get_temp()
150 .get_temp = tmu_get_temp,
382 .get_temp = imx8mm_tmu_get_temp,
388 .get_temp = imx8mp_tmu_get_temp,
H A Dthermal_helpers.c79 * and the tz->ops->get_temp callback must be provided.
93 ret = tz->ops->get_temp(tz, temp); in __thermal_zone_get_temp()
138 if (!tz->ops->get_temp) { in thermal_zone_get_temp()
/kernel/linux/linux-5.10/drivers/thermal/intel/
H A Dintel_pch_thermal.c213 int (*get_temp)(struct pch_thermal_device *ptd, int *temp); member
222 .get_temp = pch_wpt_get_temp,
231 return ptd->ops->get_temp(ptd, temp); in pch_thermal_get_temp()
268 .get_temp = pch_thermal_get_temp,
/kernel/linux/linux-6.6/drivers/thermal/tegra/
H A Dtegra-bpmp-thermal.c43 req.get_temp.zone = zone->idx; in __tegra_bpmp_thermal_get_temp()
60 *out_temp = reply.get_temp.temp; in __tegra_bpmp_thermal_get_temp()
204 .get_temp = tegra_bpmp_thermal_get_temp,
209 .get_temp = tegra_bpmp_thermal_get_temp,
/kernel/linux/linux-5.10/drivers/thermal/tegra/
H A Dtegra-bpmp-thermal.c43 req.get_temp.zone = zone->idx; in tegra_bpmp_thermal_get_temp()
56 *out_temp = reply.get_temp.temp; in tegra_bpmp_thermal_get_temp()
150 .get_temp = tegra_bpmp_thermal_get_temp,
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dtopology.c16 static int get_temp(char *path) in get_temp() function
121 TEST_ASSERT_VAL("can't get templ file", !get_temp(path)); in test__session_topology()
/kernel/linux/linux-5.10/drivers/thermal/intel/int340x_thermal/
H A Dint340x_thermal_zone.c21 if (d->override_ops && d->override_ops->get_temp) in int340x_thermal_get_zone_temp()
22 return d->override_ops->get_temp(zone, temp); in int340x_thermal_get_zone_temp()
158 .get_temp = int340x_thermal_get_zone_temp,
/kernel/linux/linux-5.10/drivers/hwmon/
H A Ddrivetemp.c118 int (*get_temp)(struct drivetemp_data *st, u32 attr, long *val); member
424 st->get_temp = drivetemp_get_scttemp; in drivetemp_identify_sata()
430 st->get_temp = drivetemp_get_smarttemp; in drivetemp_identify_sata()
463 err = st->get_temp(st, attr, val); in drivetemp_read()
/kernel/linux/linux-6.6/drivers/hwmon/
H A Ddrivetemp.c118 int (*get_temp)(struct drivetemp_data *st, u32 attr, long *val); member
423 st->get_temp = drivetemp_get_scttemp; in drivetemp_identify_sata()
429 st->get_temp = drivetemp_get_smarttemp; in drivetemp_identify_sata()
462 err = st->get_temp(st, attr, val); in drivetemp_read()
/kernel/linux/linux-5.10/include/linux/
H A Dthermal.h66 int (*get_temp) (struct thermal_zone_device *, int *); member
296 * @get_temp: a pointer to a function that reads the sensor temperature.
309 int (*get_temp)(void *, int *); member
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dtopology.c17 static int get_temp(char *path) in get_temp() function
211 TEST_ASSERT_VAL("can't get templ file", !get_temp(path)); in test__session_topology()
/kernel/linux/linux-5.10/drivers/thermal/broadcom/
H A Dns-thermal.c47 .get_temp = ns_thermal_get_temp,

Completed in 18 milliseconds

123456