Lines Matching refs:nid

493         auto  nid          = static_cast<uint16_t>(group_ndx + codec_state_.fn_group_starting_id_);
495 res = ReadFunctionGroupState(fn_group_ptr, nid);
503 zx_status_t IntelHDACodec::ReadFunctionGroupState(FunctionGroupStatePtr& ptr, uint16_t nid) {
506 RUN_COMMAND_LIST(ptr, nid, FETCH_FUNCTION_GROUP_TYPE,
507 "Failed to fetch function group type (nid %hu)", nid);
510 RUN_COMMAND_LIST(ptr->unsol_resp_ctrl_, nid, FETCH_UNSOLICITED_RESPONSE_STATE,
511 "Failed to fetch unsolicited response control state (nid %hu)", nid);
514 ptr->nid_ = nid;
524 printf("Warning: MODEM function group (nid %hd) state details not fetched.\n", nid);
543 "Failed to audio fn group properties (nid %hu)", afg.nid_);
546 "Failed to fetch Power caps/state for audio function group (nid %hu)",
551 uint16_t nid = static_cast<uint16_t>(afg.widget_starting_id_ + i);
553 RUN_COMMAND_LIST(widget_ptr, nid, FETCH_WIDGET_TYPE,
554 "Failed to audio widget type (nid %hu) for function "
555 "group located at nid %hu", nid, afg.nid_);
557 widget_ptr->nid_ = nid;
574 "Failed to fetch INPUT_CAPS for audio widget (nid %hu)",
580 "Failed to fetch OUTPUT_CAPS for audio widget (nid %hu)",
588 "(nid %hu)", widget.nid_);
592 "(nid %hu)", widget.nid_);
598 "Failed to fetch MIXER_CAPS for audio widget (nid %hu)",
604 "Failed to fetch SELECTOR_CAPS for audio widget (nid %hu)",
610 "Failed to fetch POWER_CAPS for audio widget (nid %hu)",
616 "Failed to fetch VOLUME_KNOB_CAPS for audio widget (nid %hu)",
626 printf("Unrecognized audio widget type (%u) at nid %hu\n",
642 "Failed to fetch Power caps/state for audio widget (nid %hu)",
664 printf("Failed to get stream converter format for for nid %hu (res %d)\n",
684 printf("WARNING: SW triggered presence sensing not supported (nid %hu)\n",
693 printf("Failed to get pin sense status for pin complex nid %hu (res %d)\n",
714 printf("Failed to get EAPD/BTL state for nid %hu (res %d)\n",
758 "Failed to fetch unsolicited response control state (nid %hu)",
779 printf("Failed to get connection list entry at ndx %zu for nid %hu (res %d)\n",
806 printf("Invalid connection widget.conn_list_ entry [nid, ndx] = [%hu, %zu]. "
827 printf("Failed to get connection selection for nid %hu (res %d)\n",
845 zx_status_t IntelHDACodec::ReadAmpState(uint16_t nid, bool is_input, uint8_t ndx,
854 res = DoCodecCmd(nid, GET_AMPLIFIER_GAIN_MUTE(is_input, (i > 0), ndx), &resp);
856 printf("Failed to get amp settings for nid %hu's %s %s amplifier #%u (res %d)\n",
857 nid,
872 zx_status_t IntelHDACodec::DoCodecCmd(uint16_t nid,
882 req.nid = nid;
887 printf("Codec command failed; [nid, verb] = [%2u, 0x%05x] (res %d)\n", nid, verb.val, res);
899 uint16_t nid,
909 res = DoCodecCmd(nid, cmd.verb, &resp);
915 printf("Cmd parse; [nid, verb] = [%2u, 0x%05x] --> resp [0x%08x, 0x%08x] (res %d)\n",
916 nid, cmd.verb.val, resp.data, resp.data_ex, res);