Searched refs:sg (Results 1 – 6 of 6) sorted by relevance
/sound/soc/sh/ |
D | siu_pcm.c | 112 struct scatterlist sg; in siu_pcm_wr_set() local 115 sg_init_table(&sg, 1); in siu_pcm_wr_set() 116 sg_set_page(&sg, pfn_to_page(PFN_DOWN(buff)), in siu_pcm_wr_set() 118 sg_dma_len(&sg) = size; in siu_pcm_wr_set() 119 sg_dma_address(&sg) = buff; in siu_pcm_wr_set() 122 &sg, 1, DMA_MEM_TO_DEV, DMA_PREP_INTERRUPT | DMA_CTRL_ACK); in siu_pcm_wr_set() 160 struct scatterlist sg; in siu_pcm_rd_set() local 165 sg_init_table(&sg, 1); in siu_pcm_rd_set() 166 sg_set_page(&sg, pfn_to_page(PFN_DOWN(buff)), in siu_pcm_rd_set() 168 sg_dma_len(&sg) = size; in siu_pcm_rd_set() [all …]
|
/sound/soc/sprd/ |
D | sprd-pcm-dma.c | 199 struct scatterlist *sg; in sprd_pcm_hw_params() local 221 sg = devm_kcalloc(component->dev, sg_num, sizeof(*sg), GFP_KERNEL); in sprd_pcm_hw_params() 222 if (!sg) { in sprd_pcm_hw_params() 233 struct scatterlist *sgt = sg; in sprd_pcm_hw_params() 279 data->desc = chan->device->device_prep_slave_sg(chan, sg, in sprd_pcm_hw_params() 294 devm_kfree(component->dev, sg); in sprd_pcm_hw_params() 299 devm_kfree(component->dev, sg); in sprd_pcm_hw_params()
|
D | sprd-pcm-compress.c | 144 struct scatterlist *sg, *sgt; in sprd_platform_compr_dma_config() local 163 sgt = sg = devm_kcalloc(dev, sg_num, sizeof(*sg), GFP_KERNEL); in sprd_platform_compr_dma_config() 164 if (!sg) { in sprd_platform_compr_dma_config() 238 dma->desc = dma->chan->device->device_prep_slave_sg(dma->chan, sg, in sprd_platform_compr_dma_config() 253 devm_kfree(dev, sg); in sprd_platform_compr_dma_config() 258 devm_kfree(dev, sg); in sprd_platform_compr_dma_config()
|
/sound/core/ |
D | sgbuf.c | 167 struct snd_sg_buf *sg = dmab->private_data; in snd_dma_sg_get_chunk_size() local 173 pg = sg->table[start].addr >> PAGE_SHIFT; in snd_dma_sg_get_chunk_size() 179 if ((sg->table[start].addr >> PAGE_SHIFT) != pg) in snd_dma_sg_get_chunk_size()
|
/sound/virtio/ |
D | virtio_ctl_msg.c | 266 struct scatterlist sg; in virtsnd_ctl_query_info() local 279 sg_init_one(&sg, info, count * size); in virtsnd_ctl_query_info() 281 return virtsnd_ctl_msg_send(snd, msg, NULL, &sg, false); in virtsnd_ctl_query_info()
|
D | virtio_card.c | 33 struct scatterlist sg; in virtsnd_event_send() local 34 struct scatterlist *psgs[1] = { &sg }; in virtsnd_event_send() 39 sg_init_one(&sg, event, sizeof(*event)); in virtsnd_event_send()
|