Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 18 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlxsw/core_thermal.c mlxsw_thermal_gearbox_tz_init() -> thermal_zone_device_register_with_trips()

Type Parameter Key Value
PARAM_VALUE 0 type 4721784778734673920
PARAM_VALUE 1 trips 4096-ptr_max
PARAM_VALUE 2 num_trips 3
PARAM_VALUE 3 devdata 4096-ptr_max
PARAM_VALUE 4 ops 8765087365029752832
PARAM_VALUE 5 tzp 8860908737756192768
PARAM_VALUE 6 passive_delay 0
BUF_SIZE 0 type 40
BUF_SIZE 1 trips 72
DATA_SOURCE 3 devdata $0
STR_LEN 0 type 39
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/mellanox/mlxsw/core_thermal.c mlxsw_thermal_init() -> thermal_zone_device_register_with_trips()

Type Parameter Key Value
PARAM_VALUE 0 type 7869096366164398080
PARAM_VALUE 1 trips 4096-ptr_max
PARAM_VALUE 2 num_trips 3
PARAM_VALUE 3 devdata 4096-ptr_max
PARAM_VALUE 4 ops 2735371544554512384
PARAM_VALUE 5 tzp 8860908737756192768
PARAM_VALUE 6 passive_delay 0
PARAM_VALUE 7 polling_delay 1000,20000
BUF_SIZE 0 type 6
BUF_SIZE 1 trips 72
BUF_SIZE 3 devdata 248-u64max
DATA_SOURCE 3 devdata r _kzalloc_noprof
STR_LEN 0 type 5
BIT_INFO 7 polling_delay 0x220,0x4fe8
TERMINATED 0 type 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &devlink->lock

drivers/net/ethernet/mellanox/mlxsw/core_thermal.c mlxsw_thermal_module_tz_init() -> thermal_zone_device_register_with_trips()

Type Parameter Key Value
PARAM_VALUE 0 type 1563418526767427584
PARAM_VALUE 1 trips 4096-ptr_max
PARAM_VALUE 2 num_trips 3
PARAM_VALUE 3 devdata 4096-ptr_max
PARAM_VALUE 4 ops 4260732693575733248
PARAM_VALUE 5 tzp 8860908737756192768
PARAM_VALUE 6 passive_delay 0
BUF_SIZE 0 type 40
BUF_SIZE 1 trips 72
DATA_SOURCE 3 devdata $0
STR_LEN 0 type 39
RX_PATH
TASK_NOT_RUNNING

drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c int340x_thermal_zone_add() -> thermal_zone_device_register_with_trips()

Type Parameter Key Value
PARAM_VALUE 1 trips 16,4096-ptr_max
PARAM_VALUE 2 num_trips 0-s32max
PARAM_VALUE 3 devdata 4096-ptr_max
PARAM_VALUE 4 ops 6180119257938563072
PARAM_VALUE 4 ops->critical 2486592334291099648
PARAM_VALUE 4 ops->get_temp 2762730022571442176,7674760855416217600
PARAM_VALUE 4 ops->hot 0
PARAM_VALUE 4 ops->set_trip_temp 5632331131853381632
PARAM_VALUE 5 tzp 920063497545363456
PARAM_VALUE 6 passive_delay 0
PARAM_VALUE 7 polling_delay 0
BUF_SIZE 0 type 8
BUF_SIZE 1 trips 0-u64max
BUF_SIZE 3 devdata 40
CAPPED_DATA 2 num_trips 1
DATA_SOURCE 1 trips r _kzalloc_noprof
DATA_SOURCE 2 num_trips r int340x_thermal_read_trips
DATA_SOURCE 3 devdata r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING

drivers/thermal/intel/x86_pkg_temp_thermal.c pkg_temp_thermal_device_add() -> thermal_zone_device_register_with_trips()

Type Parameter Key Value
PARAM_VALUE 0 type 6837491263572520960
PARAM_VALUE 1 trips 4096-ptr_max
PARAM_VALUE 2 num_trips 1-2
PARAM_VALUE 3 devdata 4096-ptr_max
PARAM_VALUE 4 ops 2839211580383850496
PARAM_VALUE 5 tzp 4534310887883071488
PARAM_VALUE 6 passive_delay 0
PARAM_VALUE 7 polling_delay 0
BUF_SIZE 0 type 13
BUF_SIZE 1 trips 48
BUF_SIZE 3 devdata 1232
CAPPED_DATA 2 num_trips 1
DATA_SOURCE 3 devdata r _kzalloc_noprof
STR_LEN 0 type 12
TERMINATED 0 type 1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 2 num_trips 1[c]
HALF_LOCKED2 global &cpuhp_state_mutex
HALF_LOCKED2 irq

