Home
last modified time | relevance | path

Searched refs:paths (Results 1 – 6 of 6) sorted by relevance

/sound/pci/hda/
Dhda_generic.c47 snd_array_init(&spec->paths, sizeof(struct nid_path), 8); in snd_hda_gen_spec_init()
88 snd_array_free(&spec->paths); in snd_hda_gen_spec_free()
247 for (i = 0; i < spec->paths.used; i++) { in get_nid_path()
248 struct nid_path *path = snd_array_elem(&spec->paths, i); in get_nid_path()
278 struct nid_path *array = spec->paths.list; in snd_hda_get_path_idx()
281 if (!spec->paths.used) in snd_hda_get_path_idx()
284 if (idx < 0 || idx >= spec->paths.used) in snd_hda_get_path_idx()
295 if (idx <= 0 || idx > spec->paths.used) in snd_hda_get_path_from_idx()
297 return snd_array_elem(&spec->paths, idx - 1); in snd_hda_get_path_from_idx()
307 for (i = 0; i < spec->paths.used; i++) { in is_dac_already_used()
[all …]
Dhda_generic.h167 struct snd_array paths; member
Dpatch_analog.c860 struct nid_path *path = snd_array_new(&spec->gen.paths); in ad1988_add_spdif_mux_ctl()
/sound/soc/
Dsoc-dapm.c194 struct list_head paths; member
212 INIT_LIST_HEAD(&data->paths); in dapm_kcontrol_data_alloc()
299 list_add_tail(&path->list_kcontrol, &data->paths); in dapm_kcontrol_add_path()
322 return &data->paths; in dapm_kcontrol_get_path_list()
496 list_add(&path->list, &dapm->card->paths); in dapm_connect_mux()
545 list_add(&path->list, &dapm->card->paths); in dapm_connect_mixer()
1064 int paths; in snd_soc_dapm_dai_get_connected_widgets() local
1070 paths = is_connected_output_ep(dai->playback_widget, list); in snd_soc_dapm_dai_get_connected_widgets()
1074 paths = is_connected_input_ep(dai->capture_widget, list); in snd_soc_dapm_dai_get_connected_widgets()
1079 trace_snd_soc_dapm_connected(paths, stream); in snd_soc_dapm_dai_get_connected_widgets()
[all …]
Dsoc-pcm.c1253 int paths; in dpcm_path_get() local
1261 paths = snd_soc_dapm_dai_get_connected_widgets(cpu_dai, stream, &list); in dpcm_path_get()
1263 dev_dbg(fe->dev, "ASoC: found %d audio %s paths\n", paths, in dpcm_path_get()
1267 return paths; in dpcm_path_get()
2276 int i, old, new, paths; in soc_dpcm_runtime_update() local
2299 paths = dpcm_path_get(fe, SNDRV_PCM_STREAM_PLAYBACK, &list); in soc_dpcm_runtime_update()
2300 if (paths < 0) { in soc_dpcm_runtime_update()
2304 return paths; in soc_dpcm_runtime_update()
2329 paths = dpcm_path_get(fe, SNDRV_PCM_STREAM_CAPTURE, &list); in soc_dpcm_runtime_update()
2330 if (paths < 0) { in soc_dpcm_runtime_update()
[all …]
/sound/pci/riptide/
Driptide.c480 struct lbuspath paths; member
1491 lbuspath = data->paths.noconv; in snd_riptide_prepare()
1493 lbuspath = data->paths.mono; in snd_riptide_prepare()
1497 lbuspath = data->paths.noconv; in snd_riptide_prepare()
1499 lbuspath = data->paths.stereo; in snd_riptide_prepare()
1629 data->paths = lbus_play_paths[sub_num]; in snd_riptide_playback_open()
1652 data->paths = lbus_rec_path; in snd_riptide_capture_open()