Searched refs:dma_caps (Results 1 – 5 of 5) sorted by relevance
397 struct dma_slave_caps dma_caps; in snd_dmaengine_pcm_refine_runtime_hwparams() local407 ret = dma_get_slave_caps(chan, &dma_caps); in snd_dmaengine_pcm_refine_runtime_hwparams()409 if (dma_caps.cmd_pause && dma_caps.cmd_resume) in snd_dmaengine_pcm_refine_runtime_hwparams()411 if (dma_caps.residue_granularity <= DMA_RESIDUE_GRANULARITY_SEGMENT) in snd_dmaengine_pcm_refine_runtime_hwparams()415 addr_widths = dma_caps.dst_addr_widths; in snd_dmaengine_pcm_refine_runtime_hwparams()417 addr_widths = dma_caps.src_addr_widths; in snd_dmaengine_pcm_refine_runtime_hwparams()
211 struct dma_slave_caps dma_caps; in dmaengine_pcm_can_report_residue() local214 ret = dma_get_slave_caps(chan, &dma_caps); in dmaengine_pcm_can_report_residue()221 if (dma_caps.residue_granularity == DMA_RESIDUE_GRANULARITY_DESCRIPTOR) in dmaengine_pcm_can_report_residue()
977 struct dma_slave_caps dma_caps; in s3c24xx_serial_request_dma() local1000 ret = dma_get_slave_caps(dma->rx_chan, &dma_caps); in s3c24xx_serial_request_dma()1002 dma_caps.residue_granularity < DMA_RESIDUE_GRANULARITY_BURST) { in s3c24xx_serial_request_dma()1017 ret = dma_get_slave_caps(dma->tx_chan, &dma_caps); in s3c24xx_serial_request_dma()1019 dma_caps.residue_granularity < DMA_RESIDUE_GRANULARITY_BURST) { in s3c24xx_serial_request_dma()
3805 struct wmi_dma_ring_capabilities *dma_caps; in ath11k_wmi_tlv_dma_ring_caps() local3811 dma_caps = (struct wmi_dma_ring_capabilities *)ptr; in ath11k_wmi_tlv_dma_ring_caps()3834 if (dma_caps[i].module_id >= WMI_DIRECT_BUF_MAX) { in ath11k_wmi_tlv_dma_ring_caps()3835 ath11k_warn(ab, "Invalid module id %d\n", dma_caps[i].module_id); in ath11k_wmi_tlv_dma_ring_caps()3840 dir_buff_caps[i].id = dma_caps[i].module_id; in ath11k_wmi_tlv_dma_ring_caps()3841 dir_buff_caps[i].pdev_id = DP_HW2SW_MACID(dma_caps[i].pdev_id); in ath11k_wmi_tlv_dma_ring_caps()3842 dir_buff_caps[i].min_elem = dma_caps[i].min_elem; in ath11k_wmi_tlv_dma_ring_caps()3843 dir_buff_caps[i].min_buf_sz = dma_caps[i].min_buf_sz; in ath11k_wmi_tlv_dma_ring_caps()3844 dir_buff_caps[i].min_buf_align = dma_caps[i].min_buf_align; in ath11k_wmi_tlv_dma_ring_caps()
17160 + struct dma_slave_caps dma_caps;17189 + ret = dma_get_slave_caps(chan, &dma_caps);17191 + if (dma_caps.cmd_pause)17193 + if (dma_caps.residue_granularity <= DMA_RESIDUE_GRANULARITY_SEGMENT)17197 + addr_widths = dma_caps.dst_addr_widths;17199 + addr_widths = dma_caps.src_addr_widths;