Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/thermal/
Dintel_pch_thermal.c134 int (*get_temp)(struct pch_thermal_device *ptd, int *temp); member
141 .get_temp = pch_wpt_get_temp,
148 return ptd->ops->get_temp(ptd, temp); in pch_thermal_get_temp()
181 .get_temp = pch_thermal_get_temp,
Drockchip_thermal.c104 int (*get_temp)(struct chip_tsadc_table table, member
444 .get_temp = rk_tsadcv2_get_temp,
468 .get_temp = rk_tsadcv2_get_temp,
524 retval = tsadc->get_temp(tsadc->table, in rockchip_thermal_get_temp()
533 .get_temp = rockchip_thermal_get_temp,
Dkirkwood_thermal.c64 .get_temp = kirkwood_get_temp,
Dof-thermal.c98 if (!data->ops->get_temp) in of_thermal_get_temp()
101 return data->ops->get_temp(data->sensor_data, temp); in of_thermal_get_temp()
420 tzd->ops->get_temp = of_thermal_get_temp; in thermal_zone_of_add_sensor()
552 tzd->ops->get_temp = NULL; in thermal_zone_of_sensor_unregister()
Ddove_thermal.c122 .get_temp = dove_get_temp,
Dspear_thermal.c54 .get_temp = thermal_get_temp,
Dqcom-spmi-temp-alarm.c146 .get_temp = qpnp_tm_get_temp,
Darmada_thermal.c187 .get_temp = armada_get_temp,
Dintel_quark_dts_thermal.c339 .get_temp = sys_get_curr_temp,
Dhisi_thermal.c203 .get_temp = hisi_thermal_get_temp,
Dintel_soc_dts_iosf.c251 .get_temp = sys_get_curr_temp,
Dtegra_soctherm.c321 .get_temp = tegra_thermctl_get_temp,
Drcar_thermal.c274 .get_temp = rcar_thermal_get_temp,
Dx86_pkg_temp_thermal.c278 .get_temp = sys_get_curr_temp,
Ddb8500_thermal.c216 .get_temp = db8500_sys_get_temp,
Dimx_thermal.c338 .get_temp = imx_get_temp,
Dthermal_core.c491 if (!tz || IS_ERR(tz) || !tz->ops->get_temp) in thermal_zone_get_temp()
496 ret = tz->ops->get_temp(tz, temp); in thermal_zone_get_temp()
567 if (!tz->ops->get_temp) in thermal_zone_device_update()
/linux-4.4.14/tools/perf/tests/
Dtopology.c13 static int get_temp(char *path) in get_temp() function
93 TEST_ASSERT_VAL("can't get templ file", !get_temp(path)); in test_session_topology()
/linux-4.4.14/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,
Dscpi-hwmon.c110 .get_temp = scpi_read_temp,
Dtmp102.c174 .get_temp = tmp102_read_temp,
Dlm75.c182 .get_temp = lm75_read_temp,
Dntc_thermistor.c537 .get_temp = ntc_read_temp,
/linux-4.4.14/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,
Dint3400_thermal.c235 .get_temp = int3400_thermal_get_temp,
Dprocessor_thermal_device.c192 .get_temp = proc_thermal_get_zone_temp,
/linux-4.4.14/drivers/net/dsa/
Dmv88e6123_61_65.c116 .get_temp = mv88e6xxx_get_temp,
Dmv88e6171.c102 .get_temp = mv88e6xxx_get_temp,
Dmv88e6352.c317 .get_temp = mv88e6xxx_get_temp,
/linux-4.4.14/include/linux/
Dthermal.h100 int (*get_temp) (struct thermal_zone_device *, int *); member
340 int (*get_temp)(void *, int *); member
/linux-4.4.14/drivers/thermal/ti-soc-thermal/
Dti-thermal-common.c290 .get_temp = __ti_thermal_get_temp,
295 .get_temp = ti_thermal_get_temp,
/linux-4.4.14/include/net/
Ddsa.h280 int (*get_temp)(struct dsa_switch *ds, int *temp); member
/linux-4.4.14/drivers/thermal/st/
Dst_thermal.c179 .get_temp = st_thermal_get_temp,
/linux-4.4.14/drivers/platform/x86/
Dintel_mid_thermal.c463 .get_temp = read_curr_temp,
Dacerhdf.c489 .get_temp = acerhdf_get_ec_temp,
/linux-4.4.14/drivers/input/touchscreen/
Dsun4i-ts.c211 .get_temp = sun4i_get_tz_temp,
/linux-4.4.14/net/dsa/
Ddsa.c90 ret = ds->drv->get_temp(ds, &temp); in temp1_input_show()
349 if (drv->get_temp) { in dsa_switch_setup_one()
/linux-4.4.14/drivers/power/
Dpower_supply_core.c578 .get_temp = power_supply_read_temp,
/linux-4.4.14/drivers/acpi/
Dthermal.c874 .get_temp = thermal_get_temp,
/linux-4.4.14/drivers/thermal/samsung/
Dexynos_tmu.c1276 .get_temp = exynos_get_temp,
/linux-4.4.14/Documentation/thermal/
Dsysfs-api.txt51 .get_temp: get the current temperature of the thermal zone.
/linux-4.4.14/Documentation/networking/dsa/
Ddsa.txt509 - get_temp: this function queries the given switch for its temperature