Documented in 1 files:
Defined in 1 files as a struct:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 112 files:
- drivers/acpi/thermal.c, 8 times
- drivers/ata/ahci_imx.c, line 385
- drivers/gpu/drm/tiny/repaper.c, line 79
- drivers/hwmon/hwmon.c, 4 times
- drivers/hwmon/pmbus/pmbus_core.c, 2 times
- drivers/hwmon/scmi-hwmon.c, 2 times
- drivers/hwmon/scpi-hwmon.c, 2 times
- drivers/iio/adc/sun4i-gpadc-iio.c, 2 times
- drivers/input/touchscreen/sun4i-ts.c, 2 times
- drivers/mmc/host/sdhci-omap.c, line 321
- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h, line 1081
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_thermal.c, line 12
- drivers/net/ethernet/mellanox/mlxsw/core_thermal.c, 8 times
- drivers/net/wireless/intel/iwlwifi/mld/mld.h, line 303
- drivers/net/wireless/intel/iwlwifi/mld/thermal.c, 2 times
- drivers/net/wireless/intel/iwlwifi/mvm/mvm.h, line 599
- drivers/net/wireless/intel/iwlwifi/mvm/tt.c, 2 times
- drivers/net/wireless/mediatek/mt76/mt7915/init.c, line 180
- drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h, line 208
- drivers/platform/x86/acerhdf.c, 6 times
- drivers/platform/x86/gpd-pocket-fan.c, 2 times
- drivers/power/supply/ab8500_btemp.c, line 102
- drivers/power/supply/power_supply_core.c, line 1646
- drivers/regulator/max8973-regulator.c, 3 times
- drivers/soc/mediatek/mtk-svs.c, line 517
- drivers/thermal/airoha_thermal.c, 4 times
- drivers/thermal/amlogic_thermal.c, 2 times
- drivers/thermal/armada_thermal.c, 6 times
- drivers/thermal/broadcom/bcm2711_thermal.c, 3 times
- drivers/thermal/broadcom/bcm2835_thermal.c, 3 times
- drivers/thermal/broadcom/brcmstb_thermal.c, 4 times
- drivers/thermal/broadcom/ns-thermal.c, 2 times
- drivers/thermal/broadcom/sr-thermal.c, 2 times
- drivers/thermal/da9062-thermal.c, 2 times
- drivers/thermal/db8500_thermal.c, 2 times
- drivers/thermal/dove_thermal.c, 3 times
- drivers/thermal/gov_bang_bang.c, 3 times
- drivers/thermal/gov_fair_share.c, 3 times
- drivers/thermal/gov_power_allocator.c, 12 times
- drivers/thermal/gov_step_wise.c, 2 times
- drivers/thermal/gov_user_space.c, 2 times
- drivers/thermal/hisi_thermal.c, 3 times
- drivers/thermal/imx8mm_thermal.c, 2 times
- drivers/thermal/imx91_thermal.c, 4 times
- drivers/thermal/imx_sc_thermal.c, 2 times
- drivers/thermal/imx_thermal.c, 5 times
- drivers/thermal/intel/int340x_thermal/int3400_thermal.c, 4 times
- drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c, 5 times
- drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.h, 2 times
- drivers/thermal/intel/int340x_thermal/processor_thermal_device.c, 2 times
- drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c, 4 times
- drivers/thermal/intel/intel_bxt_pmic_thermal.c, line 156
- drivers/thermal/intel/intel_pch_thermal.c, 4 times
- drivers/thermal/intel/intel_quark_dts_thermal.c, 6 times
- drivers/thermal/intel/intel_soc_dts_iosf.c, 2 times
- drivers/thermal/intel/intel_soc_dts_iosf.h, line 31
- drivers/thermal/intel/x86_pkg_temp_thermal.c, 5 times
- drivers/thermal/k3_bandgap.c, 2 times
- drivers/thermal/k3_j72xx_bandgap.c, 2 times
- drivers/thermal/kirkwood_thermal.c, 3 times
- drivers/thermal/loongson2_thermal.c, 5 times
- drivers/thermal/max77620_thermal.c, 2 times
- drivers/thermal/mediatek/auxadc_thermal.c, 2 times
- drivers/thermal/mediatek/lvts_thermal.c, 4 times
- drivers/thermal/qcom/qcom-spmi-adc-tm5-gen3.c, 4 times
- drivers/thermal/qcom/qcom-spmi-adc-tm5.c, 4 times
- drivers/thermal/qcom/qcom-spmi-mbg-tm.c, 3 times
- drivers/thermal/qcom/qcom-spmi-temp-alarm.c, 5 times
- drivers/thermal/qcom/tsens.c, 3 times
- drivers/thermal/qcom/tsens.h, line 60
- drivers/thermal/qoriq_thermal.c, 2 times
- drivers/thermal/renesas/rcar_gen3_thermal.c, 5 times
- drivers/thermal/renesas/rcar_thermal.c, 2 times
- drivers/thermal/renesas/rzg2l_thermal.c, 3 times
- drivers/thermal/renesas/rzg3e_thermal.c, 3 times
- drivers/thermal/renesas/rzg3s_thermal.c, 3 times
- drivers/thermal/rockchip_thermal.c, 4 times
- drivers/thermal/samsung/exynos_tmu.c, 6 times
- drivers/thermal/spacemit/k1_tsensor.c, 3 times
- drivers/thermal/spear_thermal.c, 5 times
- drivers/thermal/sprd_thermal.c, 3 times
- drivers/thermal/st/st_thermal.c, line 110
- drivers/thermal/st/st_thermal.h, line 80
- drivers/thermal/st/stm_thermal.c, 3 times
- drivers/thermal/sun8i_thermal.c, 2 times
- drivers/thermal/tegra/soctherm.c, 10 times
- drivers/thermal/tegra/tegra-bpmp-thermal.c, 4 times
- drivers/thermal/tegra/tegra30-tsensor.c, 6 times
- drivers/thermal/testing/zone.c, 3 times
- drivers/thermal/thermal-generic-adc.c, 2 times
- drivers/thermal/thermal_core.c, 65 times
- drivers/thermal/thermal_core.h, 23 times
- drivers/thermal/thermal_debugfs.c, 10 times
- drivers/thermal/thermal_debugfs.h, 12 times
- drivers/thermal/thermal_helpers.c, 7 times
- drivers/thermal/thermal_hwmon.c, 10 times
- drivers/thermal/thermal_hwmon.h, 6 times
- drivers/thermal/thermal_mmio.c, 2 times
- drivers/thermal/thermal_netlink.c, 14 times
- drivers/thermal/thermal_netlink.h, 27 times
- drivers/thermal/thermal_of.c, 10 times
- drivers/thermal/thermal_sysfs.c, 19 times
- drivers/thermal/thermal_thresholds.c, 8 times
- drivers/thermal/thermal_thresholds.h, 7 times
- drivers/thermal/thermal_trace.h, 2 times
- drivers/thermal/thermal_trace_ipa.h, 3 times
- drivers/thermal/thermal_trip.c, 4 times
- drivers/thermal/ti-soc-thermal/ti-thermal-common.c, 5 times
- drivers/thermal/uniphier_thermal.c, 2 times
- include/linux/power/charger-manager.h, line 225
- include/linux/power_supply.h, line 357
- include/linux/thermal.h, 47 times
Smatch caller information:
drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c int340x_thermal_critical() -> thermal_zone_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tzd | 4096-ptr_max |
| BUF_SIZE | 0 | tzd | (-1)-1,3-6,8,14,16,18,30,33,41,96,248,1296,2576-s32max |
| BUF_SIZE | 0 | tzd | (-1)-1,3-6,8,14,16,18,30,33,41,96,248,1296,2576-s32max |
| BUF_SIZE | 0 | tzd->devdata | (-1),8,16,24,32,40,48,96,104,112,136,200,216,232,256,320,376,392,1232,1616,2248 |
| CAPPED_DATA | 0 | tzd->temperature | 1 |
| DATA_SOURCE | 0 | tzd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tzd->num_trips | |
| LOCK2 | 0 | &tzd->lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |
drivers/acpi/thermal.c acpi_thermal_zone_sysfs_add() -> thermal_zone_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tzd | 4096-ptr_max |
| BUF_SIZE | 0 | tzd | 2576-s32max |
| BUF_SIZE | 0 | tzd | 2576-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tzd->governor->bind_to_tz | |
| NO_OVERFLOW_SIMPLE | 0 | tzd->num_trips |
drivers/acpi/thermal.c acpi_thermal_zone_sysfs_remove() -> thermal_zone_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tzd | 4096-ptr_max |
| BUF_SIZE | 0 | tzd | (-1),2576-s32max |
| BUF_SIZE | 0 | tzd | (-1),2576-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tzd->governor->bind_to_tz | |
| NO_OVERFLOW_SIMPLE | 0 | tzd->num_trips |
drivers/thermal/intel/int340x_thermal/int3400_thermal.c int3400_notify() -> thermal_zone_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &pool->lock |
drivers/thermal/intel/intel_pch_thermal.c pch_critical() -> thermal_zone_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tzd | 4096-ptr_max |
| BUF_SIZE | 0 | tzd | (-1)-1,3-6,8,14,16,18,30,33,41,96,248,1296,2576-s32max |
| BUF_SIZE | 0 | tzd | (-1)-1,3-6,8,14,16,18,30,33,41,96,248,1296,2576-s32max |
| BUF_SIZE | 0 | tzd->devdata | (-1),8,16,24,32,40,48,96,104,112,136,200,216,232,256,320,376,392,1232,1616,2248 |
| CAPPED_DATA | 0 | tzd->temperature | 1 |
| DATA_SOURCE | 0 | tzd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | tzd->num_trips | |
| LOCK2 | 0 | &tzd->lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct thermal_zone_device)->lock |