Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hid/hid-nintendo.c joycon_check_for_cal_magic() -> joycon_request_spi_flash_read()

Type Parameter Key Value
PARAM_VALUE 0 ctlr 4096-ptr_max
PARAM_VALUE 0 ctlr->ctlr_state 0-1,3-u32max
PARAM_VALUE 0 ctlr->ctlr_type 0-255
PARAM_VALUE 0 ctlr->hdev 4096-ptr_max
PARAM_VALUE 0 ctlr->hdev->bpf.srcu.dep_map->name 0-255
PARAM_VALUE 0 ctlr->hdev->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 ctlr->hdev->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 ctlr->hdev->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ctlr->hdev->driver_data->thc_hw->thc_bus_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctlr->hdev->driver_data->thc_hw->thc_bus_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctlr->hdev->product 0-8205,8207-u32max
PARAM_VALUE 0 ctlr->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctlr->mac_addr_str 1-u64max
PARAM_VALUE 0 ctlr->msg_type 2
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.first_waiter->list.prev->prev 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->subcmd_ack_match 2,16
PARAM_VALUE 0 ctlr->subcmd_num 0-15
PARAM_VALUE 0 *ctlr->input_buf 0-255
PARAM_VALUE 0 *ctlr->mac_addr 0-255
PARAM_VALUE 1 start_addr 32784,32795,32806
PARAM_VALUE 2 size 2
PARAM_VALUE 3 reply 7026903281451450368
BUF_SIZE 0 ctlr s32min-(-2),1-s32max
BUF_SIZE 0 ctlr s32min-(-2),1-s32max
DATA_SOURCE 0 ctlr $0
DATA_SOURCE 1 start_addr $1
HARD_MAX 1 start_addr 32806
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_read_stick_calibration() -> joycon_request_spi_flash_read()

Type Parameter Key Value
PARAM_VALUE 0 ctlr 4096-ptr_max
PARAM_VALUE 0 ctlr->ctlr_state 0-1,3-u32max
PARAM_VALUE 0 ctlr->ctlr_type 0-5,7-255
PARAM_VALUE 0 ctlr->hdev 4096-ptr_max
PARAM_VALUE 0 ctlr->hdev->bpf.srcu.dep_map->name 0-255
PARAM_VALUE 0 ctlr->hdev->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 ctlr->hdev->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 ctlr->hdev->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ctlr->hdev->driver_data->intr_transmit.qlen 0-4294967295
PARAM_VALUE 0 ctlr->hdev->driver_data->thc_hw->thc_bus_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctlr->hdev->driver_data->thc_hw->thc_bus_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctlr->hdev->driver_data->thc_hw->write_done 0
PARAM_VALUE 0 ctlr->hdev->product 0-8205,8207-u32max
PARAM_VALUE 0 ctlr->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctlr->mac_addr_str 1-u64max
PARAM_VALUE 0 ctlr->msg_type 2
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.first_waiter->list.prev->prev 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->subcmd_ack_match 16
PARAM_VALUE 0 ctlr->subcmd_num 0-15
PARAM_VALUE 0 *ctlr->input_buf 0-255
PARAM_VALUE 0 *ctlr->mac_addr 0-255
PARAM_VALUE 1 start_addr 24637,24646,32786,32797
PARAM_VALUE 2 size 9
PARAM_VALUE 3 reply 4927172983724371968
BUF_SIZE 0 ctlr s32min-(-2),1-s32max
BUF_SIZE 0 ctlr s32min-(-2),1-s32max
DATA_SOURCE 0 ctlr $0
DATA_SOURCE 1 start_addr $1
FUZZY_MAX 1 start_addr 32797
BIT_INFO 1 start_addr 0x0,0xe07f
HARD_MAX 1 start_addr 32797
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_request_imu_calibration() -> joycon_request_spi_flash_read()

Type Parameter Key Value
PARAM_VALUE 0 ctlr 4096-ptr_max
PARAM_VALUE 0 ctlr->ctlr_state 0-1,3-u32max
PARAM_VALUE 0 ctlr->ctlr_type 0-255
PARAM_VALUE 0 ctlr->hdev 4096-ptr_max
PARAM_VALUE 0 ctlr->hdev->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 ctlr->hdev->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 ctlr->hdev->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 ctlr->hdev->driver_data->intr_transmit.qlen 0-4294967295
PARAM_VALUE 0 ctlr->hdev->driver_data->qlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctlr->hdev->driver_data->thc_hw->thc_bus_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctlr->hdev->driver_data->thc_hw->thc_bus_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctlr->hdev->driver_data->thc_hw->thc_bus_lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 ctlr->hdev->driver_data->thc_hw->thc_bus_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctlr->hdev->driver_data->thc_hw->thc_regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 ctlr->hdev->driver_data->thc_hw->thc_regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 ctlr->hdev->driver_data->thc_hw->write_done 0
PARAM_VALUE 0 ctlr->hdev->product 0-8205,8207-u32max
PARAM_VALUE 0 ctlr->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctlr->mac_addr_str 1-u64max
PARAM_VALUE 0 ctlr->msg_type 2
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->subcmd_ack_match 16
PARAM_VALUE 0 ctlr->subcmd_num 0-15
PARAM_VALUE 0 *ctlr->hdev->driver_data->report_buf 0-255
PARAM_VALUE 0 *ctlr->input_buf 0-255
PARAM_VALUE 0 *ctlr->mac_addr 0-255
PARAM_VALUE 1 start_addr 24608,32808
PARAM_VALUE 2 size 24
PARAM_VALUE 3 reply 1938852571281936384
BUF_SIZE 0 ctlr s32min-(-2),1-s32max
BUF_SIZE 0 ctlr s32min-(-2),1-s32max
DATA_SOURCE 0 ctlr $0
FUZZY_MAX 1 start_addr 32808
BIT_INFO 1 start_addr 0x20,0xe028
HARD_MAX 1 start_addr 32808
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ctlr unit_byte
LOCK2 0 &ctlr->output_mutex
TYPE_LOCK (struct joycon_ctlr)->output_mutex