Lines Matching defs:private
413 swidget->private = host;
441 kfree(swidget->private);
442 swidget->private = NULL;
449 kfree(swidget->private);
463 swidget->private = tone;
473 kfree(swidget->private);
474 swidget->private = NULL;
496 swidget->private = mixer;
507 kfree(swidget->private);
508 swidget->private = NULL;
537 swidget->private = pipeline;
580 kfree(swidget->private);
581 swidget->private = NULL;
596 swidget->private = buffer;
610 kfree(swidget->private);
611 swidget->private = NULL;
632 swidget->private = src;
656 kfree(swidget->private);
657 swidget->private = NULL;
673 swidget->private = asrc;
699 kfree(swidget->private);
700 swidget->private = NULL;
719 swidget->private = mux;
729 kfree(swidget->private);
730 swidget->private = NULL;
758 swidget->private = volume;
794 kfree(swidget->private);
795 swidget->private = NULL;
819 wdata[i].control = sm->dobj.private;
823 wdata[i].control = sbe->dobj.private;
827 wdata[i].control = se->dobj.private;
920 swidget->private = process;
937 * found private data in control, so copy it.
958 kfree(swidget->private);
959 swidget->private = NULL;
1004 struct sof_dai_private_data *private = dai->private;
1025 private->dai_config = kmemdup(config, size, GFP_KERNEL);
1026 if (!private->dai_config)
1070 struct sof_dai_private_data *private = dai->private;
1110 private->dai_config = kmemdup(config, size, GFP_KERNEL);
1111 if (!private->dai_config)
1121 struct sof_dai_private_data *private = dai->private;
1160 private->dai_config = kmemdup(config, size, GFP_KERNEL);
1161 if (!private->dai_config)
1171 struct sof_dai_private_data *private = dai->private;
1191 private->dai_config = kmemdup(config, size, GFP_KERNEL);
1192 if (!private->dai_config)
1202 struct sof_dai_private_data *private = dai->private;
1223 private->dai_config = kmemdup(config, size, GFP_KERNEL);
1224 if (!private->dai_config)
1234 struct sof_dai_private_data *private = dai->private;
1256 private->dai_config = kmemdup(config, size, GFP_KERNEL);
1257 if (!private->dai_config)
1267 struct sof_dai_private_data *private = dai->private;
1290 private->dai_config = kmemdup(config, size, GFP_KERNEL);
1291 if (!private->dai_config)
1301 struct sof_dai_private_data *private = dai->private;
1323 private->dai_config = kmemdup(config, size, GFP_KERNEL);
1324 if (!private->dai_config)
1333 struct sof_dai_private_data *private = dai->private;
1351 private->dai_config = kmemdup(config, size, GFP_KERNEL);
1352 if (!private->dai_config)
1361 struct sof_dai_private_data *private = dai->private;
1380 private->dai_config = kmemdup(config, size, GFP_KERNEL);
1381 if (!private->dai_config)
1392 struct sof_dai_private_data *private = dai->private;
1453 private->dai_config = kmemdup(config, size * slink->num_hw_configs, GFP_KERNEL);
1454 if (!private->dai_config)
1464 struct sof_dai_private_data *private = dai->private;
1525 private->dai_config = kmemdup(config, size, GFP_KERNEL);
1526 if (!private->dai_config)
1535 struct sof_dai_private_data *private = dai->private;
1551 private->dai_config = kmemdup(config, size, GFP_KERNEL);
1552 if (!private->dai_config)
1562 struct snd_sof_dai *dai = swidget->private;
1563 struct sof_dai_private_data *private;
1570 private = kzalloc(sizeof(*private), GFP_KERNEL);
1571 if (!private)
1574 dai->private = private;
1576 private->comp_dai = sof_comp_alloc(swidget, &ipc_size, swidget->pipeline_id);
1577 if (!private->comp_dai) {
1583 comp_dai = private->comp_dai;
1704 kfree(private);
1705 dai->private = NULL;
1715 struct snd_sof_dai *dai = swidget->private;
1721 dai_data = dai->private;
1982 struct snd_sof_widget *swidget = w->dobj.private;
2069 ipc_comp = swidget->private;
2117 if (!swidget->private)
2145 struct snd_sof_dai *dai = swidget->private;
2146 struct sof_dai_private_data *private;
2150 if (!dai || !dai->private) {
2151 dev_err(sdev->dev, "No private data for DAI %s\n", swidget->widget->name);
2155 private = dai->private;
2156 if (!private->dai_config) {
2161 config = &private->dai_config[dai->current_config];
2247 if (!swidget->private)
2254 struct snd_sof_dai *dai = swidget->private;
2255 struct sof_dai_private_data *dai_data = dai->private;
2265 pipeline = swidget->private;
2273 hdr = swidget->private;
2274 ret = sof_ipc_tx_message_no_reply(sdev->ipc, swidget->private, hdr->size);
2307 struct snd_sof_dai *dai = swidget->private;
2308 struct sof_dai_private_data *private;
2311 if (!dai || !dai->private)
2313 private = dai->private;
2314 if (!private->dai_config)
2317 config = private->dai_config;
2528 struct sof_dai_private_data *private = dai->private;
2530 if (!private || !private->dai_config)
2533 switch (private->dai_config->type) {
2537 return private->dai_config->ssp.mclk_rate;
2539 return private->dai_config->ssp.bclk_rate;
2541 return private->dai_config->ssp.tdm_slots;
2549 dev_err(sdev->dev, "DAI type %d not supported yet!\n", private->dai_config->type);