Lines Matching defs:comp

1475 	struct sof_ipc_comp *comp;
1482 comp = kzalloc(total_size, GFP_KERNEL);
1483 if (!comp)
1486 /* configure comp new IPC message */
1487 comp->hdr.size = total_size;
1488 comp->hdr.cmd = SOF_IPC_GLB_TPLG_MSG | SOF_IPC_TPLG_COMP_NEW;
1489 comp->id = swidget->comp_id;
1490 comp->pipeline_id = index;
1491 comp->core = swidget->core;
1496 memcpy((u8 *)comp + *ipc_size, &swidget->comp_ext, sizeof(swidget->comp_ext));
1497 comp->ext_data_length = sizeof(swidget->comp_ext);
1502 return comp;
1523 comp_dai->comp.type = SOF_COMP_DAI;
1548 ret = sof_ipc_tx_message(sdev->ipc, comp_dai->comp.hdr.cmd,
1586 buffer->comp.hdr.size = sizeof(*buffer);
1587 buffer->comp.hdr.cmd = SOF_IPC_GLB_TPLG_MSG | SOF_IPC_TPLG_BUFFER_NEW;
1588 buffer->comp.id = swidget->comp_id;
1589 buffer->comp.type = SOF_COMP_BUFFER;
1590 buffer->comp.pipeline_id = index;
1591 buffer->comp.core = swidget->core;
1608 ret = sof_ipc_tx_message(sdev->ipc, buffer->comp.hdr.cmd, buffer,
1629 dev_err(scomp->dev, "can't find host comp to bind pcm\n");
1659 /* configure host comp IPC message */
1660 host->comp.type = SOF_COMP_HOST;
1687 ret = sof_ipc_tx_message(sdev->ipc, host->comp.hdr.cmd, host,
1748 dev_dbg(scomp->dev, "tplg: pipeline id %d comp %d scheduling comp id %d\n",
1766 /* send ipc's to create pipeline comp and power up schedule core */
1796 mixer->comp.type = SOF_COMP_MIXER;
1813 ret = sof_ipc_tx_message(sdev->ipc, mixer->comp.hdr.cmd, mixer,
1841 mux->comp.type = SOF_COMP_MUX;
1858 ret = sof_ipc_tx_message(sdev->ipc, mux->comp.hdr.cmd, mux,
1897 volume->comp.type = SOF_COMP_VOLUME;
1933 ret = sof_ipc_tx_message(sdev->ipc, volume->comp.hdr.cmd, volume,
1963 src->comp.type = SOF_COMP_SRC;
1990 ret = sof_ipc_tx_message(sdev->ipc, src->comp.hdr.cmd, src,
2020 asrc->comp.type = SOF_COMP_ASRC;
2049 ret = sof_ipc_tx_message(sdev->ipc, asrc->comp.hdr.cmd, asrc,
2079 tone->comp.type = SOF_COMP_TONE;
2106 ret = sof_ipc_tx_message(sdev->ipc, tone->comp.hdr.cmd, tone,
2237 process->comp.type = type;
2268 ret = sof_ipc_tx_message(sdev->ipc, process->comp.hdr.cmd, process,
2323 config.comp.core = swidget->core;
2363 /* bind event to keyword detect comp */
2388 struct sof_ipc_comp comp = {
2411 ret = sof_parse_tokens(scomp, &comp, core_tokens,
2421 swidget->core = comp.core;
2424 ret = sof_core_enable(sdev, comp.core);
2719 /* bind pcm to host comp */
2748 /* bind pcm to host comp */