Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hid/hid-nintendo.c joycon_init() -> joycon_send_usb()

Type Parameter Key Value
PARAM_VALUE 0 ctlr 4096-ptr_max
PARAM_VALUE 0 ctlr->hdev 4096-ptr_max
PARAM_VALUE 0 ctlr->hdev->bus 3
PARAM_VALUE 0 ctlr->output_mutex.dep_map->name 0-255
PARAM_VALUE 0 ctlr->output_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ctlr->output_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctlr->output_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctlr->output_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ctlr->output_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ctlr->output_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 cmd 2
PARAM_VALUE 2 timeout 250
BUF_SIZE 0 ctlr s32min-(-2),1-s32max
BUF_SIZE 0 ctlr s32min-(-2),1-s32max
CAPPED_DATA 0 &ctlr->output_mutex 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ctlr unit_byte
LOCK2 0 &ctlr->output_mutex
TYPE_LOCK (struct joycon_ctlr)->output_mutex

drivers/hid/hid-nintendo.c joycon_init() -> joycon_send_usb()

Type Parameter Key Value
PARAM_VALUE 0 ctlr 4096-ptr_max
PARAM_VALUE 0 ctlr->hdev 4096-ptr_max
PARAM_VALUE 0 ctlr->hdev->bus 3
PARAM_VALUE 0 ctlr->hdev->driver_data->thc_hw->thc_bus_lock.dep_map->name 0-255
PARAM_VALUE 0 ctlr->hdev->driver_data->thc_hw->thc_regmap->cache_dirty 0-1
PARAM_VALUE 0 ctlr->msg_type 1
PARAM_VALUE 0 ctlr->output_mutex.dep_map->name 0-255
PARAM_VALUE 0 ctlr->output_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ctlr->output_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctlr->output_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctlr->output_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ctlr->output_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ctlr->output_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ctlr->received_resp 0
PARAM_VALUE 0 ctlr->usb_ack_match 2
PARAM_VALUE 0 *ctlr->hdev->driver_data->report_buf 0-255
PARAM_VALUE 0 *ctlr->input_buf 0-255
PARAM_VALUE 1 cmd 3
PARAM_VALUE 2 timeout 250
BUF_SIZE 0 ctlr s32min-(-2),1-s32max
BUF_SIZE 0 ctlr s32min-(-2),1-s32max
CAPPED_DATA 0 &ctlr->output_mutex 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ctlr unit_byte
LOCK2 0 &ctlr->output_mutex
TYPE_LOCK (struct joycon_ctlr)->output_mutex

drivers/hid/hid-nintendo.c joycon_init() -> joycon_send_usb()

Type Parameter Key Value
PARAM_VALUE 0 ctlr 4096-ptr_max
PARAM_VALUE 0 ctlr->hdev 4096-ptr_max
PARAM_VALUE 0 ctlr->hdev->bus 3
PARAM_VALUE 0 ctlr->hdev->driver_data->thc_hw->thc_bus_lock.dep_map->name 0-255
PARAM_VALUE 0 ctlr->hdev->driver_data->thc_hw->thc_regmap->cache_dirty 0-1
PARAM_VALUE 0 ctlr->msg_type 1
PARAM_VALUE 0 ctlr->output_mutex.dep_map->name 0-255
PARAM_VALUE 0 ctlr->output_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ctlr->output_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctlr->output_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctlr->output_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ctlr->output_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ctlr->output_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ctlr->received_resp 0
PARAM_VALUE 0 ctlr->usb_ack_match 3
PARAM_VALUE 0 *ctlr->hdev->driver_data->report_buf 0-255
PARAM_VALUE 0 *ctlr->input_buf 0-255
PARAM_VALUE 1 cmd 2
PARAM_VALUE 2 timeout 250
BUF_SIZE 0 ctlr s32min-(-2),1-s32max
BUF_SIZE 0 ctlr s32min-(-2),1-s32max
CAPPED_DATA 0 &ctlr->output_mutex 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ctlr unit_byte
LOCK2 0 &ctlr->output_mutex
TYPE_LOCK (struct joycon_ctlr)->output_mutex

drivers/hid/hid-nintendo.c joycon_init() -> joycon_send_usb()

Type Parameter Key Value
PARAM_VALUE 0 ctlr 4096-ptr_max
PARAM_VALUE 0 ctlr->hdev 4096-ptr_max
PARAM_VALUE 0 ctlr->hdev->bus 3
PARAM_VALUE 0 ctlr->hdev->driver_data->thc_hw->thc_bus_lock.dep_map->name 0-255
PARAM_VALUE 0 ctlr->hdev->driver_data->thc_hw->thc_regmap->cache_dirty 0-1
PARAM_VALUE 0 ctlr->msg_type 1
PARAM_VALUE 0 ctlr->output_mutex.dep_map->name 0-255
PARAM_VALUE 0 ctlr->output_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ctlr->output_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctlr->output_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctlr->output_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ctlr->output_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 ctlr->output_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ctlr->received_resp 0
PARAM_VALUE 0 ctlr->usb_ack_match 2
PARAM_VALUE 0 *ctlr->hdev->driver_data->report_buf 0-255
PARAM_VALUE 0 *ctlr->input_buf 0-255
PARAM_VALUE 1 cmd 4
PARAM_VALUE 2 timeout 25
BUF_SIZE 0 ctlr s32min-(-2),1-s32max
BUF_SIZE 0 ctlr s32min-(-2),1-s32max
CAPPED_DATA 0 &ctlr->output_mutex 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ctlr unit_byte
LOCK2 0 &ctlr->output_mutex
TYPE_LOCK (struct joycon_ctlr)->output_mutex