Home
last modified time | relevance | path

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

/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.c285 const char *sname, *drv_name = "tegra-hda"; in hda_tegra_first_init() local
347 sname = of_get_property(np, "nvidia,model", NULL); in hda_tegra_first_init()
348 if (!sname) in hda_tegra_first_init()
349 sname = drv_name; in hda_tegra_first_init()
350 if (strlen(sname) > sizeof(card->shortname)) in hda_tegra_first_init()
352 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/sof/
Dtopology.c65 spcm = snd_sof_find_spcm_name(sdev, swidget->widget->sname); in ipc_pcm_params()
1140 w->name, w->sname, rtd->dai_link->stream_name); in sof_connect_dai_widget()
1142 if (!w->sname || !rtd->dai_link->stream_name) in sof_connect_dai_widget()
1146 if (strcmp(w->sname, rtd->dai_link->stream_name)) in sof_connect_dai_widget()
1170 w->name, w->sname); in sof_connect_dai_widget()
1431 comp_swidget = snd_sof_find_swidget(sdev, tw->sname); in sof_widget_load_pipeline()
1434 tw->name, tw->sname); in sof_widget_load_pipeline()
2059 strnlen(tw->sname, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) > 0 in sof_widget_ready()
2060 ? tw->sname : "none"); in sof_widget_ready()
2138 strnlen(tw->sname, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) > 0 in sof_widget_ready()
[all …]
Dsof-priv.h52 #define SOF_DAI_STREAM(sname, scmin, scmax, srates, sfmt) \ argument
53 {.stream_name = sname, .channels_min = scmin, .channels_max = scmax, \
Dcore.c110 if (!strcmp(pcm_name, swidget->widget->sname) && swidget->id == type) in snd_sof_find_swidget_sname()
/sound/soc/
Dsoc-dapm.c333 if (_widget->sname) { in dapm_cnew_widget()
334 w->sname = kstrdup_const(_widget->sname, GFP_KERNEL); in dapm_cnew_widget()
335 if (!w->sname) { in dapm_cnew_widget()
2113 if (w->sname) in dapm_widget_power_read_file()
2115 w->sname, in dapm_widget_power_read_file()
2479 kfree_const(w->sname); in snd_soc_dapm_free_widget()
3625 kfree_const(w->sname); in snd_soc_dapm_new_control_unlocked()
3717 kfree_const(w->sname); in snd_soc_dapm_new_control_unlocked()
4189 template.sname = dai->driver->playback.stream_name; in snd_soc_dapm_new_dai_widgets()
4205 template.sname = dai->driver->capture.stream_name; in snd_soc_dapm_new_dai_widgets()
[all …]
Dsoc-topology.c1574 if (strnlen(w->sname, SNDRV_CTL_ELEM_ID_NAME_MAXLEN) == in soc_tplg_dapm_widget_create()
1592 template.sname = kstrdup(w->sname, GFP_KERNEL); in soc_tplg_dapm_widget_create()
1593 if (!template.sname) { in soc_tplg_dapm_widget_create()
1698 kfree(template.sname); in soc_tplg_dapm_widget_create()
1707 kfree(template.sname); in soc_tplg_dapm_widget_create()
/sound/pci/
Dcmipci.c2411 #define DEFINE_SWITCH_ARG(sname, xreg, xmask, xmask_on, xis_byte, xac3) \ argument
2412 static struct cmipci_switch_args cmipci_switch_arg_##sname = { \
2420 #define DEFINE_BIT_SWITCH_ARG(sname, xreg, xmask, xis_byte, xac3) \ argument
2421 DEFINE_SWITCH_ARG(sname, xreg, xmask, xmask, xis_byte, xac3)
2452 #define DEFINE_SWITCH(sname, stype, sarg) \ argument
2453 { .name = sname, \
2461 #define DEFINE_CARD_SWITCH(sname, sarg) DEFINE_SWITCH(sname, SNDRV_CTL_ELEM_IFACE_CARD, sarg) argument
2462 #define DEFINE_MIXER_SWITCH(sname, sarg) DEFINE_SWITCH(sname, SNDRV_CTL_ELEM_IFACE_MIXER, sarg) argument
/sound/soc/codecs/
Dhdac_hdmi.c695 w->sname = stream; in hdac_hdmi_fill_widget_info()