/openbmc/linux/drivers/thermal/ |
H A D | spear_thermal.c | 34 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 D | loongson2_thermal.c | 64 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 D | kirkwood_thermal.c | 30 struct kirkwood_thermal_priv *priv = thermal_zone_device_priv(thermal); in kirkwood_get_temp()
|
H A D | thermal_mmio.c | 26 struct thermal_mmio *sensor = thermal_zone_device_priv(tz); in thermal_mmio_get_temperature()
|
H A D | imx_sc_thermal.c | 48 struct imx_sc_sensor *sensor = thermal_zone_device_priv(tz); in imx_sc_thermal_get_temp()
|
H A D | max77620_thermal.c | 49 struct max77620_therm_info *mtherm = thermal_zone_device_priv(tz); in max77620_thermal_read_temp()
|
H A D | dove_thermal.c | 90 struct dove_thermal_priv *priv = thermal_zone_device_priv(thermal); in dove_get_temp()
|
H A D | imx_thermal.c | 255 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 D | intel_quark_dts_thermal.c | 123 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 D | intel_soc_dts_iosf.c | 151 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 D | x86_pkg_temp_thermal.c | 110 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 D | core_thermal.c | 161 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 D | ti-thermal-common.c | 73 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 D | int340x_thermal_zone.c | 17 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 D | processor_thermal_device_pci.c | 138 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 D | thermal.c | 421 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 D | thermal.h | 324 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 D | ns-thermal.c | 19 void __iomem *pvtmon = thermal_zone_device_priv(tz); in ns_thermal_get_temp()
|
H A D | bcm2711_thermal.c | 36 struct bcm2711_thermal_priv *priv = thermal_zone_device_priv(tz); in bcm2711_get_temp()
|
H A D | brcmstb_thermal.c | 155 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 D | sr-thermal.c | 35 struct sr_tmon *tmon = thermal_zone_device_priv(tz); in sr_get_temp()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_thermal.c | 15 struct adapter *adap = thermal_zone_device_priv(tzdev); in cxgb4_thermal_get_temp()
|
/openbmc/linux/drivers/thermal/tegra/ |
H A D | tegra-bpmp-thermal.c | 67 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 D | qcom-spmi-temp-alarm.c | 189 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 D | stm_thermal.c | 304 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()
|