Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hid/hid-nintendo.c joycon_init() -> joycon_has_rumble()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctlr | 4096-ptr_max |
| PARAM_VALUE | 0 | ctlr->ctlr_type | 0-255 |
| PARAM_VALUE | 0 | ctlr->hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctlr->hdev->product | 0-8205,8207-u32max |
| 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_input_create() -> joycon_has_rumble()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctlr | 4096-ptr_max |
| PARAM_VALUE | 0 | ctlr->ctlr_type | 0 |
| PARAM_VALUE | 0 | ctlr->hdev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctlr->hdev->product | 0 |
| BUF_SIZE | 0 | ctlr | 4736 |
| BUF_SIZE | 0 | ctlr->input | 2480 |
| BUF_SIZE | 0 | ctlr->input->dev.parent | 1616 |
| BUF_SIZE | 0 | ctlr->input->name | 128 |
| BUF_SIZE | 0 | ctlr->input->phys | 64 |
| BUF_SIZE | 0 | ctlr->rumble_queue | (-1),512,528-8720 |
| DATA_SOURCE | 0 | ctlr | $0 |
| MEM_ZERO | 0 | ctlr | |
| MEM_ZERO | 0 | ctlr->hdev | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ctlr->input->max_vals |
drivers/hid/hid-nintendo.c joycon_parse_report() -> joycon_has_rumble()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctlr | 4096-ptr_max |
| BUF_SIZE | 0 | ctlr | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ctlr | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | ctlr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ctlr | unit_byte |
| HALF_LOCKED2 | &hdev->dev.driver_data->dyn_callback_lock | ||
| HALF_LOCKED2 | &hdev->dev.driver_data->mutex | ||
| HALF_LOCKED2 | &hdev->driver_data->mutex | ||
| HALF_LOCKED2 | &hdev->driver_input_lock | ||
| HALF_LOCKED2 | &hdev->ll_open_lock |