Home
last modified time | relevance | path

Searched refs:sname (Results 1 – 12 of 12) sorted by relevance

/sound/soc/tegra/
Dtegra210_ahub.h77 #define WIDGETS(sname, ename) \ argument
78 SND_SOC_DAPM_AIF_IN(sname " XBAR-RX", NULL, 0, SND_SOC_NOPM, 0, 0), \
79 SND_SOC_DAPM_AIF_OUT(sname " XBAR-TX", NULL, 0, SND_SOC_NOPM, 0, 0), \
80 SND_SOC_DAPM_MUX(sname " Mux", SND_SOC_NOPM, 0, 0, \
83 #define TX_WIDGETS(sname) \ argument
84 SND_SOC_DAPM_AIF_IN(sname " XBAR-RX", NULL, 0, SND_SOC_NOPM, 0, 0), \
85 SND_SOC_DAPM_AIF_OUT(sname " XBAR-TX", NULL, 0, SND_SOC_NOPM, 0, 0)
87 #define DAI(sname) \ argument
89 .name = "XBAR-" #sname, \
91 .stream_name = #sname " XBAR-Playback", \
[all …]
/sound/pci/hda/
Dhda_eld.c496 char *sname; in snd_hdmi_write_eld_info() local
527 sname = name + 4; in snd_hdmi_write_eld_info()
530 sname++; in snd_hdmi_write_eld_info()
535 if (!strcmp(sname, "_coding_type")) in snd_hdmi_write_eld_info()
537 else if (!strcmp(sname, "_channels")) in snd_hdmi_write_eld_info()
539 else if (!strcmp(sname, "_rates")) in snd_hdmi_write_eld_info()
541 else if (!strcmp(sname, "_bits")) in snd_hdmi_write_eld_info()
543 else if (!strcmp(sname, "_max_bitrate")) in snd_hdmi_write_eld_info()
545 else if (!strcmp(sname, "_profile")) in snd_hdmi_write_eld_info()
Dhda_tegra.c262 const char *sname, *drv_name = "tegra-hda"; in hda_tegra_first_init() local
366 sname = of_get_property(np, "nvidia,model", NULL); in hda_tegra_first_init()
367 if (!sname) in hda_tegra_first_init()
368 sname = drv_name; in hda_tegra_first_init()
369 if (strlen(sname) > sizeof(card->shortname)) in hda_tegra_first_init()
371 strncpy(card->shortname, sname, sizeof(card->shortname)); in hda_tegra_first_init()
/sound/soc/intel/atom/
Dsst-atom-controls.h589 { .id = snd_soc_dapm_aif_in, .name = wname, .sname = NULL, \
597 { .id = snd_soc_dapm_aif_out, .name = wname, .sname = NULL, \
605 { .id = snd_soc_dapm_input, .name = wname, .sname = NULL, \
613 { .id = snd_soc_dapm_output, .name = wname, .sname = NULL, \
621 { .id = snd_soc_dapm_output, .name = wname, .sname = NULL, \
/sound/soc/
Dsoc-dapm.c335 if (_widget->sname) { in dapm_cnew_widget()
336 w->sname = kstrdup_const(_widget->sname, GFP_KERNEL); in dapm_cnew_widget()
337 if (!w->sname) { in dapm_cnew_widget()
2138 if (w->sname) in dapm_widget_power_read_file()
2140 w->sname, in dapm_widget_power_read_file()
2505 kfree_const(w->sname); in snd_soc_dapm_free_widget()
3672 kfree_const(w->sname); in snd_soc_dapm_new_control_unlocked()
3765 kfree_const(w->sname); in snd_soc_dapm_new_control_unlocked()
4236 template.sname = dai->driver->playback.stream_name; in snd_soc_dapm_new_dai_widgets()
4252 template.sname = dai->driver->capture.stream_name; in snd_soc_dapm_new_dai_widgets()
[all …]
Dsoc-topology.c1599 if (strnlen(w->sname, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_dapm_widget_create()
1617 template.sname = kstrdup(w->sname, GFP_KERNEL); in soc_tplg_dapm_widget_create()
1618 if (!template.sname) { in soc_tplg_dapm_widget_create()
1723 kfree(template.sname); in soc_tplg_dapm_widget_create()
1732 kfree(template.sname); in soc_tplg_dapm_widget_create()
/sound/soc/sof/
Dtopology.c71 spcm = snd_sof_find_spcm_name(scomp, swidget->widget->sname); in ipc_pcm_params()
159 spcm = snd_sof_find_spcm_name(scomp, swidget->widget->sname); in sof_keyword_dapm_event()
1393 w->name, w->sname, rtd->dai_link->stream_name); in sof_connect_dai_widget()
1395 if (!w->sname || !rtd->dai_link->stream_name) in sof_connect_dai_widget()
1399 if (strcmp(w->sname, rtd->dai_link->stream_name)) in sof_connect_dai_widget()
1455 w->name, w->sname); in sof_connect_dai_widget()
1738 comp_swidget = snd_sof_find_swidget(scomp, tw->sname); in sof_widget_load_pipeline()
1741 tw->name, tw->sname); in sof_widget_load_pipeline()
2408 strnlen(tw->sname, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) > 0 in sof_widget_ready()
2409 ? tw->sname : "none"); in sof_widget_ready()
[all …]
Dsof-priv.h46 #define SOF_DAI_STREAM(sname, scmin, scmax, srates, sfmt) \ argument
47 {.stream_name = sname, .channels_min = scmin, .channels_max = scmax, \
Dsof-audio.c414 if (!strcmp(pcm_name, swidget->widget->sname) && in snd_sof_find_swidget_sname()
/sound/pci/
Dcmipci.c2389 #define DEFINE_SWITCH_ARG(sname, xreg, xmask, xmask_on, xis_byte, xac3) \ argument
2390 static struct cmipci_switch_args cmipci_switch_arg_##sname = { \
2398 #define DEFINE_BIT_SWITCH_ARG(sname, xreg, xmask, xis_byte, xac3) \ argument
2399 DEFINE_SWITCH_ARG(sname, xreg, xmask, xmask, xis_byte, xac3)
2430 #define DEFINE_SWITCH(sname, stype, sarg) \ argument
2431 { .name = sname, \
2439 #define DEFINE_CARD_SWITCH(sname, sarg) DEFINE_SWITCH(sname, SNDRV_CTL_ELEM_IFACE_CARD, sarg) argument
2440 #define DEFINE_MIXER_SWITCH(sname, sarg) DEFINE_SWITCH(sname, SNDRV_CTL_ELEM_IFACE_MIXER, sarg) argument
/sound/soc/intel/catpt/
Dpcm.c1061 #define CATPT_VOLUME_CTL(kname, sname) \ argument
1067 .get = catpt_##sname##_volume_get, \
1068 .put = catpt_##sname##_volume_put, \
/sound/soc/codecs/
Dhdac_hdmi.c689 w->sname = stream; in hdac_hdmi_fill_widget_info()