Lines Matching full:paths
40 snd_array_init(&spec->paths, sizeof(struct nid_path), 8);
92 snd_array_free(&spec->paths);
237 * parsing paths
264 snd_array_for_each(&spec->paths, i, path) {
290 struct nid_path *array = spec->paths.list;
293 if (!spec->paths.used)
296 if (idx < 0 || idx >= spec->paths.used)
312 if (idx <= 0 || idx > spec->paths.used)
314 return snd_array_elem(&spec->paths, idx - 1);
318 /* check whether the given DAC is already found in any existing paths */
325 snd_array_for_each(&spec->paths, i, path) {
352 snd_array_for_each(&spec->paths, i, path) {
448 * when @anchor_nid is set to a positive value, only paths through the widget
450 * when @anchor_nid is set to a negative value, paths through the widget
451 * with the negative of given value are excluded, only other paths are chosen.
491 path = snd_array_new(&spec->paths);
498 spec->paths.used--;
641 snd_array_for_each(&spec->paths, n, path) {
647 /* ignore unplugged paths except for DAC/ADC */
664 /* check whether the NID is referred by any active paths */
1177 /* if there is really a single DAC used in the whole output paths,
1249 * Parse output paths
1595 /* cancel newly assigned paths */
1596 spec->paths.used -= spec->multi_ios - old_pins;
1702 /* check whether output paths contain aamix */
1720 * shared dac pointed by the paths
1754 snd_array_free(&spec->paths);
2172 const int *paths, const char *pfx)
2191 err = create_extra_out(codec, paths[i], name, idx);
2258 /* update HP aamix paths in case it conflicts with indep HP */
2358 * used for output paths
2481 /* re-initialize the output paths; only called from loopback_mixing_put() */
2483 const int *paths)
2490 path = snd_hda_get_path_from_idx(codec, paths[i]);
3027 * Parse input paths
3211 /* shrink the invalid adcs and input paths */
3244 /* parse capture source paths from the given pin and create imux items */
4119 /* power up/down widgets in the all paths that match with the given NID
4132 snd_array_for_each(&spec->paths, n, path) {
4163 /* power up/down the paths of the given pin according to the jack state;
4272 /* add fake paths if not present yet */
4285 path = snd_array_new(&spec->paths);
4297 /* create fake paths to all outputs from beep */
4324 /* power up/down beep widget and its output paths */
4340 path = snd_array_new(&spec->paths);
4378 int *paths, bool mute)
4397 path = snd_hda_get_path_from_idx(codec, paths[i]);
4445 int *paths;
4453 paths = spec->out_paths;
4455 paths = spec->hp_paths;
4457 spec->autocfg.hp_pins, paths, spec->master_mute);
4466 paths = spec->out_paths;
4468 paths = spec->speaker_paths;
4470 spec->autocfg.speaker_pins, paths, on);
4483 paths = spec->out_paths;
4485 spec->autocfg.line_out_pins, paths, on);
4980 const int *paths;
4990 paths = spec->out_paths;
4993 paths = spec->speaker_paths;
4998 path = snd_hda_get_path_from_idx(codec, paths[i]);
5863 /* initialize primary output paths */
5874 static void __init_extra_out(struct hda_codec *codec, int num_outs, int *paths)
5879 set_output_and_unmute(codec, paths[i]);
5882 /* initialize hp and speaker paths */
5894 /* initialize multi-io paths */
5933 /* set up input pins and loopback paths */
5953 /* initialize ADC paths */