Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/hid/intel-thc-hid/intel-quicki2c/quicki2c-protocol.c
- drivers/hid/intel-thc-hid/intel-quickspi/quickspi-protocol.c, line 45
- drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c, line 1067
Smatch caller information:
drivers/hid/intel-thc-hid/intel-quicki2c/quicki2c-protocol.c quicki2c_output_report() -> thc_dma_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | buf_len | 2,4-16393 |
| BUF_SIZE | 1 | buffer | 4096-u16max |
| CAPPED_DATA | 2 | buf_len | 1 |
| DATA_SOURCE | 2 | buf_len | r quicki2c_init_write_buf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | buf_len | 7-16393[c] |
| HALF_LOCKED2 | &hid->driver_input_lock | ||
| HALF_LOCKED2 | global &minors_rwsem |
drivers/hid/intel-thc-hid/intel-quicki2c/quicki2c-protocol.c write_cmd_to_txdma() -> thc_dma_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->dma_ctx->use_write_interrupts | 0-1 |
| PARAM_VALUE | 2 | buf_len | 2,4-16393 |
| BUF_SIZE | 1 | buffer | 4096-u16max |
| CAPPED_DATA | 2 | buf_len | 1 |
| DATA_SOURCE | 2 | buf_len | r quicki2c_init_write_buf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | buf_len | 7-16393[c] |
drivers/hid/intel-thc-hid/intel-quickspi/quickspi-protocol.c write_cmd_to_txdma() -> thc_dma_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->dma_ctx->use_write_interrupts | 0-1 |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | buf_len | 4-16387 |
| BUF_SIZE | 1 | buffer | 4-65539 |
| CAPPED_DATA | 2 | buf_len | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | buf_len | 7-16387[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->dev->power.wakeirq->irq | |
| UNITS | 2 | buf_len | unit_byte |