Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c is_dma_buf_empty() -> dma_get_write_pointer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | dev->dma_ctx->dma_config | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_ctx->use_write_interrupts | 0-1 |
| PARAM_VALUE | 0 | dev->thc_regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->thc_regmap->async | 0-1 |
| PARAM_VALUE | 0 | dev->thc_regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | *dev->thc_regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | dma_config | 4096-ptr_max |
| PARAM_VALUE | 1 | dma_config->is_enabled | 1 |
| BUF_SIZE | 1 | dma_config | (-1),672 |
| BUF_SIZE | 1 | dma_config | (-1),672 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | dma_config | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &dev->thc_bus_lock |
drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c update_write_pointer() -> dma_get_write_pointer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | dev->dma_ctx->dma_config | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_ctx->use_write_interrupts | 0-1 |
| PARAM_VALUE | 0 | dev->thc_regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->thc_regmap->async | 0-1 |
| PARAM_VALUE | 0 | dev->thc_regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1,4096-s64max |
| PARAM_VALUE | 0 | dev->thc_regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 1 | dma_config | 4096-ptr_max |
| PARAM_VALUE | 1 | dma_config->is_enabled | 1 |
| PARAM_VALUE | 1 | dma_config->prd_tbls | 4096-ptr_max |
| BUF_SIZE | 1 | dma_config | (-1),672 |
| BUF_SIZE | 1 | dma_config | (-1),672 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | dma_config | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &dev->thc_bus_lock |