Searched refs:dma_caps (Results 1 – 5 of 5) sorted by relevance
408 struct dma_slave_caps dma_caps; in snd_dmaengine_pcm_refine_runtime_hwparams() local418 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()
203 struct dma_slave_caps dma_caps; in dmaengine_pcm_can_report_residue() local206 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()
1051 struct dma_slave_caps dma_caps; in s3c24xx_serial_request_dma() local1074 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()
3881 struct ath12k_wmi_dma_ring_caps_params *dma_caps; in ath12k_wmi_dma_ring_caps() local3887 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()
4673 struct wmi_dma_ring_capabilities *dma_caps; in ath11k_wmi_tlv_dma_ring_caps() local4679 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