Home
last modified time | relevance | path

Searched refs:cdma (Results 1 – 4 of 4) sorted by relevance

/sof-3.4.0/src/include/sof/ipc/
Dtopology.h53 int ipc4_chain_manager_create(struct ipc4_chain_dma *cdma);
54 int ipc4_chain_dma_state(struct comp_dev *dev, struct ipc4_chain_dma *cdma);
55 int ipc4_create_chain_dma(struct ipc *ipc, struct ipc4_chain_dma *cdma);
56 int ipc4_trigger_chain_dma(struct ipc *ipc, struct ipc4_chain_dma *cdma, bool *delay);
/sof-3.4.0/src/ipc/ipc4/
Dhandler.c467 struct ipc4_chain_dma cdma; in ipc4_process_chain_dma() local
471 ret = memcpy_s(&cdma, sizeof(cdma), ipc4, sizeof(*ipc4)); in ipc4_process_chain_dma()
475 comp_id = IPC4_COMP_ID(cdma.primary.r.host_dma_id + IPC4_MAX_MODULE_COUNT, 0); in ipc4_process_chain_dma()
478 if (!cdma_comp && cdma.primary.r.allocate && cdma.primary.r.enable) { in ipc4_process_chain_dma()
479 ret = ipc4_chain_manager_create(&cdma); in ipc4_process_chain_dma()
488 ret = ipc4_chain_dma_state(cdma_comp->cd, &cdma); in ipc4_process_chain_dma()
501 ret = ipc4_chain_dma_state(cdma_comp->cd, &cdma); in ipc4_process_chain_dma()
505 if (!cdma.primary.r.allocate && !cdma.primary.r.enable) in ipc4_process_chain_dma()
Dhelper.c516 int ipc4_chain_manager_create(struct ipc4_chain_dma *cdma) in ipc4_chain_manager_create() argument
527 dev = drv->ops.create(drv, NULL, cdma); in ipc4_chain_manager_create()
532 const uint32_t comp_id = IPC4_COMP_ID(cdma->primary.r.host_dma_id in ipc4_chain_manager_create()
535 dev->ipc_config.pipeline_id = cdma->primary.r.host_dma_id in ipc4_chain_manager_create()
541 int ipc4_chain_dma_state(struct comp_dev *dev, struct ipc4_chain_dma *cdma) in ipc4_chain_dma_state() argument
543 const bool allocate = cdma->primary.r.allocate; in ipc4_chain_dma_state()
544 const bool enable = cdma->primary.r.enable; in ipc4_chain_dma_state()
/sof-3.4.0/src/audio/
Dchain_dma.c635 const struct ipc4_chain_dma *cdma = (struct ipc4_chain_dma *)ipc_specific_config; in chain_task_create() local
636 const uint32_t host_dma_id = cdma->primary.r.host_dma_id; in chain_task_create()
637 const uint32_t link_dma_id = cdma->primary.r.link_dma_id; in chain_task_create()
638 const uint32_t fifo_size = cdma->extension.r.fifo_size; in chain_task_create()
639 const bool scs = cdma->primary.r.scs; in chain_task_create()