Home
last modified time | relevance | path

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

123

/openbmc/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.c64 struct loongson2_thermal_data *data = thermal_zone_device_priv(tz); in loongson2_thermal_get_temp()
75 struct loongson2_thermal_data *data = thermal_zone_device_priv(tzd); in loongson2_thermal_irq_thread()
87 struct loongson2_thermal_data *data = thermal_zone_device_priv(tz); in loongson2_thermal_set_trips()
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 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()
H A Ddove_thermal.c90 struct dove_thermal_priv *priv = thermal_zone_device_priv(thermal); in dove_get_temp()
H A Dimx_thermal.c255 struct imx_thermal_data *data = thermal_zone_device_priv(tz); in imx_get_temp()
312 struct imx_thermal_data *data = thermal_zone_device_priv(tz); in imx_change_mode()
336 struct imx_thermal_data *data = thermal_zone_device_priv(tz); in imx_set_trip_temp()
/openbmc/linux/drivers/thermal/intel/
H A Dintel_quark_dts_thermal.c123 struct soc_sensor_entry *aux_entry = thermal_zone_device_priv(tzd); in soc_dts_enable()
151 struct soc_sensor_entry *aux_entry = thermal_zone_device_priv(tzd); in soc_dts_disable()
253 return update_trip_temp(thermal_zone_device_priv(tzd), trip, temp); in sys_set_trip_temp()
H A Dintel_soc_dts_iosf.c151 struct intel_soc_dts_sensor_entry *dts = thermal_zone_device_priv(tzd); in sys_set_trip_temp()
170 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()
125 struct zone_device *zonedev = thermal_zone_device_priv(tzd); in sys_set_trip_temp()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_thermal.c161 struct mlxsw_thermal *thermal = thermal_zone_device_priv(tzdev); in mlxsw_thermal_bind()
187 struct mlxsw_thermal *thermal = thermal_zone_device_priv(tzdev); in mlxsw_thermal_unbind()
209 struct mlxsw_thermal *thermal = thermal_zone_device_priv(tzdev); in mlxsw_thermal_get_temp()
241 struct mlxsw_thermal_module *tz = thermal_zone_device_priv(tzdev); in mlxsw_thermal_module_bind()
270 struct mlxsw_thermal_module *tz = thermal_zone_device_priv(tzdev); in mlxsw_thermal_module_unbind()
289 struct mlxsw_thermal_module *tz = thermal_zone_device_priv(tzdev); in mlxsw_thermal_module_temp_get()
314 struct mlxsw_thermal_module *tz = thermal_zone_device_priv(tzdev); in mlxsw_thermal_gearbox_temp_get()
/openbmc/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()
/openbmc/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()
H A Dprocessor_thermal_device_pci.c138 struct proc_thermal_pci *pci_info = thermal_zone_device_priv(tzd); in sys_get_curr_temp()
149 struct proc_thermal_pci *pci_info = thermal_zone_device_priv(tzd); in sys_set_trip_temp()
/openbmc/linux/drivers/acpi/
H A Dthermal.c421 struct acpi_thermal *tz = thermal_zone_device_priv(thermal); in acpi_thermal_adjust_thermal_zone()
479 struct acpi_thermal *tz = thermal_zone_device_priv(thermal); in thermal_get_temp()
498 struct acpi_thermal *tz = thermal_zone_device_priv(thermal); in thermal_get_trend()
542 struct acpi_thermal *tz = thermal_zone_device_priv(thermal); in acpi_thermal_zone_device_hot()
551 struct acpi_thermal *tz = thermal_zone_device_priv(thermal); in acpi_thermal_zone_device_critical()
565 struct acpi_thermal *tz = thermal_zone_device_priv(thermal); in acpi_thermal_cooling_device_cb()
/openbmc/linux/include/linux/
H A Dthermal.h324 void *thermal_zone_device_priv(struct thermal_zone_device *tzd);
416 static inline void *thermal_zone_device_priv(struct thermal_zone_device *tz) in thermal_zone_device_priv() function
/openbmc/linux/drivers/thermal/broadcom/
H A Dns-thermal.c19 void __iomem *pvtmon = thermal_zone_device_priv(tz); in ns_thermal_get_temp()
H A Dbcm2711_thermal.c36 struct bcm2711_thermal_priv *priv = thermal_zone_device_priv(tz); in bcm2711_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 Dsr-thermal.c35 struct sr_tmon *tmon = thermal_zone_device_priv(tz); in sr_get_temp()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_thermal.c15 struct adapter *adap = thermal_zone_device_priv(tzdev); in cxgb4_thermal_get_temp()
/openbmc/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()
/openbmc/linux/drivers/thermal/qcom/
H A Dqcom-spmi-temp-alarm.c189 struct qpnp_tm_chip *chip = thermal_zone_device_priv(tz); in qpnp_tm_get_temp()
267 struct qpnp_tm_chip *chip = thermal_zone_device_priv(tz); in qpnp_tm_set_trip_temp()
/openbmc/linux/drivers/thermal/st/
H A Dstm_thermal.c304 struct stm_thermal_sensor *sensor = thermal_zone_device_priv(tz); in stm_thermal_set_trips()
352 struct stm_thermal_sensor *sensor = thermal_zone_device_priv(tz); in stm_thermal_get_temp()

123