drivers/net/ethernet/chelsio/cxgb4/cxgb4_thermal.c cxgb4_thermal_init() -> thermal_zone_device_register_with_trips()

Type Parameter Key Value
PARAM_VALUE 0 type 8393652645422526464
PARAM_VALUE 1 trips 5462904986617864192
PARAM_VALUE 2 num_trips 0-1
PARAM_VALUE 3 devdata 4096-ptr_max
PARAM_VALUE 4 ops 1373139416532643840
PARAM_VALUE 5 tzp 0
PARAM_VALUE 6 passive_delay 0
PARAM_VALUE 7 polling_delay 0
BUF_SIZE 0 type 20
DATA_SOURCE 3 devdata $0
FUZZY_MAX 2 num_trips 1
STR_LEN 0 type 19
HARD_MAX 2 num_trips 1

drivers/thermal/thermal_core.c thermal_tripless_zone_device_register() -> thermal_zone_device_register_with_trips()

Type Parameter Key Value
PARAM_VALUE 1 trips 0
PARAM_VALUE 2 num_trips 0
PARAM_VALUE 3 devdata 4096-ptr_max
PARAM_VALUE 4 ops 2521171171765497856,2869242260689235968,4106471759294918656,4204431194652147712,7262406415315021824,7673551681376849920,8558918562400817152
PARAM_VALUE 5 tzp 0,1925916319996661760,5273149117467160576
PARAM_VALUE 5 tzp->k_d 0
PARAM_VALUE 5 tzp->k_i 0
PARAM_VALUE 5 tzp->k_po 0
PARAM_VALUE 5 tzp->k_pu 0
PARAM_VALUE 5 tzp->no_hwmon 1
PARAM_VALUE 5 tzp->offset 0
PARAM_VALUE 5 tzp->slope 0
PARAM_VALUE 6 passive_delay 0
PARAM_VALUE 7 polling_delay 0
BUF_SIZE 0 type s32min,(-10),1-s32max
BUF_SIZE 0 type s32min,(-10),1-s32max
BUF_SIZE 3 devdata 8,16,24,112,232,592,2256
BUF_SIZE 3 devdata 8,16,24,112,232,592,2256
DATA_SOURCE 0 type $0
DATA_SOURCE 3 devdata $1
DATA_SOURCE 4 ops $2
DATA_SOURCE 5 tzp $3
STR_LEN 0 type (-1),6-8,10-13,15-16,19,27,31
STR_LEN 0 type (-1),6-8,10-13,15-16,19,27,31
RX_PATH
TASK_NOT_RUNNING

drivers/net/wireless/intel/iwlwifi/mld/thermal.c iwl_mld_thermal_zone_register() -> thermal_zone_device_register_with_trips()

Type Parameter Key Value
PARAM_VALUE 0 type 4099685897691860992
PARAM_VALUE 1 trips 1018935707169501184
PARAM_VALUE 2 num_trips 8
PARAM_VALUE 3 devdata 4096-ptr_max
PARAM_VALUE 4 ops 7247594894042095616
PARAM_VALUE 5 tzp 0
PARAM_VALUE 6 passive_delay 0
PARAM_VALUE 7 polling_delay 0
BUF_SIZE 0 type 16
BUF_SIZE 1 trips 192
DATA_SOURCE 3 devdata $0
LOCK2 global &iwlwifi_opmode_table_mtx
HALF_LOCKED2 &pool->lock

drivers/platform/x86/acerhdf.c acerhdf_register_thermal() -> thermal_zone_device_register_with_trips()

Type Parameter Key Value
PARAM_VALUE 0 type 5539862769923391488
PARAM_VALUE 1 trips 4297249713936994304
PARAM_VALUE 2 num_trips 2
PARAM_VALUE 3 devdata 0
PARAM_VALUE 4 ops 3367467064688394240
PARAM_VALUE 5 tzp 8048216459568377856
PARAM_VALUE 6 passive_delay 0
BUF_SIZE 0 type 8
BUF_SIZE 1 trips 48
STR_LEN 0 type 7
TERMINATED 0 type 1
UNITS 2 num_trips unit_array_size

drivers/thermal/testing/zone.c tt_zone_register_tz() -> thermal_zone_device_register_with_trips()

