Home
last modified time | relevance | path

Searched refs:dma_caps (Results 1 – 5 of 5) sorted by relevance

/linux-6.3-rc2/sound/core/
A Dpcm_dmaengine.c408 struct dma_slave_caps dma_caps; in snd_dmaengine_pcm_refine_runtime_hwparams() local
418 ret = dma_get_slave_caps(chan, &dma_caps); in snd_dmaengine_pcm_refine_runtime_hwparams()
420 if (dma_caps.cmd_pause && dma_caps.cmd_resume) in snd_dmaengine_pcm_refine_runtime_hwparams()
422 if (dma_caps.residue_granularity <= DMA_RESIDUE_GRANULARITY_SEGMENT) in snd_dmaengine_pcm_refine_runtime_hwparams()
426 addr_widths = dma_caps.dst_addr_widths; in snd_dmaengine_pcm_refine_runtime_hwparams()
428 addr_widths = dma_caps.src_addr_widths; in snd_dmaengine_pcm_refine_runtime_hwparams()
/linux-6.3-rc2/sound/soc/
A Dsoc-generic-dmaengine-pcm.c203 struct dma_slave_caps dma_caps; in dmaengine_pcm_can_report_residue() local
206 ret = dma_get_slave_caps(chan, &dma_caps); in dmaengine_pcm_can_report_residue()
213 if (dma_caps.residue_granularity == DMA_RESIDUE_GRANULARITY_DESCRIPTOR) in dmaengine_pcm_can_report_residue()
/linux-6.3-rc2/drivers/tty/serial/
A Dsamsung_tty.c1051 struct dma_slave_caps dma_caps; in s3c24xx_serial_request_dma() local
1074 ret = dma_get_slave_caps(dma->rx_chan, &dma_caps); in s3c24xx_serial_request_dma()
1076 dma_caps.residue_granularity < DMA_RESIDUE_GRANULARITY_BURST) { in s3c24xx_serial_request_dma()
1091 ret = dma_get_slave_caps(dma->tx_chan, &dma_caps); in s3c24xx_serial_request_dma()
1093 dma_caps.residue_granularity < DMA_RESIDUE_GRANULARITY_BURST) { in s3c24xx_serial_request_dma()
/linux-6.3-rc2/drivers/net/wireless/ath/ath12k/
A Dwmi.c3881 struct ath12k_wmi_dma_ring_caps_params *dma_caps; in ath12k_wmi_dma_ring_caps() local
3887 dma_caps = (struct ath12k_wmi_dma_ring_caps_params *)ptr; in ath12k_wmi_dma_ring_caps()
3910 if (le32_to_cpu(dma_caps[i].module_id) >= WMI_DIRECT_BUF_MAX) { in ath12k_wmi_dma_ring_caps()
3912 le32_to_cpu(dma_caps[i].module_id)); in ath12k_wmi_dma_ring_caps()
3917 dir_buff_caps[i].id = le32_to_cpu(dma_caps[i].module_id); in ath12k_wmi_dma_ring_caps()
3919 DP_HW2SW_MACID(le32_to_cpu(dma_caps[i].pdev_id)); in ath12k_wmi_dma_ring_caps()
3920 dir_buff_caps[i].min_elem = le32_to_cpu(dma_caps[i].min_elem); in ath12k_wmi_dma_ring_caps()
3921 dir_buff_caps[i].min_buf_sz = le32_to_cpu(dma_caps[i].min_buf_sz); in ath12k_wmi_dma_ring_caps()
3922 dir_buff_caps[i].min_buf_align = le32_to_cpu(dma_caps[i].min_buf_align); in ath12k_wmi_dma_ring_caps()
/linux-6.3-rc2/drivers/net/wireless/ath/ath11k/
A Dwmi.c4673 struct wmi_dma_ring_capabilities *dma_caps; in ath11k_wmi_tlv_dma_ring_caps() local
4679 dma_caps = (struct wmi_dma_ring_capabilities *)ptr; in ath11k_wmi_tlv_dma_ring_caps()
4702 if (dma_caps[i].module_id >= WMI_DIRECT_BUF_MAX) { in ath11k_wmi_tlv_dma_ring_caps()
4703 ath11k_warn(ab, "Invalid module id %d\n", dma_caps[i].module_id); in ath11k_wmi_tlv_dma_ring_caps()
4708 dir_buff_caps[i].id = dma_caps[i].module_id; in ath11k_wmi_tlv_dma_ring_caps()
4709 dir_buff_caps[i].pdev_id = DP_HW2SW_MACID(dma_caps[i].pdev_id); in ath11k_wmi_tlv_dma_ring_caps()
4710 dir_buff_caps[i].min_elem = dma_caps[i].min_elem; in ath11k_wmi_tlv_dma_ring_caps()
4711 dir_buff_caps[i].min_buf_sz = dma_caps[i].min_buf_sz; in ath11k_wmi_tlv_dma_ring_caps()
4712 dir_buff_caps[i].min_buf_align = dma_caps[i].min_buf_align; in ath11k_wmi_tlv_dma_ring_caps()

Completed in 41 milliseconds