Lines Matching refs:depth
253 return find_idx_in_nid_list(nid, path->path, path->depth) >= 0; in is_nid_contained()
265 if (path->depth <= 0) in get_nid_path()
268 (!to_nid || path->path[path->depth - 1] == to_nid)) { in get_nid_path()
375 for (i = 0; i < path->depth; i++) in print_nid_path()
380 codec_dbg(codec, "%s path: depth=%d '%s'\n", pfx, path->depth, buf); in print_nid_path()
387 int depth) in __parse_nid_path() argument
412 if (depth >= MAX_NID_PATH_DEPTH) in __parse_nid_path()
421 anchor_nid, path, depth + 1)) in __parse_nid_path()
427 path->path[path->depth] = conn[i]; in __parse_nid_path()
428 path->idx[path->depth + 1] = i; in __parse_nid_path()
430 path->multi[path->depth + 1] = 1; in __parse_nid_path()
431 path->depth++; in __parse_nid_path()
459 path->path[path->depth] = to_nid; in snd_hda_parse_nid_path()
460 path->depth++; in snd_hda_parse_nid_path()
570 for (i = path->depth - 1; i >= 0; i--) { in look_for_out_mute_nid()
573 if (i != path->depth - 1 && i != 0 && in look_for_out_mute_nid()
587 for (i = path->depth - 1; i >= 0; i--) { in look_for_out_vol_nid()
652 for (i = 0; i < path->depth; i++) { in is_active_nid()
830 for (i = 0; i < path->depth; i++) { in path_power_update()
891 for (i = path->depth - 1; i >= 0; i--) { in snd_hda_activate_path()
1652 if (!path || !path->depth || in check_aamix_out_path()
1657 pin = path->path[path->depth - 1]; in check_aamix_out_path()
3107 idx = path->idx[path->depth - 1]; in new_analog_input()
3543 int i, depth; in parse_capvol_in_path() local
3546 for (depth = 0; depth < 3; depth++) { in parse_capvol_in_path()
3547 if (depth >= path->depth) in parse_capvol_in_path()
3549 i = path->depth - depth - 1; in parse_capvol_in_path()
3557 if (!depth && codec->single_adc_amp) in parse_capvol_in_path()
3569 if (!depth && codec->single_adc_amp) in parse_capvol_in_path()
3858 int depth; in look_for_boost_amp() local
3860 for (depth = 0; depth < 3; depth++) { in look_for_boost_amp()
3861 if (depth >= path->depth - 1) in look_for_boost_amp()
3863 nid = path->path[depth]; in look_for_boost_amp()
3864 if (depth && check_boost_vol(codec, nid, HDA_OUTPUT, 0)) { in look_for_boost_amp()
3868 path->idx[depth])) { in look_for_boost_amp()
3869 val = HDA_COMPOSE_AMP_VAL(nid, 3, path->idx[depth], in look_for_boost_amp()
4141 if (!path->depth) in set_path_power()
4144 path->path[path->depth - 1] == nid) { in set_path_power()
4297 path->depth = 2; in add_fake_paths()
4352 path->depth = 1; in snd_hda_gen_fix_pin_power()
5802 if (!path || !path->depth) in set_output_and_unmute()
5804 pin = path->path[path->depth - 1]; in set_output_and_unmute()