swidget 87 sound/soc/sof/core.c struct snd_sof_widget *swidget; swidget 89 sound/soc/sof/core.c list_for_each_entry(swidget, &sdev->widget_list, list) { swidget 90 sound/soc/sof/core.c if (strcmp(name, swidget->widget->name) == 0) swidget 91 sound/soc/sof/core.c return swidget; swidget 101 sound/soc/sof/core.c struct snd_sof_widget *swidget; swidget 109 sound/soc/sof/core.c list_for_each_entry(swidget, &sdev->widget_list, list) { swidget 110 sound/soc/sof/core.c if (!strcmp(pcm_name, swidget->widget->sname) && swidget->id == type) swidget 111 sound/soc/sof/core.c return swidget; swidget 64 sound/soc/sof/pm.c struct snd_sof_widget *swidget; swidget 73 sound/soc/sof/pm.c list_for_each_entry_reverse(swidget, &sdev->widget_list, list) { swidget 77 sound/soc/sof/pm.c if (!swidget->private) swidget 80 sound/soc/sof/pm.c switch (swidget->id) { swidget 83 sound/soc/sof/pm.c dai = swidget->private; swidget 98 sound/soc/sof/pm.c pipeline = swidget->private; swidget 102 sound/soc/sof/pm.c hdr = swidget->private; swidget 104 sound/soc/sof/pm.c swidget->private, hdr->size, swidget 111 sound/soc/sof/pm.c swidget->widget->id, swidget->comp_id); swidget 180 sound/soc/sof/pm.c list_for_each_entry(swidget, &sdev->widget_list, list) { swidget 181 sound/soc/sof/pm.c switch (swidget->id) { swidget 183 sound/soc/sof/pm.c swidget->complete = swidget 184 sound/soc/sof/pm.c snd_sof_complete_pipeline(sdev, swidget); swidget 558 sound/soc/sof/sof-priv.h struct snd_sof_widget *swidget); swidget 53 sound/soc/sof/topology.c static int ipc_pcm_params(struct snd_sof_widget *swidget, int dir) swidget 56 sound/soc/sof/topology.c struct snd_sof_dev *sdev = swidget->sdev; swidget 65 sound/soc/sof/topology.c spcm = snd_sof_find_spcm_name(sdev, swidget->widget->sname); swidget 68 sound/soc/sof/topology.c swidget->widget->name); swidget 77 sound/soc/sof/topology.c pcm.comp_id = swidget->comp_id; swidget 106 sound/soc/sof/topology.c swidget->widget->name); swidget 112 sound/soc/sof/topology.c static int ipc_trigger(struct snd_sof_widget *swidget, int cmd) swidget 114 sound/soc/sof/topology.c struct snd_sof_dev *sdev = swidget->sdev; swidget 122 sound/soc/sof/topology.c stream.comp_id = swidget->comp_id; swidget 129 sound/soc/sof/topology.c swidget->widget->name); swidget 137 sound/soc/sof/topology.c struct snd_sof_widget *swidget = w->dobj.private; swidget 141 sound/soc/sof/topology.c if (!swidget) swidget 144 sound/soc/sof/topology.c sdev = swidget->sdev; swidget 153 sound/soc/sof/topology.c ret = ipc_pcm_params(swidget, SOF_IPC_STREAM_CAPTURE); swidget 157 sound/soc/sof/topology.c swidget->widget->name); swidget 162 sound/soc/sof/topology.c ret = ipc_trigger(swidget, SOF_IPC_STREAM_TRIG_START); swidget 166 sound/soc/sof/topology.c swidget->widget->name); swidget 170 sound/soc/sof/topology.c ret = ipc_trigger(swidget, SOF_IPC_STREAM_TRIG_STOP); swidget 174 sound/soc/sof/topology.c swidget->widget->name); swidget 177 sound/soc/sof/topology.c ret = ipc_trigger(swidget, SOF_IPC_STREAM_PCM_FREE); swidget 181 sound/soc/sof/topology.c swidget->widget->name); swidget 1178 sound/soc/sof/topology.c struct snd_sof_widget *swidget, swidget 1192 sound/soc/sof/topology.c comp_dai.comp.id = swidget->comp_id; swidget 1216 sound/soc/sof/topology.c swidget->widget->name, comp_dai.type, comp_dai.dai_index); swidget 1235 sound/soc/sof/topology.c struct snd_sof_widget *swidget, swidget 1251 sound/soc/sof/topology.c buffer->comp.id = swidget->comp_id; swidget 1266 sound/soc/sof/topology.c swidget->widget->name, buffer->size, buffer->caps); swidget 1268 sound/soc/sof/topology.c swidget->private = buffer; swidget 1274 sound/soc/sof/topology.c swidget->widget->name); swidget 1305 sound/soc/sof/topology.c struct snd_sof_widget *swidget, swidget 1322 sound/soc/sof/topology.c host->comp.id = swidget->comp_id; swidget 1346 sound/soc/sof/topology.c dev_dbg(sdev->dev, "loaded host %s\n", swidget->widget->name); swidget 1349 sound/soc/sof/topology.c swidget->private = host; swidget 1410 sound/soc/sof/topology.c int index, struct snd_sof_widget *swidget, swidget 1428 sound/soc/sof/topology.c pipeline->comp_id = swidget->comp_id; swidget 1454 sound/soc/sof/topology.c swidget->widget->name, pipeline->period, pipeline->priority, swidget 1457 sound/soc/sof/topology.c swidget->private = pipeline; swidget 1473 sound/soc/sof/topology.c struct snd_sof_widget *swidget, swidget 1489 sound/soc/sof/topology.c mixer->comp.id = swidget->comp_id; swidget 1506 sound/soc/sof/topology.c swidget->private = mixer; swidget 1520 sound/soc/sof/topology.c struct snd_sof_widget *swidget, swidget 1536 sound/soc/sof/topology.c mux->comp.id = swidget->comp_id; swidget 1553 sound/soc/sof/topology.c swidget->private = mux; swidget 1568 sound/soc/sof/topology.c struct snd_sof_widget *swidget, swidget 1594 sound/soc/sof/topology.c volume->comp.id = swidget->comp_id; swidget 1618 sound/soc/sof/topology.c swidget->private = volume; swidget 1621 sound/soc/sof/topology.c if (scontrol->comp_id == swidget->comp_id) { swidget 1645 sound/soc/sof/topology.c struct snd_sof_widget *swidget, swidget 1661 sound/soc/sof/topology.c src->comp.id = swidget->comp_id; swidget 1685 sound/soc/sof/topology.c swidget->widget->name, src->source_rate, src->sink_rate); swidget 1688 sound/soc/sof/topology.c swidget->private = src; swidget 1704 sound/soc/sof/topology.c struct snd_sof_widget *swidget, swidget 1720 sound/soc/sof/topology.c tone->comp.id = swidget->comp_id; swidget 1744 sound/soc/sof/topology.c swidget->widget->name, tone->frequency, tone->amplitude); swidget 1747 sound/soc/sof/topology.c swidget->private = tone; swidget 1831 sound/soc/sof/topology.c struct snd_sof_widget *swidget, swidget 1837 sound/soc/sof/topology.c struct snd_soc_dapm_widget *widget = swidget->widget; swidget 1889 sound/soc/sof/topology.c process->comp.id = swidget->comp_id; swidget 1920 sound/soc/sof/topology.c swidget->private = process; swidget 1962 sound/soc/sof/topology.c struct snd_sof_widget *swidget, swidget 1990 sound/soc/sof/topology.c ret = sof_process_load(scomp, index, swidget, tw, r, swidget 2001 sound/soc/sof/topology.c struct snd_sof_widget *swidget, swidget 2010 sound/soc/sof/topology.c if (swidget->id != snd_soc_dapm_effect) swidget 2013 sound/soc/sof/topology.c ipc_comp = swidget->private; swidget 2018 sound/soc/sof/topology.c return snd_soc_tplg_widget_bind_event(swidget->widget, swidget 2028 sound/soc/sof/topology.c event_type, swidget->widget->name); swidget 2038 sound/soc/sof/topology.c struct snd_sof_widget *swidget; swidget 2044 sound/soc/sof/topology.c swidget = kzalloc(sizeof(*swidget), GFP_KERNEL); swidget 2045 sound/soc/sof/topology.c if (!swidget) swidget 2048 sound/soc/sof/topology.c swidget->sdev = sdev; swidget 2049 sound/soc/sof/topology.c swidget->widget = w; swidget 2050 sound/soc/sof/topology.c swidget->comp_id = sdev->next_comp_id++; swidget 2051 sound/soc/sof/topology.c swidget->complete = 0; swidget 2052 sound/soc/sof/topology.c swidget->id = w->id; swidget 2053 sound/soc/sof/topology.c swidget->pipeline_id = index; swidget 2054 sound/soc/sof/topology.c swidget->private = NULL; swidget 2058 sound/soc/sof/topology.c swidget->comp_id, index, swidget->id, tw->name, swidget 2068 sound/soc/sof/topology.c kfree(swidget); swidget 2072 sound/soc/sof/topology.c ret = sof_widget_load_dai(scomp, index, swidget, tw, &reply, swidget 2077 sound/soc/sof/topology.c swidget->private = dai; swidget 2083 sound/soc/sof/topology.c ret = sof_widget_load_mixer(scomp, index, swidget, tw, &reply); swidget 2086 sound/soc/sof/topology.c ret = sof_widget_load_pga(scomp, index, swidget, tw, &reply); swidget 2089 sound/soc/sof/topology.c if (scontrol->comp_id == swidget->comp_id) { swidget 2096 sound/soc/sof/topology.c ret = sof_widget_load_buffer(scomp, index, swidget, tw, &reply); swidget 2099 sound/soc/sof/topology.c ret = sof_widget_load_pipeline(scomp, index, swidget, tw, swidget 2103 sound/soc/sof/topology.c ret = sof_widget_load_pcm(scomp, index, swidget, swidget 2107 sound/soc/sof/topology.c ret = sof_widget_load_pcm(scomp, index, swidget, swidget 2111 sound/soc/sof/topology.c ret = sof_widget_load_src(scomp, index, swidget, tw, &reply); swidget 2114 sound/soc/sof/topology.c ret = sof_widget_load_siggen(scomp, index, swidget, tw, &reply); swidget 2117 sound/soc/sof/topology.c ret = sof_widget_load_process(scomp, index, swidget, tw, swidget 2122 sound/soc/sof/topology.c ret = sof_widget_load_mux(scomp, index, swidget, tw, &reply); swidget 2129 sound/soc/sof/topology.c swidget->id, tw->name); swidget 2137 sound/soc/sof/topology.c tw->shift, swidget->id, tw->name, swidget 2140 sound/soc/sof/topology.c kfree(swidget); swidget 2146 sound/soc/sof/topology.c ret = sof_widget_bind_event(sdev, swidget, swidget 2150 sound/soc/sof/topology.c kfree(swidget->private); swidget 2151 sound/soc/sof/topology.c kfree(swidget); swidget 2156 sound/soc/sof/topology.c w->dobj.private = swidget; swidget 2157 sound/soc/sof/topology.c list_add(&swidget->list, &sdev->widget_list); swidget 2186 sound/soc/sof/topology.c struct snd_sof_widget *swidget; swidget 2194 sound/soc/sof/topology.c swidget = dobj->private; swidget 2195 sound/soc/sof/topology.c if (!swidget) swidget 2198 sound/soc/sof/topology.c widget = swidget->widget; swidget 2200 sound/soc/sof/topology.c switch (swidget->id) { swidget 2203 sound/soc/sof/topology.c dai = swidget->private; swidget 2214 sound/soc/sof/topology.c pipeline = swidget->private; swidget 2255 sound/soc/sof/topology.c kfree(swidget->private); swidget 2258 sound/soc/sof/topology.c list_del(&swidget->list); swidget 2259 sound/soc/sof/topology.c kfree(swidget); swidget 3159 sound/soc/sof/topology.c struct snd_sof_widget *swidget) swidget 3166 sound/soc/sof/topology.c swidget->widget->name, swidget->comp_id); swidget 3171 sound/soc/sof/topology.c ready.comp_id = swidget->comp_id; swidget 3185 sound/soc/sof/topology.c struct snd_sof_widget *swidget; swidget 3188 sound/soc/sof/topology.c list_for_each_entry(swidget, &sdev->widget_list, list) { swidget 3189 sound/soc/sof/topology.c if (swidget->complete) swidget 3192 sound/soc/sof/topology.c switch (swidget->id) { swidget 3194 sound/soc/sof/topology.c swidget->complete = swidget 3195 sound/soc/sof/topology.c snd_sof_complete_pipeline(sdev, swidget);