Home
last modified time | relevance | path

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

/sound/pci/hda/
Dhda_generic.c40 snd_array_init(&spec->paths, sizeof(struct nid_path), 8); in snd_hda_gen_spec_init()
92 snd_array_free(&spec->paths); in snd_hda_gen_spec_free()
258 snd_array_for_each(&spec->paths, i, path) { in get_nid_path()
284 struct nid_path *array = spec->paths.list; in snd_hda_get_path_idx()
287 if (!spec->paths.used) in snd_hda_get_path_idx()
290 if (idx < 0 || idx >= spec->paths.used) in snd_hda_get_path_idx()
306 if (idx <= 0 || idx > spec->paths.used) in snd_hda_get_path_from_idx()
308 return snd_array_elem(&spec->paths, idx - 1); in snd_hda_get_path_from_idx()
319 snd_array_for_each(&spec->paths, i, path) { in is_dac_already_used()
346 snd_array_for_each(&spec->paths, i, path) { in is_ctl_used()
[all …]
Dhda_generic.h176 struct snd_array paths; member
Dpatch_analog.c852 struct nid_path *path = snd_array_new(&spec->gen.paths); in ad1988_add_spdif_mux_ctl()
/sound/soc/
Dsoc-pcm.c1427 int paths; in dpcm_path_get() local
1430 paths = snd_soc_dapm_dai_get_connected_widgets(cpu_dai, stream, list, in dpcm_path_get()
1433 dev_dbg(fe->dev, "ASoC: found %d audio %s paths\n", paths, in dpcm_path_get()
1436 return paths; in dpcm_path_get()
2729 int count, paths; in soc_dpcm_fe_runtime_update() local
2751 paths = dpcm_path_get(fe, SNDRV_PCM_STREAM_PLAYBACK, &list); in soc_dpcm_fe_runtime_update()
2752 if (paths < 0) { in soc_dpcm_fe_runtime_update()
2755 return paths; in soc_dpcm_fe_runtime_update()
2782 paths = dpcm_path_get(fe, SNDRV_PCM_STREAM_CAPTURE, &list); in soc_dpcm_fe_runtime_update()
2783 if (paths < 0) { in soc_dpcm_fe_runtime_update()
[all …]
Dsoc-dapm.c346 struct list_head paths; member
363 INIT_LIST_HEAD(&data->paths); in dapm_kcontrol_data_alloc()
464 list_del(&data->paths); in dapm_kcontrol_free()
508 list_add_tail(&path->list_kcontrol, &data->paths); in dapm_kcontrol_add_path()
526 return &data->paths; in dapm_kcontrol_get_path_list()
1303 int paths; in snd_soc_dapm_dai_get_connected_widgets() local
1311 paths = is_connected_output_ep(w, &widgets, in snd_soc_dapm_dai_get_connected_widgets()
1316 paths = is_connected_input_ep(w, &widgets, in snd_soc_dapm_dai_get_connected_widgets()
1325 paths = ret; in snd_soc_dapm_dai_get_connected_widgets()
1327 trace_snd_soc_dapm_connected(paths, stream); in snd_soc_dapm_dai_get_connected_widgets()
[all …]
Dsoc-core.c2431 INIT_LIST_HEAD(&card->paths); in snd_soc_register_card()
/sound/pci/riptide/
Driptide.c466 struct lbuspath paths; member
1462 lbuspath = data->paths.noconv; in snd_riptide_prepare()
1464 lbuspath = data->paths.mono; in snd_riptide_prepare()
1468 lbuspath = data->paths.noconv; in snd_riptide_prepare()
1470 lbuspath = data->paths.stereo; in snd_riptide_prepare()
1600 data->paths = lbus_play_paths[sub_num]; in snd_riptide_playback_open()
1623 data->paths = lbus_rec_path; in snd_riptide_capture_open()