Type Parameter Key Value
PARAM_VALUE 0 type 4433864578836926464
PARAM_VALUE 1 trips 16,4096-ptr_max
PARAM_VALUE 2 num_trips 0-s32max
PARAM_VALUE 3 devdata 4096-ptr_max
PARAM_VALUE 4 ops 2649779891294752768
PARAM_VALUE 5 tzp 0
PARAM_VALUE 6 passive_delay 0
PARAM_VALUE 7 polling_delay 0
BUF_SIZE 0 type 8
BUF_SIZE 1 trips 0-103079215080
BUF_SIZE 1 trips 0-103079215080
DATA_SOURCE 1 trips r _kzalloc_noprof
DATA_SOURCE 3 devdata $0
FUZZY_MAX 2 num_trips 0
STR_LEN 0 type 7
TERMINATED 0 type 1
LOCK2 &tt_zone->lock
TYPE_LOCK (struct tt_thermal_zone)->lock

drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c proc_thermal_pci_probe() -> thermal_zone_device_register_with_trips()

Type Parameter Key Value
PARAM_VALUE 0 type 2585680593604386816
PARAM_VALUE 1 trips 3356406660112998400
PARAM_VALUE 1 trips->flags 1
PARAM_VALUE 1 trips->priv 0
PARAM_VALUE 1 trips->temperature (-274000),(-255000)-(-1000),0-254000
PARAM_VALUE 1 trips->type 1
PARAM_VALUE 2 num_trips 1
PARAM_VALUE 3 devdata 4096-ptr_max
PARAM_VALUE 4 ops 3938161444688076800
PARAM_VALUE 5 tzp 4236046068509659136
PARAM_VALUE 6 passive_delay 0
PARAM_VALUE 7 polling_delay 0
BUF_SIZE 0 type 9
BUF_SIZE 3 devdata 216
DATA_SOURCE 3 devdata r devm_kzalloc
STR_LEN 0 type 8
TERMINATED 0 type 1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 trips->temperature (-255000)-(-1000),0-254000[c]

drivers/acpi/thermal.c acpi_thermal_register_thermal_zone() -> thermal_zone_device_register_with_trips()

Type Parameter Key Value
PARAM_VALUE 0 type 7469958373693091840
PARAM_VALUE 1 trips 4096-ptr_max
PARAM_VALUE 2 num_trips s32min-(-1),1-s32max
PARAM_VALUE 3 devdata 4096-ptr_max
PARAM_VALUE 4 ops 4106471759294918656
PARAM_VALUE 5 tzp 0
BUF_SIZE 0 type 7
BUF_SIZE 1 trips 312
BUF_SIZE 1 trips 312
BUF_SIZE 3 devdata 592
DATA_SOURCE 1 trips $1
DATA_SOURCE 2 num_trips $2
DATA_SOURCE 3 devdata $0
DATA_SOURCE 6 passive_delay $3
STR_LEN 0 type 6
TERMINATED 0 type 1
RX_PATH
TASK_NOT_RUNNING

drivers/thermal/renesas/rcar_thermal.c rcar_thermal_probe() -> thermal_zone_device_register_with_trips()

Type Parameter Key Value
PARAM_VALUE 0 type 5328031115996131328
PARAM_VALUE 1 trips 7148419908833042432
PARAM_VALUE 2 num_trips 1
PARAM_VALUE 3 devdata 4096-ptr_max
PARAM_VALUE 4 ops 3445819231408877568
PARAM_VALUE 4 ops->get_temp 1-u64max
PARAM_VALUE 5 tzp 0
PARAM_VALUE 6 passive_delay 0
PARAM_VALUE 7 polling_delay 0,5000
BUF_SIZE 0 type 13
BUF_SIZE 3 devdata 392
DATA_SOURCE 3 devdata r devm_kzalloc
STR_LEN 0 type 12
BIT_INFO 7 polling_delay 0x0,0x1388
TERMINATED 0 type 1
RX_PATH
TASK_NOT_RUNNING
UNITS 2 num_trips unit_array_size

drivers/thermal/intel/intel_pch_thermal.c intel_pch_thermal_probe() -> thermal_zone_device_register_with_trips()

Type Parameter Key Value
PARAM_VALUE 1 trips 4096-ptr_max
PARAM_VALUE 3 devdata 4096-ptr_max
PARAM_VALUE 4 ops 6457044525352960000
PARAM_VALUE 5 tzp 0
PARAM_VALUE 6 passive_delay 0
PARAM_VALUE 7 polling_delay 0
BUF_SIZE 1 trips 72
BUF_SIZE 3 devdata 32
DATA_SOURCE 3 devdata r devm_kzalloc
RX_PATH
TASK_NOT_RUNNING

