Defined in 10 files as a member:

Defined in 2 files as a function:

Referenced in 29 files:

Smatch caller information:

drivers/hid/hid-haptic.c hid_haptic_erase() -> switch_mode()

Type Parameter Key Value
PARAM_VALUE 1 haptic 4096-ptr_max
PARAM_VALUE 1 haptic->mode 1
PARAM_VALUE 1 haptic->release_ordinal 0
PARAM_VALUE 2 mode 0
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 1 haptic 40,1696
BUF_SIZE 1 haptic 40,1696
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 hdev unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &evdev->mutex

drivers/hid/hid-haptic.c hid_haptic_erase() -> switch_mode()

Type Parameter Key Value
PARAM_VALUE 1 haptic 4096-ptr_max
PARAM_VALUE 1 haptic->mode 1
PARAM_VALUE 1 haptic->press_ordinal 0
PARAM_VALUE 2 mode 0
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 1 haptic 40,1696
BUF_SIZE 1 haptic 40,1696
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 hdev unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &evdev->mutex

drivers/hid/hid-haptic.c hid_haptic_upload_effect() -> switch_mode()

Type Parameter Key Value
PARAM_VALUE 1 haptic 4096-ptr_max
PARAM_VALUE 1 haptic->effect 4096-ptr_max
PARAM_VALUE 1 haptic->hid_usage_map 4096-ptr_max
PARAM_VALUE 1 haptic->manual_trigger_mutex.dep_map->name 0-255
PARAM_VALUE 1 haptic->manual_trigger_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 haptic->manual_trigger_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 1 haptic->manual_trigger_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 haptic->manual_trigger_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 haptic->manual_trigger_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 1 haptic->manual_trigger_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 haptic->manual_trigger_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 haptic->manual_trigger_report 4096-ptr_max
PARAM_VALUE 1 haptic->manual_trigger_report->maxfield 0-s32max
PARAM_VALUE 1 haptic->max_waveform_id 1-u32max
PARAM_VALUE 1 haptic->mode 0
PARAM_VALUE 2 mode 1
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 0 hdev s32min-(-2),1-s32max
BUF_SIZE 1 haptic 40,1696
BUF_SIZE 1 haptic 40,1696
CAPPED_DATA 1 haptic->manual_trigger_report->maxfield 1
CAPPED_DATA 1 haptic->max_waveform_id 1
NOCHECK_CALL
UNITS 0 hdev unit_byte
LOCK2 &evdev->mutex
LOCK2 _T->lock
TYPE_LOCK (struct evdev)->mutex

drivers/gpu/drm/xe/xe_hw_engine_group.c xe_hw_engine_group_get_mode() -> switch_mode()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->mode_sem.dep_map->name 0-255
PARAM_VALUE 0 hdev->mode_sem.first_waiter->handoff_set 1
PARAM_VALUE 0 hdev->mode_sem.first_waiter->list.next 2212933610777083904,2624917664208203776
PARAM_VALUE 0 hdev->mode_sem.first_waiter->list.prev 2212933610777083904,2624917664208203776
PARAM_VALUE 0 hdev->mode_sem.first_waiter->type 0-1
PARAM_VALUE 0 hdev->mode_sem.wait_lock.dep_map->name 0-255
CAPPED_DATA 0 &hdev->mode_sem 1
DATA_SOURCE 0 hdev $0
LOCK2 0 &hdev->mode_sem
TYPE_LOCK (struct xe_hw_engine_group)->mode_sem