Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/thermal/cpufreq_cooling.c __cpufreq_cooling_register() -> thermal_of_cooling_device_register()

Type Parameter Key Value
PARAM_VALUE 0 np 0,4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 cdev_id 0
PARAM_VALUE 2 type 1-u64max
PARAM_VALUE 3 devdata 4096-ptr_max
PARAM_VALUE 4 ops 4096-ptr_max
PARAM_VALUE 4 ops->get_cur_state 5725128958511566848
PARAM_VALUE 4 ops->get_max_state 2725627515390590976
PARAM_VALUE 4 ops->set_cur_state 2190582422455914496
BUF_SIZE 2 type 0-s32max
BUF_SIZE 2 type 0-s32max
BUF_SIZE 3 devdata 136
BUF_SIZE 4 ops 48
CAPPED_DATA 2 type 1
DATA_SOURCE 0 np $0
DATA_SOURCE 2 type r kasprintf
DATA_SOURCE 3 devdata r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/etnaviv/etnaviv_gpu.c etnaviv_gpu_bind() -> thermal_of_cooling_device_register()

Type Parameter Key Value
PARAM_VALUE 1 cdev_id 0
PARAM_VALUE 4 ops 6612791680972152832
BUF_SIZE 2 type 1-s32max
BUF_SIZE 3 devdata s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte
UNITS 3 devdata unit_byte
HALF_LOCKED2 global &component_mutex

drivers/thermal/devfreq_cooling.c of_devfreq_cooling_register_power() -> thermal_of_cooling_device_register()

Type Parameter Key Value
PARAM_VALUE 1 cdev_id 0
PARAM_VALUE 2 type 1-u64max
PARAM_VALUE 3 devdata 4096-ptr_max
PARAM_VALUE 4 ops 4096-ptr_max
PARAM_VALUE 4 ops->get_cur_state 769698446351097856
PARAM_VALUE 4 ops->get_max_state 5377222852603179008
PARAM_VALUE 4 ops->set_cur_state 5215408101342035968
BUF_SIZE 2 type 0-s32max
BUF_SIZE 2 type 0-s32max
BUF_SIZE 3 devdata 184
BUF_SIZE 4 ops 48
CAPPED_DATA 2 type 1
DATA_SOURCE 0 np $0
DATA_SOURCE 2 type r kasprintf
DATA_SOURCE 3 devdata r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/thermal/thermal_of.c __devm_thermal_of_cooling_device_register() -> thermal_of_cooling_device_register()

Type Parameter Key Value
PARAM_VALUE 0 np->fwnode.ops->get 0,4096-ptr_max
BUF_SIZE 2 type (-1),4,7-9,15-16,20
BUF_SIZE 2 type (-1),4,7-9,15-16,20
BUF_SIZE 3 devdata s32min-(-1),1-s32max
BUF_SIZE 3 devdata s32min-(-1),1-s32max
DATA_SOURCE 0 np $1
DATA_SOURCE 1 cdev_id $2
DATA_SOURCE 2 type $3
DATA_SOURCE 3 devdata $4
DATA_SOURCE 4 ops $5
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte
UNITS 3 devdata unit_byte

drivers/thermal/cpuidle_cooling.c __cpuidle_cooling_register() -> thermal_of_cooling_device_register()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->properties 0,4096-ptr_max
PARAM_VALUE 1 cdev_id 0
PARAM_VALUE 2 type 1-u64max
PARAM_VALUE 3 devdata 4096-ptr_max
PARAM_VALUE 4 ops 4015835607081254912
BUF_SIZE 2 type 0-s32max
BUF_SIZE 2 type 0-s32max
BUF_SIZE 3 devdata 16
CAPPED_DATA 2 type 1
DATA_SOURCE 0 np $0
DATA_SOURCE 2 type r kasprintf
DATA_SOURCE 3 devdata r _kzalloc_noprof