Lines Matching refs:paths
40 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()
485 path = snd_array_new(&spec->paths); in snd_hda_add_new_path()
492 spec->paths.used--; in snd_hda_add_new_path()
635 snd_array_for_each(&spec->paths, n, path) { in is_active_nid()
1586 spec->paths.used -= spec->multi_ios - old_pins; in fill_multi_ios()
1744 snd_array_free(&spec->paths); in fill_and_eval_dacs()
2165 const int *paths, const char *pfx) in create_extra_outs() argument
2184 err = create_extra_out(codec, paths[i], name, idx); in create_extra_outs()
2480 const int *paths) in update_output_paths() argument
2487 path = snd_hda_get_path_from_idx(codec, paths[i]); in update_output_paths()
4193 snd_array_for_each(&spec->paths, n, path) { in set_path_power()
4346 path = snd_array_new(&spec->paths); in add_fake_paths()
4401 path = snd_array_new(&spec->paths); in snd_hda_gen_fix_pin_power()
4439 int *paths, bool mute) in do_automute() argument
4458 path = snd_hda_get_path_from_idx(codec, paths[i]); in do_automute()
4506 int *paths; in snd_hda_gen_update_outputs() local
4514 paths = spec->out_paths; in snd_hda_gen_update_outputs()
4516 paths = spec->hp_paths; in snd_hda_gen_update_outputs()
4518 spec->autocfg.hp_pins, paths, spec->master_mute); in snd_hda_gen_update_outputs()
4527 paths = spec->out_paths; in snd_hda_gen_update_outputs()
4529 paths = spec->speaker_paths; in snd_hda_gen_update_outputs()
4531 spec->autocfg.speaker_pins, paths, on); in snd_hda_gen_update_outputs()
4544 paths = spec->out_paths; in snd_hda_gen_update_outputs()
4546 spec->autocfg.line_out_pins, paths, on); in snd_hda_gen_update_outputs()
5871 static void __init_extra_out(struct hda_codec *codec, int num_outs, int *paths) in __init_extra_out() argument
5876 set_output_and_unmute(codec, paths[i]); in __init_extra_out()