Home
last modified time | relevance | path

Searched refs:sname (Results 1 – 13 of 13) 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.c266 const char *sname, *drv_name = "tegra-hda"; in hda_tegra_first_init() local
370 sname = of_get_property(np, "nvidia,model", NULL); in hda_tegra_first_init()
371 if (!sname) in hda_tegra_first_init()
372 sname = drv_name; in hda_tegra_first_init()
373 if (strlen(sname) > sizeof(card->shortname)) in hda_tegra_first_init()
375 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()
2139 if (w->sname) in dapm_widget_power_read_file()
2141 w->sname, in dapm_widget_power_read_file()
2506 kfree_const(w->sname); in snd_soc_dapm_free_widget()
3670 kfree_const(w->sname); in snd_soc_dapm_new_control_unlocked()
3763 kfree_const(w->sname); in snd_soc_dapm_new_control_unlocked()
4221 template.sname = dai->driver->playback.stream_name; in snd_soc_dapm_new_dai_widgets()
4237 template.sname = dai->driver->capture.stream_name; in snd_soc_dapm_new_dai_widgets()
[all …]
Dsoc-topology.c1435 if (strnlen(w->sname, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_dapm_widget_create()
1453 template.sname = kstrdup(w->sname, GFP_KERNEL); in soc_tplg_dapm_widget_create()
1454 if (!template.sname) { in soc_tplg_dapm_widget_create()
1571 kfree(template.sname); in soc_tplg_dapm_widget_create()
1580 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()
1400 w->name, w->sname, rtd->dai_link->stream_name); in sof_connect_dai_widget()
1402 if (!w->sname || !rtd->dai_link->stream_name) in sof_connect_dai_widget()
1406 if (strcmp(w->sname, rtd->dai_link->stream_name)) in sof_connect_dai_widget()
1462 w->name, w->sname); in sof_connect_dai_widget()
1745 comp_swidget = snd_sof_find_swidget(scomp, tw->sname); in sof_widget_load_pipeline()
1748 tw->name, tw->sname); in sof_widget_load_pipeline()
2416 strnlen(tw->sname, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) > 0 in sof_widget_ready()
2417 ? tw->sname : "none"); in sof_widget_ready()
[all …]
Dsof-priv.h50 #define SOF_DAI_STREAM(sname, scmin, scmax, srates, sfmt) \ argument
51 {.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.c2397 #define DEFINE_SWITCH_ARG(sname, xreg, xmask, xmask_on, xis_byte, xac3) \ argument
2398 static struct cmipci_switch_args cmipci_switch_arg_##sname = { \
2406 #define DEFINE_BIT_SWITCH_ARG(sname, xreg, xmask, xis_byte, xac3) \ argument
2407 DEFINE_SWITCH_ARG(sname, xreg, xmask, xmask, xis_byte, xac3)
2438 #define DEFINE_SWITCH(sname, stype, sarg) \ argument
2439 { .name = sname, \
2447 #define DEFINE_CARD_SWITCH(sname, sarg) DEFINE_SWITCH(sname, SNDRV_CTL_ELEM_IFACE_CARD, sarg) argument
2448 #define DEFINE_MIXER_SWITCH(sname, sarg) DEFINE_SWITCH(sname, SNDRV_CTL_ELEM_IFACE_MIXER, sarg) argument
/sound/soc/intel/catpt/
Dpcm.c1059 #define CATPT_VOLUME_CTL(kname, sname) \ argument
1065 .get = catpt_##sname##_volume_get, \
1066 .put = catpt_##sname##_volume_put, \
/sound/soc/sunxi/
Dsun8i-codec.c704 struct sun8i_codec_aif *aif = &scodec->aifs[w->sname[3] - '1']; in sun8i_codec_aif_event()
/sound/soc/codecs/
Dhdac_hdmi.c694 w->sname = stream; in hdac_hdmi_fill_widget_info()