Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/iio/common/hid-sensors/hid-sensor-trigger.c _hid_sensor_set_report_latency() -> hid_sensor_set_report_latency()

Type Parameter Key Value
PARAM_VALUE 1 latency_ms (-2246483)-2246483
BUF_SIZE 0 st s32min-(-2),1-s32max
BUF_SIZE 0 st s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 st unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/iio/common/hid-sensors/hid-sensor-trigger.c hid_sensor_set_power_work() -> hid_sensor_set_report_latency()

Type Parameter Key Value
PARAM_VALUE 0 st 4096-ptr_max
PARAM_VALUE 0 st->hsdev->hdev->driver_input_lock.first_waiter->up 0-1
PARAM_VALUE 0 st->latency_ms 1-s32max
PARAM_VALUE 1 latency_ms 1-s32max
FUZZY_MAX 0 st->latency_ms 1
FUZZY_MAX 1 latency_ms 1
NOCHECK_CALL
HALF_LOCKED2 &pool->lock