Lines Matching full:node
57 static const desc_param* hda_codec_find_param(const desc_node *node, uint32_t id) in hda_codec_find_param() argument
61 for (i = 0; i < node->nparams; i++) { in hda_codec_find_param()
62 if (node->params[i].id == id) { in hda_codec_find_param()
63 return &node->params[i]; in hda_codec_find_param()
156 const desc_node *node; member
216 trace_hda_audio_adjust(st->node->name, target_pos); in hda_timer_sync_adjust()
350 trace_hda_audio_overrun(st->node->name); in hda_audio_output_cb()
423 if (st->node == NULL) { in hda_audio_set_running()
430 trace_hda_audio_running(st->node->name, st->stream, st->running); in hda_audio_set_running()
454 if (st->node == NULL) { in hda_audio_set_amp()
480 if (st->node == NULL) { in hda_audio_setup()
484 trace_hda_audio_format(st->node->name, st->as.nchannels, in hda_audio_setup()
495 st->node->name, st, cb, &st->as); in hda_audio_setup()
504 st->node->name, st, cb, &st->as); in hda_audio_setup()
512 const desc_node *node = NULL; in hda_audio_command() local
526 node = hda_codec_find_node(a->desc, nid); in hda_audio_command()
527 if (node == NULL) { in hda_audio_command()
531 __func__, nid, node->name, verb, payload); in hda_audio_command()
536 param = hda_codec_find_param(node, payload); in hda_audio_command()
548 param = hda_codec_find_param(node, AC_PAR_CONNLIST_LEN); in hda_audio_command()
553 response |= node->conn[payload] << shift; in hda_audio_command()
562 hda_codec_response(hda, true, node->config); in hda_audio_command()
565 hda_codec_response(hda, true, node->pinctl); in hda_audio_command()
568 if (node->pinctl != payload) { in hda_audio_command()
576 st = a->st + node->stindex; in hda_audio_command()
577 if (st->node == NULL) { in hda_audio_command()
584 st->node->name, st->stream, st->channel); in hda_audio_command()
589 st = a->st + node->stindex; in hda_audio_command()
590 if (st->node == NULL) { in hda_audio_command()
597 st = a->st + node->stindex; in hda_audio_command()
598 if (st->node == NULL) { in hda_audio_command()
607 st = a->st + node->stindex; in hda_audio_command()
608 if (st->node == NULL) { in hda_audio_command()
614 st = a->st + node->stindex; in hda_audio_command()
615 if (st->node == NULL) { in hda_audio_command()
626 st = a->st + node->stindex; in hda_audio_command()
627 if (st->node == NULL) { in hda_audio_command()
631 st->node->name, in hda_audio_command()
664 __func__, nid, node ? node->name : "?", verb, payload); in hda_audio_command()
676 if (a->st[s].node == NULL) { in hda_audio_stream()
695 const desc_node *node; in hda_audio_init() local
708 node = a->desc->nodes + i; in hda_audio_init()
709 param = hda_codec_find_param(node, AC_PAR_AUDIO_WIDGET_CAP); in hda_audio_init()
717 assert(node->stindex < ARRAY_SIZE(a->st)); in hda_audio_init()
718 st = a->st + node->stindex; in hda_audio_init()
720 st->node = node; in hda_audio_init()
752 if (st->node == NULL) { in hda_audio_exit()
780 if (st->node == NULL) in hda_audio_post_load()
799 if (st->node != NULL) { in hda_audio_reset()