drivers/thermal/thermal_of.c thermal_of_zone_register() -> thermal_zone_device_register_with_trips()

Type Parameter Key Value
PARAM_VALUE 1 trips 0,4096-ptr_max
PARAM_VALUE 2 num_trips 0-s32max
PARAM_VALUE 4 ops 2755804689256353792
PARAM_VALUE 4 ops->should_bind 489094853913337856
PARAM_VALUE 5 tzp 6136498151593324544
PARAM_VALUE 5 tzp->k_d 0
PARAM_VALUE 5 tzp->k_i 0
PARAM_VALUE 5 tzp->k_po 0
PARAM_VALUE 5 tzp->k_pu 0
PARAM_VALUE 5 tzp->no_hwmon 1
BUF_SIZE 0 type 7
BUF_SIZE 3 devdata (-1),16,24,32,40,48,104,136,200,256,320,376,392,680,1616,13440,13480,13952
BUF_SIZE 3 devdata (-1),16,24,32,40,48,104,136,200,256,320,376,392,680,1616,13440,13480,13952
DATA_SOURCE 1 trips r thermal_of_trips_init
DATA_SOURCE 3 devdata $2
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 2 num_trips

drivers/net/wireless/intel/iwlwifi/mvm/tt.c iwl_mvm_thermal_zone_register() -> thermal_zone_device_register_with_trips()

Type Parameter Key Value
PARAM_VALUE 0 type 4989116472276635648
PARAM_VALUE 1 trips 4096-ptr_max
PARAM_VALUE 2 num_trips 8
PARAM_VALUE 3 devdata 4096-ptr_max
PARAM_VALUE 4 ops 2509872260782616576
PARAM_VALUE 5 tzp 0
PARAM_VALUE 6 passive_delay 0
PARAM_VALUE 7 polling_delay 0
BUF_SIZE 0 type 16
BUF_SIZE 1 trips 192
DATA_SOURCE 3 devdata $0
LOCK2 global &iwlwifi_opmode_table_mtx
HALF_LOCKED2 &pool->lock

drivers/thermal/imx_thermal.c imx_thermal_probe() -> thermal_zone_device_register_with_trips()

Type Parameter Key Value
PARAM_VALUE 0 type 6038429107296612352
PARAM_VALUE 1 trips 6201367679719346176
PARAM_VALUE 2 num_trips 2
PARAM_VALUE 3 devdata 4096-ptr_max
PARAM_VALUE 4 ops 7532503670419963904
PARAM_VALUE 5 tzp 0
PARAM_VALUE 6 passive_delay 1000
PARAM_VALUE 7 polling_delay 2000
BUF_SIZE 0 type 17
BUF_SIZE 1 trips 48
BUF_SIZE 3 devdata 96
DATA_SOURCE 3 devdata r devm_kzalloc
STR_LEN 0 type 16
TERMINATED 0 type 1
RX_PATH
TASK_NOT_RUNNING
UNITS 2 num_trips unit_array_size

drivers/thermal/intel/intel_soc_dts_iosf.c add_dts_thermal_zone() -> thermal_zone_device_register_with_trips()

Type Parameter Key Value
PARAM_VALUE 0 type 2996593131824160768
PARAM_VALUE 2 num_trips 2
PARAM_VALUE 3 devdata 4096-ptr_max
PARAM_VALUE 4 ops 1125407024387215360
PARAM_VALUE 5 tzp 0
PARAM_VALUE 6 passive_delay 0
PARAM_VALUE 7 polling_delay 0
BUF_SIZE 0 type 10
BUF_SIZE 1 trips 48
BUF_SIZE 1 trips 48
DATA_SOURCE 1 trips $2
DATA_SOURCE 3 devdata $1
STR_LEN 0 type 9
RX_PATH
TASK_NOT_RUNNING

drivers/thermal/da9062-thermal.c da9062_thermal_probe() -> thermal_zone_device_register_with_trips()

Type Parameter Key Value
PARAM_VALUE 1 trips 4892590515400024064
PARAM_VALUE 2 num_trips 1
PARAM_VALUE 3 devdata 4096-ptr_max
PARAM_VALUE 4 ops 2080633202649804800
PARAM_VALUE 5 tzp 0
PARAM_VALUE 7 polling_delay 0
BUF_SIZE 3 devdata 376
DATA_SOURCE 3 devdata r devm_kzalloc
RX_PATH
TASK_NOT_RUNNING
UNITS 2 num_trips unit_array_size