Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/dma/dmaengine.c, line 573 (as a function)
- include/linux/dmaengine.h, line 1707 (as a function)
Referenced in 19 files:
- drivers/dma/dmaengine.c, line 619
- drivers/iio/buffer/industrialio-buffer-dmaengine.c, line 259
- drivers/media/platform/st/stm32/stm32-dcmi.c, line 2088
- drivers/mtd/nand/raw/stm32_fmc2_nand.c
- drivers/nvme/target/pci-epf.c, line 282
- drivers/pci/endpoint/functions/pci-epf-mhi.c, line 647
- drivers/pci/endpoint/functions/pci-epf-test.c, line 239
- drivers/spi/spi-dw-dma.c
- drivers/spi/spi-ingenic.c, line 336
- drivers/spi/spi-stm32-ospi.c
- drivers/spi/spi-stm32-qspi.c
- drivers/spi/spi-stm32.c, line 1298
- drivers/spi/spi-uniphier.c
- drivers/tty/serial/8250/8250_dma.c
- drivers/tty/serial/amba-pl011.c, line 532
- drivers/tty/serial/samsung_tty.c
- include/linux/dmaengine.h, line 1719
- sound/core/pcm_dmaengine.c, line 421
- sound/soc/soc-generic-dmaengine-pcm.c, line 207
Smatch caller information:
drivers/tty/serial/8250/8250_dma.c serial8250_request_dma() -> dma_get_slave_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | caps | 4543067710614958080 |
| DATA_SOURCE | 0 | chan | r dma_request_slave_channel_compat |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/tty/serial/8250/8250_dma.c serial8250_request_dma() -> dma_get_slave_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | caps | 4543067710614958080 |
| PARAM_VALUE | 1 | caps->cmd_pause | 1 |
| PARAM_VALUE | 1 | caps->cmd_terminate | 1 |
| PARAM_VALUE | 1 | caps->directions | 1-u32max |
| PARAM_VALUE | 1 | caps->residue_granularity | 1-u32max |
| DATA_SOURCE | 0 | chan | r dma_request_slave_channel_compat |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/nvme/target/pci-epf.c nvmet_pci_epf_dma_filter() -> dma_get_slave_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->client_count | 0 |
| PARAM_VALUE | 1 | caps | 2810845621172572160 |
| DATA_SOURCE | 0 | chan | $0 |
| MEM_ZERO | 1 | caps | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &dma_list_mutex |
drivers/mtd/nand/raw/stm32_fmc2_nand.c stm32_fmc2_nfc_dma_setup() -> dma_get_slave_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->client_count | 1-s32max |
| PARAM_VALUE | 0 | chan->device | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | chan->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | caps | 5596073814925529088 |
| BUF_SIZE | 0 | chan->slave | (-1),1616 |
| CAPPED_DATA | 0 | chan->dbg_client_name | 1 |
| CAPPED_DATA | 0 | chan->name | 1 |
| DATA_SOURCE | 0 | chan | r dma_request_chan |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mtd/nand/raw/stm32_fmc2_nand.c stm32_fmc2_nfc_dma_setup() -> dma_get_slave_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->client_count | 1-s32max |
| PARAM_VALUE | 0 | chan->device | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | chan->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | caps | 5596073814925529088 |
| PARAM_VALUE | 1 | caps->directions | 1-u32max |
| BUF_SIZE | 0 | chan->slave | (-1),1616 |
| CAPPED_DATA | 0 | chan->dbg_client_name | 1 |
| CAPPED_DATA | 0 | chan->name | 1 |
| DATA_SOURCE | 0 | chan | r dma_request_chan |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/spi/spi-dw-dma.c dw_spi_dma_caps_init() -> dma_get_slave_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->client_count | 1-s32max |
| PARAM_VALUE | 0 | chan->device | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | chan->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | caps | 8146699589340585984 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/spi/spi-dw-dma.c dw_spi_dma_caps_init() -> dma_get_slave_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->client_count | 1-s32max |
| PARAM_VALUE | 0 | chan->device | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | chan->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | caps | 3389205221609168896 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/spi/spi-dw-dma.c dw_spi_dma_maxburst_init() -> dma_get_slave_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->client_count | 1-s32max |
| PARAM_VALUE | 0 | chan->device | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->directions | 1-u32max |
| PARAM_VALUE | 0 | chan->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | chan->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | caps | 5759896742079672320 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/spi/spi-dw-dma.c dw_spi_dma_maxburst_init() -> dma_get_slave_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->client_count | 1-s32max |
| PARAM_VALUE | 0 | chan->device | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->directions | 1-u32max |
| PARAM_VALUE | 0 | chan->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | chan->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | caps | 5759896742079672320 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/spi/spi-stm32-ospi.c stm32_ospi_dma_setup() -> dma_get_slave_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 1-u64max |
| PARAM_VALUE | 1 | caps | 779410808721211392 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/spi/spi-stm32-ospi.c stm32_ospi_dma_setup() -> dma_get_slave_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 1-u64max |
| PARAM_VALUE | 1 | caps | 779410808721211392 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/spi/spi-stm32-qspi.c stm32_qspi_dma_setup() -> dma_get_slave_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->client_count | 1-s32max |
| PARAM_VALUE | 0 | chan->device | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | chan->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | caps | 637020758468145152 |
| BUF_SIZE | 0 | chan->slave | (-1),1616 |
| CAPPED_DATA | 0 | chan->dbg_client_name | 1 |
| CAPPED_DATA | 0 | chan->name | 1 |
| DATA_SOURCE | 0 | chan | r dma_request_chan |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/spi/spi-stm32-qspi.c stm32_qspi_dma_setup() -> dma_get_slave_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->client_count | 1-s32max |
| PARAM_VALUE | 0 | chan->device | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | chan->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | caps | 637020758468145152 |
| PARAM_VALUE | 1 | caps->directions | 1-u32max |
| BUF_SIZE | 0 | chan->slave | (-1),1616 |
| CAPPED_DATA | 0 | chan->dbg_client_name | 1 |
| CAPPED_DATA | 0 | chan->name | 1 |
| DATA_SOURCE | 0 | chan | r dma_request_chan |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/spi/spi-bcm2835.c dmaengine_desc_set_reuse() -> dma_get_slave_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | caps | 3544650275601305600 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &spi->controller->io_mutex |
drivers/media/platform/st/stm32/stm32-dcmi.c dcmi_probe() -> dma_get_slave_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->client_count | 1-s32max |
| PARAM_VALUE | 0 | chan->device | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->device_config | 1-u64max |
| PARAM_VALUE | 0 | chan->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | chan->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | caps | 1414663149314187264 |
| BUF_SIZE | 0 | chan->slave | (-1),1616 |
| CAPPED_DATA | 0 | chan->dbg_client_name | 1 |
| CAPPED_DATA | 0 | chan->name | 1 |
| DATA_SOURCE | 0 | chan | r dma_request_chan |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/platform/st/stm32/stm32-dcmi.c dmaengine_desc_set_reuse() -> dma_get_slave_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | caps | 2224042839974289408 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mdev->req_queue_mutex | ||
| HALF_LOCKED2 | vb->vb2_queue->lock |
drivers/spi/spi-stm32.c stm32_spi_dma_config() -> dma_get_slave_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 1-u64max |
| PARAM_VALUE | 1 | caps | 7953457421878296576 |
| DATA_SOURCE | 0 | chan | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ctrl->io_mutex | ||
| LOCK2 | &spi->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &ctrl->dev.driver_data->op_lock | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex | ||
| TYPE_LOCK | (struct stm32_spi)->lock |
drivers/spi/spi-uniphier.c uniphier_spi_probe() -> dma_get_slave_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->client_count | 1-s32max |
| PARAM_VALUE | 0 | chan->device | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | chan->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | caps | 882261917879218176 |
| BUF_SIZE | 0 | chan->slave | (-1),1616 |
| CAPPED_DATA | 0 | chan->dbg_client_name | 1 |
| CAPPED_DATA | 0 | chan->name | 1 |
| DATA_SOURCE | 0 | chan | r dma_request_chan |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/spi/spi-uniphier.c uniphier_spi_probe() -> dma_get_slave_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->client_count | 1-s32max |
| PARAM_VALUE | 0 | chan->device | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | chan->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | caps | 882261917879218176 |
| PARAM_VALUE | 1 | caps->directions | 1-u32max |
| BUF_SIZE | 0 | chan->slave | (-1),1616 |
| CAPPED_DATA | 0 | chan->dbg_client_name | 1 |
| CAPPED_DATA | 0 | chan->name | 1 |
| DATA_SOURCE | 0 | chan | r dma_request_chan |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/endpoint/functions/pci-epf-test.c epf_dma_filter_fn() -> dma_get_slave_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->client_count | 0 |
| PARAM_VALUE | 1 | caps | 3518548371020173312 |
| DATA_SOURCE | 0 | chan | $0 |
| MEM_ZERO | 1 | caps | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &dma_list_mutex |
drivers/pci/endpoint/functions/pci-epf-mhi.c pci_epf_mhi_filter() -> dma_get_slave_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->client_count | 0 |
| PARAM_VALUE | 1 | caps | 1629998770569486336 |
| DATA_SOURCE | 0 | chan | $0 |
| MEM_ZERO | 1 | caps | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &dma_list_mutex |
sound/soc/soc-generic-dmaengine-pcm.c dmaengine_pcm_can_report_residue() -> dma_get_slave_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 1-u64max |
| PARAM_VALUE | 1 | caps | 7166261779636998144 |
| DATA_SOURCE | 0 | chan | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
sound/core/pcm_dmaengine.c snd_dmaengine_pcm_refine_runtime_hwparams() -> dma_get_slave_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 1-u64max |
| PARAM_VALUE | 1 | caps | 4724863727315628032 |
| DATA_SOURCE | 0 | chan | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/buffer/industrialio-buffer-dmaengine.c iio_dmaengine_buffer_alloc() -> dma_get_slave_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 1 | caps | 4229100983109046272 |
| CAPPED_DATA | 0 | chan->dbg_client_name | 1 |
| CAPPED_DATA | 0 | chan->name | 1 |
| DATA_SOURCE | 0 | chan | $0 |
| STR_LEN | 0 | chan->slave | (-1),2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/tty/serial/samsung_tty.c s3c24xx_serial_request_dma() -> dma_get_slave_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->client_count | 1-s32max |
| PARAM_VALUE | 0 | chan->device | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | chan->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | caps | 5035658334195920896 |
| CAPPED_DATA | 0 | chan->dbg_client_name | 1 |
| CAPPED_DATA | 0 | chan->name | 1 |
| DATA_SOURCE | 0 | chan | r dma_request_chan |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &port->lock |
drivers/tty/serial/samsung_tty.c s3c24xx_serial_request_dma() -> dma_get_slave_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->client_count | 1-s32max |
| PARAM_VALUE | 0 | chan->device | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | chan->device->ref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | caps | 5035658334195920896 |
| PARAM_VALUE | 1 | caps->directions | 1-u32max |
| PARAM_VALUE | 1 | caps->residue_granularity | 2-u32max |
| CAPPED_DATA | 0 | chan->dbg_client_name | 1 |
| CAPPED_DATA | 0 | chan->name | 1 |
| DATA_SOURCE | 0 | chan | r dma_request_chan |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &port->lock |
drivers/spi/spi-ingenic.c spi_ingenic_can_dma() -> dma_get_slave_caps()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | caps | 8400465611389902848 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ctlr->io_mutex | ||
| HALF_LOCKED2 | &host->io_mutex |