Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/iio/common/hid-sensors/hid-sensor-attributes.c hid_sensor_set_report_latency() -> sensor_hub_set_feature()

Type Parameter Key Value
PARAM_VALUE 0 hsdev->hdev->driver_input_lock.first_waiter->up 0-1
PARAM_VALUE 3 buffer_size 4
PARAM_VALUE 4 *buffer (-2246483)-s32max
BUF_SIZE 4 buffer 4
RX_PATH
TASK_NOT_RUNNING
UNITS 2 field_index unit_byte
UNITS 3 buffer_size unit_byte
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock

drivers/iio/common/hid-sensors/hid-sensor-attributes.c hid_sensor_write_raw_hyst_rel_value() -> sensor_hub_set_feature()

Type Parameter Key Value
PARAM_VALUE 3 buffer_size 4
PARAM_VALUE 4 buffer 6514136915942273024
PARAM_VALUE 4 *buffer s32min-s32max
BUF_SIZE 4 buffer 4
RX_PATH
TASK_NOT_RUNNING
UNITS 2 field_index unit_byte
UNITS 3 buffer_size 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-attributes.c hid_sensor_write_raw_hyst_value() -> sensor_hub_set_feature()

Type Parameter Key Value
PARAM_VALUE 3 buffer_size 4
PARAM_VALUE 4 buffer 2008273059540934656
PARAM_VALUE 4 *buffer s32min-s32max
BUF_SIZE 4 buffer 4
RX_PATH
TASK_NOT_RUNNING
UNITS 2 field_index unit_byte
UNITS 3 buffer_size 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-attributes.c hid_sensor_write_samp_freq_value() -> sensor_hub_set_feature()

Type Parameter Key Value
PARAM_VALUE 3 buffer_size 4
PARAM_VALUE 4 buffer 2162485613845504000
PARAM_VALUE 4 *buffer (-4611686018427387904)-4611686018427387903
BUF_SIZE 4 buffer 4
RX_PATH
TASK_NOT_RUNNING
UNITS 2 field_index unit_byte
UNITS 3 buffer_size unit_byte
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock

drivers/iio/common/hid-sensors/hid-sensor-trigger.c _hid_sensor_power_state() -> sensor_hub_set_feature()

Type Parameter Key Value
PARAM_VALUE 0 hsdev 4096-ptr_max
PARAM_VALUE 0 hsdev->hdev 4096-ptr_max
PARAM_VALUE 0 hsdev->hdev->dev.driver_data 4096-ptr_max
PARAM_VALUE 0 hsdev->hdev->dev.driver_data->ref_cnt s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->cli_data->work.timer.flags 0-4294967295
PARAM_VALUE 0 hsdev->hdev->driver_data->io_retry.lockdep_map->name 0-255
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->dev->dev.kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->dev->dev.kobj.release.cpu s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->dev->dev.kobj.release.timer.flags 0-4294967295
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->dev->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->dev->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->dev->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->dev->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->reject.counter s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_input_lock.first_waiter->up 0-1
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.dep_map->name 0-255
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 *hsdev->hdev->driver_data->cli_data->request_done 0-1
PARAM_VALUE 2 field_index 0-4294967294
PARAM_VALUE 3 buffer_size 4
PARAM_VALUE 4 buffer 3293654560541691904
PARAM_VALUE 4 *buffer s32min-s32max
BUF_SIZE 4 buffer 4
CAPPED_DATA 0 hsdev->hdev 1
CAPPED_DATA 1 report_id 1
CAPPED_DATA 2 field_index 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 field_index unit_byte
UNITS 3 buffer_size unit_byte

drivers/iio/common/hid-sensors/hid-sensor-trigger.c _hid_sensor_power_state() -> sensor_hub_set_feature()

