Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/qcom/qdsp6/
H A Dtopology.c220 sg_elem = sg_array->value; in audioreach_get_sg_array()
223 switch (le32_to_cpu(sg_elem->token)) { in audioreach_get_sg_array()
231 sg_elem++; in audioreach_get_sg_array()
310 struct snd_soc_tplg_vendor_value_elem *sg_elem; in audioreach_parse_sg_tokens() local
318 sg_elem = sg_array->value; in audioreach_parse_sg_tokens()
321 switch (le32_to_cpu(sg_elem->token)) { in audioreach_parse_sg_tokens()
323 sub_graph_id = le32_to_cpu(sg_elem->value); in audioreach_parse_sg_tokens()
334 graph_id = le32_to_cpu(sg_elem->value); in audioreach_parse_sg_tokens()
340 sg->perf_mode = le32_to_cpu(sg_elem->value); in audioreach_parse_sg_tokens()
343 sg->direction = le32_to_cpu(sg_elem->value); in audioreach_parse_sg_tokens()
[all …]
/openbmc/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_txrx.c419 struct ionic_rxq_sg_elem *sg_elem; in ionic_rx_fill() local
466 sg_elem = &sg_desc->elems[j]; in ionic_rx_fill()
469 sg_elem->addr = 0; in ionic_rx_fill()
470 sg_elem->len = 0; in ionic_rx_fill()
475 sg_elem->addr = cpu_to_le64(buf_info->dma_addr + buf_info->page_offset); in ionic_rx_fill()
479 sg_elem->len = cpu_to_le16(frag_len); in ionic_rx_fill()
487 sg_elem = &sg_desc->elems[j]; in ionic_rx_fill()
488 memset(sg_elem, 0, sizeof(*sg_elem)); in ionic_rx_fill()
/openbmc/linux/drivers/vfio/pci/pds/
H A Ddirty.c378 struct pds_lm_sg_elem *sg_elem = &bmp_info->sgl[i]; in pds_vfio_dirty_seq_ack() local
380 sg_elem->addr = cpu_to_le64(sg_dma_address(sg)); in pds_vfio_dirty_seq_ack()
381 sg_elem->len = cpu_to_le32(sg_dma_len(sg)); in pds_vfio_dirty_seq_ack()