/kernel/linux/linux-6.6/drivers/thermal/qcom/ |
H A D | tsens-v0_1.c | 331 .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 D | tsens-v1.c | 156 .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 D | imx8mm_thermal.c | 45 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 D | hisi_thermal.c | 77 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 D | rockchip_thermal.c | 93 * @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 D | thermal_helpers.c | 85 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 D | thermal_of.c | 92 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 D | kirkwood_thermal.c | 55 .get_temp = kirkwood_get_temp,
|
/kernel/linux/linux-6.6/drivers/thermal/intel/int340x_thermal/ |
H A D | int340x_thermal_zone.c | 65 .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 D | processor_thermal_device.c | 207 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 D | int340x_thermal_zone.h | 32 int (*get_temp) (struct thermal_zone_device *, int *));
|
/kernel/linux/linux-6.6/drivers/thermal/ |
H A D | hisi_thermal.c | 68 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 D | rockchip_thermal.c | 78 * @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 D | imx8mm_thermal.c | 81 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 D | thermal_helpers.c | 79 * 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 D | intel_pch_thermal.c | 213 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 D | tegra-bpmp-thermal.c | 43 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 D | tegra-bpmp-thermal.c | 43 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 D | topology.c | 16 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 D | int340x_thermal_zone.c | 21 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 D | drivetemp.c | 118 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 D | drivetemp.c | 118 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 D | thermal.h | 66 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 D | topology.c | 17 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 D | ns-thermal.c | 47 .get_temp = ns_thermal_get_temp,
|