Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hid/hid-wiimote-modules.c wiimod_led_probe() -> wiiproto_req_leds()

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->leds 4096-ptr_max
PARAM_VALUE 0 wdata->queue.worker.entry.next 4096-ptr_max
PARAM_VALUE 0 wdata->queue.worker.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 wdata->state.cmd 21,23
PARAM_VALUE 0 wdata->state.cmd_read_buf 0
PARAM_VALUE 0 wdata->state.cmd_read_size 6
PARAM_VALUE 0 wdata->state.devtype 1-255
PARAM_VALUE 0 wdata->state.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.opt 0,36,48,250
PARAM_VALUE 0 wdata->state.ready.done 0-4294967293,u32max
PARAM_VALUE 0 wdata->state.ready.wait.lock.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.ready.wait.lock.owner (-1)
PARAM_VALUE 0 wdata->state.ready.wait.lock.owner_cpu u32max
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->list.prev->next 5159360019465732096
PARAM_VALUE 0 wdata->state.sync.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 wdata->state.sync.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 wdata->state.sync.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 wdata->state.sync.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 wdata->state.sync.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 wdata->state.sync.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 1 leds 1
BUF_SIZE 0 wdata->input (-1),2480
BUF_SIZE 0 wdata->input->dev.parent (-1),1616
BUF_SIZE 0 wdata->input->name (-1),20
DATA_SOURCE 0 wdata $1
STR_LEN 0 wdata->input->name (-1),19
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 wdata->input->max_vals
LOCK2 flags
LOCK2 0 &wdata->state.lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct wiimote_state)->lock

drivers/hid/hid-wiimote-modules.c wiimod_led_set() -> wiiproto_req_leds()

Type Parameter Key Value
PARAM_VALUE 0 wdata 4096-ptr_max
PARAM_VALUE 0 wdata->leds 4096-ptr_max
PARAM_VALUE 1 leds 0-255
BUF_SIZE 0 wdata s32min-(-2),1-s32max
BUF_SIZE 0 wdata s32min-(-2),1-s32max
CAPPED_DATA 1 leds 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &wdata->state.lock
TYPE_LOCK (struct wiimote_state)->lock

drivers/hid/hid-wiimote-modules.c wiimod_led_set() -> wiiproto_req_leds()

Type Parameter Key Value
PARAM_VALUE 0 wdata 4096-ptr_max
PARAM_VALUE 0 wdata->leds 4096-ptr_max
PARAM_VALUE 1 leds 0-255
BUF_SIZE 0 wdata s32min-(-2),1-s32max
BUF_SIZE 0 wdata s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &wdata->state.lock
HALF_LOCKED2 &rt2x00dev->conf_mutex
TYPE_LOCK (struct wiimote_state)->lock