Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/input/keyboard/applespi.c applespi_init() -> applespi_send_cmd_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | applespi | 4096-ptr_max |
| PARAM_VALUE | 0 | applespi->keyboard_input_dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | applespi->keyboard_input_dev->poller->poll_interval | 0-4294967295 |
| PARAM_VALUE | 0 | applespi->keyboard_input_dev->poller->poll_interval_max | 0-4294967295 |
| PARAM_VALUE | 0 | applespi->sist->descriptor_type | 0-255 |
| PARAM_VALUE | 0 | applespi->sist->flags | 0-u16max |
| PARAM_VALUE | 0 | applespi->sist->name.integer | 0-4294967295 |
| PARAM_VALUE | 0 | applespi->sist->owner_id | 0-u16max |
| PARAM_VALUE | 0 | applespi->suspended | 0 |
| PARAM_VALUE | 0 | *applespi->keyboard_input_dev->rep | s32min-s32max |
| BUF_SIZE | 0 | applespi | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | applespi | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | applespi->keyboard_input_dev | (-1),2480 |
| BUF_SIZE | 0 | applespi->keyboard_input_dev->name | (-1),19 |
| BUF_SIZE | 0 | applespi->keyboard_input_dev->phys | (-1),16 |
| BUF_SIZE | 0 | applespi->msg_buf | (-1),512 |
| BUF_SIZE | 0 | applespi->rx_buffer | (-1),256 |
| BUF_SIZE | 0 | applespi->tx_buffer | (-1),256 |
| BUF_SIZE | 0 | applespi->tx_status | (-1),4 |
| DATA_SOURCE | 0 | applespi | $0 |
| STR_LEN | 0 | applespi->keyboard_input_dev->name | (-1),18 |
| STR_LEN | 0 | applespi->keyboard_input_dev->phys | (-1),15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | applespi->keyboard_input_dev->max_vals | |
| UNITS | 0 | applespi | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &applespi->cmd_msg_lock | |
| TYPE_LOCK | (struct applespi_data)->cmd_msg_lock |
drivers/input/keyboard/applespi.c applespi_msg_complete() -> applespi_send_cmd_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | applespi | 4096-ptr_max |
| PARAM_VALUE | 0 | applespi->cmd_msg_queued | 0 |
| PARAM_VALUE | 0 | applespi->write_active | 0 |
| BUF_SIZE | 0 | applespi | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | applespi | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | applespi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &applespi->cmd_msg_lock | |
| HALF_LOCKED2 | &ctlr->bus_lock_spinlock | ||
| HALF_LOCKED2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &data->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct applespi_data)->cmd_msg_lock |
drivers/input/keyboard/applespi.c applespi_set_bl_level() -> applespi_send_cmd_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | applespi | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | applespi->want_bl_level | 0[c] |
| LOCK2 | irq | ||
| LOCK2 | 0 | &applespi->cmd_msg_lock | |
| HALF_LOCKED2 | &rt2x00dev->conf_mutex | ||
| TYPE_LOCK | (struct applespi_data)->cmd_msg_lock |
drivers/input/keyboard/applespi.c applespi_set_capsl_led() -> applespi_send_cmd_msg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | applespi | 4096-ptr_max |
| BUF_SIZE | 0 | applespi | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | applespi | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | applespi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | applespi | unit_byte |
| LOCK2 | irq | ||
| LOCK2 | 0 | &applespi->cmd_msg_lock | |
| TYPE_LOCK | (struct applespi_data)->cmd_msg_lock |