Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/hid/hid-wiimote-core.c wiimote_cmd_read() -> wiimote_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 wdata 4096-ptr_max
PARAM_VALUE 0 wdata->input->dev.dma_io_tlb_mem->phys_limit 0-s64max
PARAM_VALUE 0 wdata->input->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 wdata->input->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 wdata->input->poller->poll_interval 0-4294967295
PARAM_VALUE 0 wdata->input->poller->poll_interval_max 0-4294967295
PARAM_VALUE 0 wdata->state.cmd 23
PARAM_VALUE 0 wdata->state.cmd_read_buf 4096-ptr_max
PARAM_VALUE 0 wdata->state.cmd_read_size 6,12
PARAM_VALUE 0 wdata->state.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.opt 36,48,250
PARAM_VALUE 0 wdata->state.ready.done 0
PARAM_VALUE 0 wdata->state.ready.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.sync.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.sync.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 wdata->state.sync.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 wdata->state.sync.osq.tail.counter 0-s32max
BUF_SIZE 0 wdata s32min-(-1),1-s32max
BUF_SIZE 0 wdata s32min-(-1),1-s32max
BUF_SIZE 0 wdata->input (-1),2480
BUF_SIZE 0 wdata->input->dev.parent (-1),1616
BUF_SIZE 0 wdata->input->name (-1),20
BUF_SIZE 0 wdata->state.cmd_read_buf 6,12,24
DATA_SOURCE 0 wdata $0
FUZZY_MAX 0 wdata->state.opt 250
STR_LEN 0 wdata->input->name (-1),19
HARD_MAX 0 wdata->state.opt 250
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 wdata->input->max_vals
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 0 &wdata->state.sync

drivers/hid/hid-wiimote-core.c wiimote_cmd_write() -> wiimote_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 wdata 4096-ptr_max
PARAM_VALUE 0 wdata->input->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 wdata->input->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 wdata->input->poller->poll_interval 0-4294967295
PARAM_VALUE 0 wdata->input->poller->poll_interval_max 0-4294967295
PARAM_VALUE 0 wdata->state.cmd 22
PARAM_VALUE 0 wdata->state.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.opt 0
PARAM_VALUE 0 wdata->state.ready.done 0
PARAM_VALUE 0 wdata->state.ready.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.sync.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.sync.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 wdata->state.sync.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 wdata->state.sync.osq.tail.counter 0-s32max
BUF_SIZE 0 wdata s32min-(-1),1-s32max
BUF_SIZE 0 wdata s32min-(-1),1-s32max
DATA_SOURCE 0 wdata $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 wdata->input->max_vals
UNITS 0 wdata unit_byte
HALF_LOCKED2 0 &wdata->state.sync

drivers/hid/hid-wiimote-modules.c wiimod_battery_get_property() -> wiimote_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 wdata 4096-ptr_max
PARAM_VALUE 0 wdata->state.cmd 21
PARAM_VALUE 0 wdata->state.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.opt 0
PARAM_VALUE 0 wdata->state.ready.done 0
PARAM_VALUE 0 wdata->state.ready.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.sync.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.sync.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 wdata->state.sync.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 wdata->state.sync.osq.tail.counter 0-s32max
BUF_SIZE 0 wdata s32min-(-2),1-s32max
BUF_SIZE 0 wdata s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 wdata unit_byte
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

drivers/hid/hid-wiimote-modules.c wiimod_ir_change() -> wiimote_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 wdata 4096-ptr_max
PARAM_VALUE 0 wdata->state.cmd 19
PARAM_VALUE 0 wdata->state.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.opt 0
PARAM_VALUE 0 wdata->state.ready.done 0
PARAM_VALUE 0 wdata->state.ready.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.sync.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.sync.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 wdata->state.sync.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 wdata->state.sync.osq.tail.counter 0-s32max
BUF_SIZE 0 wdata s32min-(-2),1-s32max
BUF_SIZE 0 wdata s32min-(-2),1-s32max
DATA_SOURCE 0 wdata $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 wdata unit_byte
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock

drivers/hid/hid-wiimote-modules.c wiimod_ir_change() -> wiimote_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 wdata 4096-ptr_max
PARAM_VALUE 0 wdata->state.cmd 26
PARAM_VALUE 0 wdata->state.cmd_err 0
PARAM_VALUE 0 wdata->state.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.opt 0
PARAM_VALUE 0 wdata->state.ready.done 0
PARAM_VALUE 0 wdata->state.ready.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.ready.wait.task_list.prev->next 4096-ptr_max
PARAM_VALUE 0 wdata->state.ready.wait.task_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 wdata->state.sync.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.sync.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 wdata->state.sync.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 wdata->state.sync.osq.tail.counter 0-s32max
BUF_SIZE 0 wdata s32min-(-2),1-s32max
BUF_SIZE 0 wdata s32min-(-2),1-s32max
DATA_SOURCE 0 wdata $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 wdata unit_byte
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock

drivers/hid/hid-wiimote-debug.c wiidebug_eeprom_read() -> wiimote_cmd_wait()

Type Parameter Key Value
PARAM_VALUE 0 wdata 4096-ptr_max
PARAM_VALUE 0 wdata->state.cmd 23
PARAM_VALUE 0 wdata->state.cmd_read_buf 1839355870049726464
PARAM_VALUE 0 wdata->state.cmd_read_size 1-16
PARAM_VALUE 0 wdata->state.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.opt 0-u16max
PARAM_VALUE 0 wdata->state.ready.done 0
PARAM_VALUE 0 wdata->state.ready.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.sync.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.sync.first_waiter 0,4096-5159360019465732095,5159360019465732097-ptr_max
PARAM_VALUE 0 wdata->state.sync.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 wdata->state.sync.osq.tail.counter 0-s32max
BUF_SIZE 0 wdata->state.cmd_read_buf 16
USER_DATA 0 wdata->state.cmd_read_size 1-16
USER_DATA 0 wdata->state.opt 0-u16max[c]