Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thermal/thermal_helpers.c thermal_trip_is_bound_to_cdev() -> thermal_instance_present()

Type Parameter Key Value
PARAM_VALUE 0 tz 4096-ptr_max
PARAM_VALUE 2 trip 1-u64max
BUF_SIZE 0 tz (-1),2576-s32max
BUF_SIZE 0 tz (-1),2576-s32max
BUF_SIZE 0 tz->devdata (-1),40
BUF_SIZE 2 trip (-1),24
BUF_SIZE 2 trip (-1),24
DATA_SOURCE 0 tz $0
DATA_SOURCE 1 cdev $2
DATA_SOURCE 2 trip $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 tz->num_trips
LOCK2 0 &tz->lock
LOCK2 1 &cdev->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct thermal_cooling_device)->lock
TYPE_LOCK (struct thermal_zone_device)->lock