Lines Matching refs:comp_dai
1513 struct sof_ipc_comp_dai *comp_dai; in sof_widget_load_dai() local
1514 size_t ipc_size = sizeof(*comp_dai); in sof_widget_load_dai()
1517 comp_dai = (struct sof_ipc_comp_dai *) in sof_widget_load_dai()
1519 if (!comp_dai) in sof_widget_load_dai()
1523 comp_dai->comp.type = SOF_COMP_DAI; in sof_widget_load_dai()
1524 comp_dai->config.hdr.size = sizeof(comp_dai->config); in sof_widget_load_dai()
1526 ret = sof_parse_tokens(scomp, comp_dai, dai_tokens, in sof_widget_load_dai()
1535 ret = sof_parse_tokens(scomp, &comp_dai->config, comp_tokens, in sof_widget_load_dai()
1545 swidget->widget->name, comp_dai->type, comp_dai->dai_index); in sof_widget_load_dai()
1546 sof_dbg_comp_config(scomp, &comp_dai->config); in sof_widget_load_dai()
1548 ret = sof_ipc_tx_message(sdev->ipc, comp_dai->comp.hdr.cmd, in sof_widget_load_dai()
1549 comp_dai, ipc_size, r, sizeof(*r)); in sof_widget_load_dai()
1559 memcpy(&dai->comp_dai, comp_dai, sizeof(*comp_dai)); in sof_widget_load_dai()
1563 kfree(comp_dai); in sof_widget_load_dai()
2843 config->dai_index = dai->comp_dai.dai_index; in sof_set_dai_config()