Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hwmon/cgbc-hwmon.c cgbc_hwmon_is_visible() -> cgbc_hwmon_find_sensor()

Type Parameter Key Value
PARAM_VALUE 1 type 0-10
PARAM_VALUE 2 channel 0-s32max
BUF_SIZE 0 hwmon s32min-(-1),1-s32max
BUF_SIZE 0 hwmon s32min-(-1),1-s32max
DATA_SOURCE 0 hwmon $0
DATA_SOURCE 1 type $1
DATA_SOURCE 2 channel $3
FUZZY_MAX 2 channel 0
HARD_MAX 1 type 10
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &hdev->driver_input_lock
HALF_LOCKED2 &mdev->intf_state_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &sp->mutex
HALF_LOCKED2 _T->lock

drivers/hwmon/cgbc-hwmon.c cgbc_hwmon_read() -> cgbc_hwmon_find_sensor()

Type Parameter Key Value
BUF_SIZE 0 hwmon s32min-(-2),1-s32max
BUF_SIZE 0 hwmon s32min-(-2),1-s32max
DATA_SOURCE 1 type $1
DATA_SOURCE 2 channel $3
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hwmon unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tz->lock

drivers/hwmon/cgbc-hwmon.c cgbc_hwmon_read_string() -> cgbc_hwmon_find_sensor()

Type Parameter Key Value
BUF_SIZE 0 hwmon s32min-(-2),1-s32max
BUF_SIZE 0 hwmon s32min-(-2),1-s32max
DATA_SOURCE 1 type $1
DATA_SOURCE 2 channel $3
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hwmon unit_byte
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex