Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 hdev->dev.class 0,4096-ptr_max
PARAM_VALUE 0 hdev->dev.driver 0,4096-ptr_max
PARAM_VALUE 0 hdev->dev.driver_data 4096-ptr_max
PARAM_VALUE 0 hdev->driver 4096-ptr_max
PARAM_VALUE 0 hdev->driver_input_lock.first_waiter->up 0-1
PARAM_VALUE 0 hdev->ll_driver->start 0,4096-ptr_max
PARAM_VALUE 1 cal_x 4096-ptr_max
PARAM_VALUE 2 cal_y 4096-ptr_max
PARAM_VALUE 3 stick 6462257372322828288
PARAM_VALUE 4 ret 0
BUF_SIZE 0 hdev s32min-(-1),1-s32max
BUF_SIZE 0 hdev s32min-(-1),1-s32max
BUF_SIZE 0 hdev->bpf_rdesc (-1)-s32max
BUF_SIZE 0 hdev->devres_group_id s32min-(-1),1-s32max
BUF_SIZE 3 stick 5
CAPPED_DATA 0 hdev 1
DATA_SOURCE 0 hdev $0
STR_LEN 0 hdev 4
TERMINATED 3 stick 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ctlr->output_mutex
TYPE_LOCK (struct joycon_ctlr)->output_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 hdev->dev.class 0,4096-ptr_max
PARAM_VALUE 0 hdev->dev.driver 0,4096-ptr_max
PARAM_VALUE 0 hdev->dev.driver_data 4096-ptr_max
PARAM_VALUE 0 hdev->driver 4096-ptr_max
PARAM_VALUE 0 hdev->driver_input_lock.first_waiter->up 0-1
PARAM_VALUE 0 hdev->ll_driver->start 0,4096-ptr_max
PARAM_VALUE 1 cal_x 4096-ptr_max
PARAM_VALUE 2 cal_y 4096-ptr_max
PARAM_VALUE 3 stick 2786138334024245248
PARAM_VALUE 4 ret 0
BUF_SIZE 0 hdev s32min-(-1),1-s32max
BUF_SIZE 0 hdev s32min-(-1),1-s32max
BUF_SIZE 0 hdev->bpf_rdesc (-1)-s32max
BUF_SIZE 0 hdev->devres_group_id s32min-(-1),1-s32max
BUF_SIZE 3 stick 6
CAPPED_DATA 0 hdev 1
DATA_SOURCE 0 hdev $0
STR_LEN 0 hdev 5
TERMINATED 3 stick 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ctlr->output_mutex
TYPE_LOCK (struct joycon_ctlr)->output_mutex

drivers/hid/hid-nintendo.c joycon_request_calibration() -> joycon_use_default_calibration()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->bpf.srcu.dep_map->name 0-255
PARAM_VALUE 0 hdev->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 hdev->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 hdev->driver_data->intr_transmit.qlen 0-4294967295
PARAM_VALUE 0 hdev->driver_data->qlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hdev->driver_data->thc_hw->thc_bus_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->driver_data->thc_hw->thc_bus_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hdev->driver_data->thc_hw->thc_bus_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->driver_data->thc_hw->thc_regmap->async 0-1
PARAM_VALUE 0 hdev->driver_data->thc_hw->thc_regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 hdev->driver_data->thc_hw->thc_regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 hdev->product 0-8205,8207-u32max
PARAM_VALUE 0 *hdev->driver_data->report_buf 0-255
PARAM_VALUE 1 cal_x 4096-ptr_max
PARAM_VALUE 2 cal_y 4096-ptr_max
PARAM_VALUE 3 stick 6462257372322828288
PARAM_VALUE 4 ret s32min-(-1)
BUF_SIZE 3 stick 5
CAPPED_DATA 4 ret 1
DATA_SOURCE 4 ret r joycon_read_stick_calibration
STR_LEN 0 hdev 4
BIT_INFO 4 ret 0x0,0x0
TERMINATED 3 stick 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ctlr->output_mutex
TYPE_LOCK (struct joycon_ctlr)->output_mutex

drivers/hid/hid-nintendo.c joycon_request_calibration() -> joycon_use_default_calibration()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->bpf.srcu.dep_map->name 0-255
PARAM_VALUE 0 hdev->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 hdev->dev.devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 hdev->dev.devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 hdev->driver_data->intr_transmit.qlen 0-4294967295
PARAM_VALUE 0 hdev->driver_data->qlock.rlock.dep_map->name 0-255
PARAM_VALUE 0 hdev->driver_data->thc_hw->thc_bus_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hdev->driver_data->thc_hw->thc_bus_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hdev->driver_data->thc_hw->thc_bus_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 hdev->driver_data->thc_hw->thc_regmap->async 0-1
PARAM_VALUE 0 hdev->driver_data->thc_hw->thc_regmap->cache->cached_rbnode->base_reg 0-4294967295
PARAM_VALUE 0 hdev->driver_data->thc_hw->thc_regmap->cache->cached_rbnode->blklen 0-4294967295
PARAM_VALUE 0 hdev->product 0-8205,8207-u32max
PARAM_VALUE 0 *hdev->driver_data->report_buf 0-255
PARAM_VALUE 1 cal_x 4096-ptr_max
PARAM_VALUE 2 cal_y 4096-ptr_max
PARAM_VALUE 3 stick 2786138334024245248
PARAM_VALUE 4 ret s32min-(-1)
BUF_SIZE 3 stick 6
CAPPED_DATA 4 ret 1
DATA_SOURCE 4 ret r joycon_read_stick_calibration
STR_LEN 0 hdev 5
BIT_INFO 4 ret 0x0,0x0
TERMINATED 3 stick 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ctlr->output_mutex
TYPE_LOCK (struct joycon_ctlr)->output_mutex