Home
last modified time | relevance | path

Searched refs:sgs (Results 1 – 3 of 3) sorted by relevance

/sound/virtio/
A Dvirtio_pcm_msg.c23 struct scatterlist sgs[]; member
104 sg_phys(&sgs[idx]) + sgs[idx].length != page_to_phys(pg)) { in virtsnd_pcm_sg_from()
107 sg_set_page(&sgs[++idx], pg, pg_length, in virtsnd_pcm_sg_from()
110 sgs[idx].length += pg_length; in virtsnd_pcm_sg_from()
117 sg_mark_end(&sgs[idx]); in virtsnd_pcm_sg_from()
149 msg = kzalloc(struct_size(msg, sgs, sg_num + 2), GFP_KERNEL); in virtsnd_pcm_msg_alloc()
154 sg_init_one(&msg->sgs[PCM_MSG_SG_XFER], &msg->xfer, in virtsnd_pcm_msg_alloc()
156 sg_init_one(&msg->sgs[PCM_MSG_SG_STATUS], &msg->status, in virtsnd_pcm_msg_alloc()
218 &msg->sgs[PCM_MSG_SG_XFER], in virtsnd_pcm_msg_send()
219 &msg->sgs[PCM_MSG_SG_DATA], in virtsnd_pcm_msg_send()
[all …]
/sound/soc/qcom/qdsp6/
A Dq6apm.c178 struct audioreach_sub_graph *sgs; in __q6apm_find_module_by_mid() local
181 list_for_each_entry(sgs, &info->sg_list, node) { in __q6apm_find_module_by_mid()
182 list_for_each_entry(container, &sgs->container_list, node) { in __q6apm_find_module_by_mid()
369 struct audioreach_sub_graph *sgs; in q6apm_graph_media_format_pcm() local
373 list_for_each_entry(sgs, &info->sg_list, node) { in q6apm_graph_media_format_pcm()
374 list_for_each_entry(container, &sgs->container_list, node) { in q6apm_graph_media_format_pcm()
A Daudioreach.c453 struct audioreach_sub_graph *sgs; in audioreach_alloc_graph_pkt() local
471 list_for_each_entry(sgs, sg_list, node) { in audioreach_alloc_graph_pkt()
473 list_for_each_entry(container, &sgs->container_list, node) { in audioreach_alloc_graph_pkt()

Completed in 13 milliseconds