Lines Matching defs:depth
253 return find_idx_in_nid_list(nid, path->path, path->depth) >= 0;
265 if (path->depth <= 0)
268 (!to_nid || path->path[path->depth - 1] == to_nid)) {
375 for (i = 0; i < path->depth; i++)
380 codec_dbg(codec, "%s path: depth=%d '%s'\n", pfx, path->depth, buf);
387 int depth)
412 if (depth >= MAX_NID_PATH_DEPTH)
421 anchor_nid, path, depth + 1))
427 path->path[path->depth] = conn[i];
428 path->idx[path->depth + 1] = i;
430 path->multi[path->depth + 1] = 1;
431 path->depth++;
459 path->path[path->depth] = to_nid;
460 path->depth++;
570 for (i = path->depth - 1; i >= 0; i--) {
573 if (i != path->depth - 1 && i != 0 &&
587 for (i = path->depth - 1; i >= 0; i--) {
652 for (i = 0; i < path->depth; i++) {
830 for (i = 0; i < path->depth; i++) {
891 for (i = path->depth - 1; i >= 0; i--) {
1650 if (!path || !path->depth ||
1655 pin = path->path[path->depth - 1];
3105 idx = path->idx[path->depth - 1];
3540 int i, depth;
3543 for (depth = 0; depth < 3; depth++) {
3544 if (depth >= path->depth)
3546 i = path->depth - depth - 1;
3554 if (!depth && codec->single_adc_amp)
3566 if (!depth && codec->single_adc_amp)
3847 int depth;
3849 for (depth = 0; depth < 3; depth++) {
3850 if (depth >= path->depth - 1)
3852 nid = path->path[depth];
3853 if (depth && check_boost_vol(codec, nid, HDA_OUTPUT, 0)) {
3857 path->idx[depth])) {
3858 val = HDA_COMPOSE_AMP_VAL(nid, 3, path->idx[depth],
4256 if (!path->depth)
4259 path->path[path->depth - 1] == nid) {
4412 path->depth = 2;
4467 path->depth = 1;
5913 if (!path || !path->depth)
5915 pin = path->path[path->depth - 1];