Home
last modified time | relevance | path

Searched refs:thermal_zone_device_priv (Results 1 – 25 of 70) sorted by relevance

123

/linux/drivers/thermal/
H A Dspear_thermal.c34 struct spear_thermal_dev *stdev = thermal_zone_device_priv(thermal); in thermal_get_temp()
51 struct spear_thermal_dev *stdev = thermal_zone_device_priv(spear_thermal); in spear_thermal_suspend()
67 struct spear_thermal_dev *stdev = thermal_zone_device_priv(spear_thermal); in spear_thermal_resume()
157 struct spear_thermal_dev *stdev = thermal_zone_device_priv(spear_thermal); in spear_thermal_exit()
H A Dloongson2_thermal.c77 struct loongson2_thermal_data *data = thermal_zone_device_priv(tz); in loongson2_2k1000_get_temp()
88 struct loongson2_thermal_data *data = thermal_zone_device_priv(tz); in loongson2_2k2000_get_temp()
99 struct loongson2_thermal_data *data = thermal_zone_device_priv(tzd); in loongson2_thermal_irq_thread()
110 struct loongson2_thermal_data *data = thermal_zone_device_priv(tz); in loongson2_thermal_set_trips()
H A Dimx91_thermal.c109 struct imx91_tmu *tmu = thermal_zone_device_priv(tz); in imx91_tmu_get_temp()
121 struct imx91_tmu *tmu = thermal_zone_device_priv(tz); in imx91_tmu_set_trips()
203 struct imx91_tmu *tmu = thermal_zone_device_priv(tz); in imx91_tmu_change_mode()
H A Dkirkwood_thermal.c30 struct kirkwood_thermal_priv *priv = thermal_zone_device_priv(thermal); in kirkwood_get_temp()
H A Dthermal_mmio.c26 struct thermal_mmio *sensor = thermal_zone_device_priv(tz); in thermal_mmio_get_temperature()
H A Dairoha_thermal.c233 struct airoha_thermal_priv *priv = thermal_zone_device_priv(tz); in airoha_thermal_get_temp()
259 struct airoha_thermal_priv *priv = thermal_zone_device_priv(tz); in airoha_thermal_set_trips()
H A Dimx_sc_thermal.c48 struct imx_sc_sensor *sensor = thermal_zone_device_priv(tz); in imx_sc_thermal_get_temp()
H A Dmax77620_thermal.c49 struct max77620_therm_info *mtherm = thermal_zone_device_priv(tz); in max77620_thermal_read_temp()
/linux/drivers/thermal/intel/
H A Dintel_quark_dts_thermal.c118 struct soc_sensor_entry *aux_entry = thermal_zone_device_priv(tzd); in soc_dts_enable()
146 struct soc_sensor_entry *aux_entry = thermal_zone_device_priv(tzd); in soc_dts_disable()
264 return update_trip_temp(thermal_zone_device_priv(tzd), trip_index, temp); in sys_set_trip_temp()
H A Dintel_soc_dts_iosf.c136 struct intel_soc_dts_sensor_entry *dts = thermal_zone_device_priv(tzd); in sys_set_trip_temp()
156 struct intel_soc_dts_sensor_entry *dts = thermal_zone_device_priv(tzd); in sys_get_curr_temp()
H A Dx86_pkg_temp_thermal.c110 struct zone_device *zonedev = thermal_zone_device_priv(tzd); in sys_get_curr_temp()
126 struct zone_device *zonedev = thermal_zone_device_priv(tzd); in sys_set_trip_temp()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_thermal.c173 struct mlxsw_thermal *thermal = thermal_zone_device_priv(tzdev); in mlxsw_thermal_should_bind()
189 struct mlxsw_thermal *thermal = thermal_zone_device_priv(tzdev); in mlxsw_thermal_get_temp()
222 struct mlxsw_thermal_module *tz = thermal_zone_device_priv(tzdev); in mlxsw_thermal_module_should_bind()
239 struct mlxsw_thermal_module *tz = thermal_zone_device_priv(tzdev); in mlxsw_thermal_module_temp_get()
263 struct mlxsw_thermal_module *tz = thermal_zone_device_priv(tzdev); in mlxsw_thermal_gearbox_temp_get()
/linux/drivers/thermal/renesas/
H A Drzg3s_thermal.c60 struct rzg3s_thermal_priv *priv = thermal_zone_device_priv(tz); in rzg3s_thermal_get_temp()
136 struct rzg3s_thermal_priv *priv = thermal_zone_device_priv(tz); in rzg3s_thermal_change_mode()
/linux/drivers/thermal/ti-soc-thermal/
H A Dti-thermal-common.c73 struct ti_thermal_data *data = thermal_zone_device_priv(tz); in __ti_thermal_get_temp()
116 struct ti_thermal_data *data = thermal_zone_device_priv(tz); in __ti_thermal_get_trend()
/linux/drivers/thermal/intel/int340x_thermal/
H A Dint340x_thermal_zone.c17 struct int34x_thermal_zone *d = thermal_zone_device_priv(zone); in int340x_thermal_get_zone_temp()
44 struct int34x_thermal_zone *d = thermal_zone_device_priv(zone); in int340x_thermal_set_trip_temp()
/linux/include/linux/
H A Dthermal.h245 void *thermal_zone_device_priv(struct thermal_zone_device *tzd);
333 static inline void *thermal_zone_device_priv(struct thermal_zone_device *tz) in thermal_zone_device_priv() function
/linux/drivers/thermal/qcom/
H A Dqcom-spmi-temp-alarm.c279 struct qpnp_tm_chip *chip = thermal_zone_device_priv(tz); in qpnp_tm_get_temp()
360 struct qpnp_tm_chip *chip = thermal_zone_device_priv(tz); in qpnp_tm_set_trip_temp()
411 struct qpnp_tm_chip *chip = thermal_zone_device_priv(tz); in qpnp_tm_gen2_rev2_set_trip_temp()
503 struct qpnp_tm_chip *chip = thermal_zone_device_priv(tz); in qpnp_tm_lite_set_trip_temp()
/linux/drivers/thermal/broadcom/
H A Dns-thermal.c19 void __iomem *pvtmon = thermal_zone_device_priv(tz); in ns_thermal_get_temp()
H A Dbrcmstb_thermal.c155 struct brcmstb_thermal_priv *priv = thermal_zone_device_priv(tz); in brcmstb_get_temp()
263 struct brcmstb_thermal_priv *priv = thermal_zone_device_priv(tz); in brcmstb_set_trips()
H A Dbcm2711_thermal.c36 struct bcm2711_thermal_priv *priv = thermal_zone_device_priv(tz); in bcm2711_get_temp()
H A Dsr-thermal.c35 struct sr_tmon *tmon = thermal_zone_device_priv(tz); in sr_get_temp()
/linux/drivers/acpi/
H A Dthermal.c481 struct acpi_thermal *tz = thermal_zone_device_priv(thermal); in thermal_get_temp()
500 struct acpi_thermal *tz = thermal_zone_device_priv(thermal); in thermal_get_trend()
544 struct acpi_thermal *tz = thermal_zone_device_priv(thermal); in acpi_thermal_zone_device_hot()
553 struct acpi_thermal *tz = thermal_zone_device_priv(thermal); in acpi_thermal_zone_device_critical()
/linux/drivers/thermal/tegra/
H A Dtegra-bpmp-thermal.c67 struct tegra_bpmp_thermal_zone *zone = thermal_zone_device_priv(tz); in tegra_bpmp_thermal_get_temp()
74 struct tegra_bpmp_thermal_zone *zone = thermal_zone_device_priv(tz); in tegra_bpmp_thermal_set_trips()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_thermal.c15 struct adapter *adap = thermal_zone_device_priv(tzdev); in cxgb4_thermal_get_temp()
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dthermal.c188 struct iwl_mld *mld = thermal_zone_device_priv(device); in iwl_mld_tzone_get_temp()
216 struct iwl_mld *mld = thermal_zone_device_priv(device); in iwl_mld_tzone_set_trip_temp()

123