Defined in 1 files as a function:
Referenced in 14 files:
- drivers/iio/adc/at91-sama5d2_adc.c, line 1232
- drivers/iio/adc/nxp-sar-adc.c, line 691
- drivers/iio/adc/stm32-adc.c, line 1891
- drivers/iio/adc/stm32-dfsdm-adc.c, line 1001
- drivers/iio/adc/ti_am335x_adc.c, line 255
- drivers/media/platform/renesas/rcar_drif.c, line 603
- drivers/spi/spi-bcm2835.c
- drivers/tty/serial/atmel_serial.c, line 1235
- drivers/tty/serial/fsl_lpuart.c, line 1398
- drivers/tty/serial/imx.c, line 1288
- drivers/tty/serial/stm32-usart.c, line 577
- sound/core/pcm_dmaengine.c, line 164
- sound/soc/fsl/fsl_asrc_dma.c
- sound/soc/renesas/fsi.c, line 1367
Smatch caller information:
drivers/media/platform/renesas/rcar_drif.c rcar_drif_qbuf() -> dmaengine_prep_dma_cyclic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | buf_len | 0-u32max |
| PARAM_VALUE | 4 | dir | 2 |
| PARAM_VALUE | 5 | flags | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sdr->v4l2_mutex | ||
| HALF_LOCKED2 | &dmxdev->mutex | ||
| HALF_LOCKED2 | vq->lock | ||
| TYPE_LOCK | (struct rcar_drif_sdr)->v4l2_mutex |
drivers/iio/adc/ti_am335x_adc.c tiadc_start_dma() -> dmaengine_prep_dma_cyclic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device | 4096-ptr_max |
| PARAM_VALUE | 2 | buf_len | 1026-2048 |
| PARAM_VALUE | 3 | period_len | 513-1024 |
| PARAM_VALUE | 4 | dir | 2 |
| PARAM_VALUE | 5 | flags | 1 |
| CAPPED_DATA | 2 | buf_len | 1 |
| CAPPED_DATA | 3 | period_len | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/iio/adc/stm32-dfsdm-adc.c stm32_dfsdm_adc_dma_start() -> dmaengine_prep_dma_cyclic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->device_config | 1-u64max |
| PARAM_VALUE | 3 | period_len | 0-u32max |
| PARAM_VALUE | 4 | dir | 2 |
| PARAM_VALUE | 5 | flags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | buf_len | unit_byte |
| HALF_LOCKED2 | _T->lock |
drivers/spi/spi-bcm2835.c bcm2835_dma_init() -> dmaengine_prep_dma_cyclic()
| 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->dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chan->device->dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | chan->device->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | chan->device->dev->iommu->pci_32bit_workaround | 0-1 |
| 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 | buf_addr | 0-18446744073709551614 |
| PARAM_VALUE | 2 | buf_len | 4 |
| PARAM_VALUE | 3 | period_len | 0 |
| PARAM_VALUE | 4 | dir | 1 |
| PARAM_VALUE | 5 | flags | 0 |
| CAPPED_DATA | 0 | chan->dbg_client_name | 1 |
| CAPPED_DATA | 0 | chan->device->dev | 1 |
| CAPPED_DATA | 0 | chan->name | 1 |
| DATA_SOURCE | 0 | chan | r dma_request_chan |
| DATA_SOURCE | 1 | buf_addr | r dma_map_page_attrs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | buf_len | unit_byte |
drivers/spi/spi-bcm2835.c bcm2835_spi_setup_dma() -> dmaengine_prep_dma_cyclic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chan->device->dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | chan->device->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | chan->device->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 1 | buf_addr | 0-18446744073709551614 |
| PARAM_VALUE | 2 | buf_len | 4 |
| PARAM_VALUE | 3 | period_len | 0 |
| PARAM_VALUE | 4 | dir | 1 |
| PARAM_VALUE | 5 | flags | 0 |
| DATA_SOURCE | 1 | buf_addr | r dma_map_single_attrs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | buf_len | unit_byte |
| LOCK2 | &spi->controller->io_mutex | ||
| HALF_LOCKED2 | &spi->controller->bus_lock_mutex | ||
| TYPE_LOCK | (struct spi_controller)->io_mutex |
drivers/tty/serial/stm32-usart.c stm32_usart_rx_dma_start_or_resume() -> dmaengine_prep_dma_cyclic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 0,4096-u64max |
| PARAM_VALUE | 2 | buf_len | 4096 |
| PARAM_VALUE | 3 | period_len | 2048 |
| PARAM_VALUE | 4 | dir | 2 |
| PARAM_VALUE | 5 | flags | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
sound/soc/renesas/fsi.c fsi_dma_transfer() -> dmaengine_prep_dma_cyclic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 4 | dir | 1-2 |
| PARAM_VALUE | 5 | flags | 3 |
| FUZZY_MAX | 4 | dir | 2 |
| HARD_MAX | 4 | dir | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | buf_addr | unit_byte |
sound/soc/fsl/fsl_asrc_dma.c fsl_asrc_dma_prepare_and_submit() -> dmaengine_prep_dma_cyclic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 4 | dir | 1-2 |
| PARAM_VALUE | 5 | flags | 2-3 |
| FUZZY_MAX | 4 | dir | 2 |
| FUZZY_MAX | 5 | flags | 2 |
| BIT_INFO | 5 | flags | 0x2,0x3 |
| BIT_INFO | 5 | flags | 0x2,0x3 |
| HARD_MAX | 4 | dir | 2 |
| UNITS | 1 | buf_addr | unit_byte |
sound/soc/fsl/fsl_asrc_dma.c fsl_asrc_dma_prepare_and_submit() -> dmaengine_prep_dma_cyclic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buf_addr | u16max |
| PARAM_VALUE | 2 | buf_len | 64 |
| PARAM_VALUE | 3 | period_len | 64 |
| PARAM_VALUE | 4 | dir | 3 |
| PARAM_VALUE | 5 | flags | 0 |
drivers/tty/serial/imx.c imx_uart_start_rx_dma() -> dmaengine_prep_dma_cyclic()
| 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 | 2 | buf_len | 0-u32max |
| PARAM_VALUE | 3 | period_len | 0-u32max |
| PARAM_VALUE | 4 | dir | 2 |
| PARAM_VALUE | 5 | flags | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | buf_addr | unit_byte |
| UNITS | 2 | buf_len | unit_byte |
| LOCK2 | &sport->port.lock | ||
| LOCK2 | _T->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &port->lock | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/iio/adc/at91-sama5d2_adc.c at91_adc_dma_start() -> dmaengine_prep_dma_cyclic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 1-u64max |
| PARAM_VALUE | 2 | buf_len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 3 | period_len | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 4 | dir | 2 |
| PARAM_VALUE | 5 | flags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | buf_len | unit_byte |
| HALF_LOCKED2 | _T->lock |
sound/core/pcm_dmaengine.c dmaengine_pcm_prepare_and_submit() -> dmaengine_prep_dma_cyclic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 4 | dir | 1-2 |
| PARAM_VALUE | 5 | flags | 2-3 |
| DATA_SOURCE | 4 | dir | r snd_pcm_substream_to_dma_direction |
| FUZZY_MAX | 5 | flags | 2 |
| BIT_INFO | 5 | flags | 0x2,0x3 |
| BIT_INFO | 5 | flags | 0x2,0x3 |
| UNITS | 1 | buf_addr | unit_byte |
| HALF_LOCKED2 | &priv->lock | ||
| HALF_LOCKED2 | irq |
drivers/tty/serial/fsl_lpuart.c lpuart_start_rx_dma() -> dmaengine_prep_dma_cyclic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | chan->device->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->dev->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | chan->device->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | chan->device->device_config | 1-u64max |
| PARAM_VALUE | 3 | period_len | 0-u32max |
| PARAM_VALUE | 4 | dir | 2 |
| PARAM_VALUE | 5 | flags | 1 |
| CAPPED_DATA | 0 | chan->device->dev | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | buf_addr | unit_byte |
| LOCK2 | flags | ||
| HALF_LOCKED2 | &port->lock | ||
| HALF_LOCKED2 | &sport->port.lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct uart_port)->lock |
drivers/iio/adc/nxp-sar-adc.c nxp_sar_adc_start_cyclic_dma() -> dmaengine_prep_dma_cyclic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->device_config | 1-u64max |
| PARAM_VALUE | 2 | buf_len | 16384 |
| PARAM_VALUE | 3 | period_len | 8192 |
| PARAM_VALUE | 4 | dir | 2 |
| PARAM_VALUE | 5 | flags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/iio/adc/stm32-adc.c stm32_adc_dma_start() -> dmaengine_prep_dma_cyclic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 1-u64max |
| PARAM_VALUE | 3 | period_len | 0-u32max |
| PARAM_VALUE | 4 | dir | 2 |
| PARAM_VALUE | 5 | flags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | buf_len | unit_byte |
| HALF_LOCKED2 | _T->lock |
drivers/tty/serial/atmel_serial.c atmel_prepare_rx_dma() -> dmaengine_prep_dma_cyclic()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chan | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->client_count | 1-s32max |
| PARAM_VALUE | 0 | chan->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device | 4096-ptr_max |
| PARAM_VALUE | 0 | chan->device->device_config | 1-u64max |
| PARAM_VALUE | 2 | buf_len | 4096 |
| PARAM_VALUE | 3 | period_len | 2048 |
| PARAM_VALUE | 4 | dir | 2 |
| PARAM_VALUE | 5 | flags | 1 |
| DATA_SOURCE | 1 | buf_addr | r dma_map_single_attrs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &port->lock |