Type Parameter Key Value
PARAM_VALUE 0 hsdev 4096-ptr_max
PARAM_VALUE 0 hsdev->hdev 4096-ptr_max
PARAM_VALUE 0 hsdev->hdev->dev.driver_data 4096-ptr_max
PARAM_VALUE 0 hsdev->hdev->dev.driver_data->ref_cnt s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->io_retry.lockdep_map->name 0-255
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->dev->dev.kobj.kref.refcount.refs.counter s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->dev->dev.kobj.release.cpu s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->dev->dev.kobj.release.timer.flags 0-4294967295
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->dev->dev.kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->dev->dev.kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->dev->dev.kobj.release.timer.is_queued 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->dev->dev.kobj.release.timer.is_soft 0-1
PARAM_VALUE 0 hsdev->hdev->driver_data->urbin->reject.counter s32min-s32max
PARAM_VALUE 0 hsdev->hdev->driver_input_lock.first_waiter->up 0-1
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.dep_map->name 0-255
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hsdev->hdev->ll_open_lock.osq.tail.counter 0-s32max
PARAM_VALUE 2 field_index 0-4294967294
PARAM_VALUE 3 buffer_size 4
PARAM_VALUE 4 buffer 8706013439977738240
PARAM_VALUE 4 *buffer s32min-s32max
BUF_SIZE 4 buffer 4
CAPPED_DATA 0 hsdev->hdev 1
CAPPED_DATA 1 report_id 1
CAPPED_DATA 2 field_index 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 field_index unit_byte
UNITS 3 buffer_size unit_byte

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

Type Parameter Key Value
PARAM_VALUE 3 buffer_size 4
PARAM_VALUE 4 buffer 4096-ptr_max
PARAM_VALUE 4 *buffer 0-s32max
BUF_SIZE 4 buffer 4
NOCHECK_CALL
UNITS 2 field_index unit_byte
UNITS 3 buffer_size unit_byte
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
PARAM_VALUE 0 hsdev->hdev->driver_input_lock.first_waiter->up 0-1
PARAM_VALUE 3 buffer_size 4
PARAM_VALUE 4 buffer 4096-ptr_max
PARAM_VALUE 4 *buffer 0-s32max
BUF_SIZE 4 buffer 4
NOCHECK_CALL
UNITS 2 field_index unit_byte
UNITS 3 buffer_size unit_byte
HALF_LOCKED2 &pool->lock

drivers/hid/hid-sensor-custom.c set_power_report_state() -> sensor_hub_set_feature()

Type Parameter Key Value
PARAM_VALUE 0 hsdev 4096-ptr_max
PARAM_VALUE 0 hsdev->hdev 4096-ptr_max
PARAM_VALUE 0 hsdev->hdev->driver_input_lock.first_waiter->up 0-1
PARAM_VALUE 2 field_index 0-4294967294
PARAM_VALUE 3 buffer_size 4
PARAM_VALUE 4 buffer 4039342747676839936
PARAM_VALUE 4 *buffer s32min-s32max
BUF_SIZE 4 buffer 4
CAPPED_DATA 1 report_id 1
CAPPED_DATA 2 field_index 1
RX_PATH
TASK_NOT_RUNNING
UNITS 2 field_index unit_byte
UNITS 3 buffer_size unit_byte
LOCK2 &of->mutex
LOCK2 &sensor_inst->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hid_sensor_custom)->mutex
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hid/hid-sensor-custom.c set_power_report_state() -> sensor_hub_set_feature()

Type Parameter Key Value
PARAM_VALUE 0 hsdev 4096-ptr_max
PARAM_VALUE 0 hsdev->hdev 4096-ptr_max
PARAM_VALUE 0 hsdev->hdev->driver_input_lock.first_waiter->up 0-1
PARAM_VALUE 2 field_index 0-4294967294
PARAM_VALUE 3 buffer_size 4
PARAM_VALUE 4 buffer 8727162485925285888
PARAM_VALUE 4 *buffer s32min-s32max
BUF_SIZE 4 buffer 4
CAPPED_DATA 1 report_id 1
CAPPED_DATA 2 field_index 1
RX_PATH
TASK_NOT_RUNNING
UNITS 2 field_index unit_byte
UNITS 3 buffer_size unit_byte
LOCK2 &of->mutex
LOCK2 &sensor_inst->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hid_sensor_custom)->mutex
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hid/hid-sensor-custom.c store_value() -> sensor_hub_set_feature()

Type Parameter Key Value
PARAM_VALUE 3 buffer_size 4
PARAM_VALUE 4 buffer 4799321713571053568
BUF_SIZE 4 buffer 4
RX_PATH
TASK_NOT_RUNNING
UNITS 3 buffer_size unit_byte
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex