Searched refs:sg_len (Results 1 – 3 of 3) sorted by relevance
| /sound/soc/fsl/ |
| A D | fsl_asrc_m2m.c | 110 unsigned int sg_len, max_period_size; in asrc_dmaconfig() local 154 sg_len = buf_len / max_period_size; in asrc_dmaconfig() 156 sg_len += 1; in asrc_dmaconfig() 158 sg = kmalloc_array(sg_len, sizeof(*sg), GFP_KERNEL); in asrc_dmaconfig() 162 sg_init_table(sg, sg_len); in asrc_dmaconfig() 163 for (i = 0; i < (sg_len - 1); i++) { in asrc_dmaconfig() 170 pair->desc[dir] = dmaengine_prep_slave_sg(chan, sg, sg_len, in asrc_dmaconfig()
|
| /sound/soc/sprd/ |
| A D | sprd-pcm-dma.c | 252 u32 sg_len = period / channels; in sprd_pcm_hw_params() local 254 sg_dma_len(sgt) = sg_len; in sprd_pcm_hw_params() 256 i * dma_private->dma_addr_offset + sg_len * j; in sprd_pcm_hw_params()
|
| /sound/usb/qcom/ |
| A D | qc_audio_offload.c | 564 size_t sg_len; in uaudio_iommu_map() local 603 sg_len = PAGE_ALIGN(sg->offset + sg->length); in uaudio_iommu_map() 605 ret = iommu_map(uaudio_qdev->data->domain, iova_sg, pa_sg, sg_len, in uaudio_iommu_map() 613 iova_sg += sg_len; in uaudio_iommu_map() 614 total_len += sg_len; in uaudio_iommu_map()
|
Completed in 15 milliseconds