Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thermal/tegra/soctherm.c soctherm_init_hw_throt_cdev() -> find_throttle_cfg_by_name()

Type Parameter Key Value
PARAM_VALUE 0 ts 4096-ptr_max
PARAM_VALUE 0 ts->throt_cfgs 4096-ptr_max
BUF_SIZE 0 ts s32min-(-2),1-s32max
BUF_SIZE 0 ts s32min-(-2),1-s32max
BUF_SIZE 1 name 7
BUF_SIZE 1 name 7
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ts unit_byte

drivers/thermal/tegra/soctherm.c tegra_soctherm_set_hwtrips() -> find_throttle_cfg_by_name()

Type Parameter Key Value
PARAM_VALUE 0 ts 4096-ptr_max
PARAM_VALUE 0 ts->throt_cfgs 4096-ptr_max
BUF_SIZE 0 ts s32min-(-2),1-s32max
BUF_SIZE 0 ts s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ts unit_byte

drivers/thermal/tegra/soctherm.c tegra_thermctl_set_trip_temp() -> find_throttle_cfg_by_name()

Type Parameter Key Value
PARAM_VALUE 0 ts 4096-ptr_max
PARAM_VALUE 0 ts->throt_cfgs 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 &tz->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct thermal_zone_device)->lock