pin_nid 50 include/sound/hda_chmap.h hda_nid_t pin_nid, int asp_slot); pin_nid 52 include/sound/hda_chmap.h hda_nid_t pin_nid, int asp_slot, int channel); pin_nid 70 include/sound/hda_chmap.h hda_nid_t pin_nid, bool non_pcm, int ca, pin_nid 183 sound/hda/hdmi_chmap.c hda_nid_t pin_nid, int asp_slot, int channel) pin_nid 185 sound/hda/hdmi_chmap.c return snd_hdac_codec_write(codec, pin_nid, 0, pin_nid 191 sound/hda/hdmi_chmap.c hda_nid_t pin_nid, int asp_slot) pin_nid 193 sound/hda/hdmi_chmap.c return (snd_hdac_codec_read(codec, pin_nid, 0, pin_nid 324 sound/hda/hdmi_chmap.c hda_nid_t pin_nid) pin_nid 332 sound/hda/hdmi_chmap.c chmap->hdac, pin_nid, i); pin_nid 340 sound/hda/hdmi_chmap.c hda_nid_t pin_nid, pin_nid 382 sound/hda/hdmi_chmap.c pin_nid, hdmi_slot, channel); pin_nid 506 sound/hda/hdmi_chmap.c hda_nid_t pin_nid, pin_nid 528 sound/hda/hdmi_chmap.c pin_nid, hdmi_slot, assignments[hdmi_slot]); pin_nid 551 sound/hda/hdmi_chmap.c hda_nid_t pin_nid, bool non_pcm, int ca, pin_nid 556 sound/hda/hdmi_chmap.c hdmi_manual_setup_channel_mapping(chmap, pin_nid, pin_nid 559 sound/hda/hdmi_chmap.c hdmi_std_setup_channel_mapping(chmap, pin_nid, non_pcm, ca); pin_nid 563 sound/hda/hdmi_chmap.c hdmi_debug_channel_mapping(chmap, pin_nid); pin_nid 78 sound/pci/hda/patch_hdmi.c hda_nid_t pin_nid; pin_nid 106 sound/pci/hda/patch_hdmi.c int (*pin_get_eld)(struct hda_codec *codec, hda_nid_t pin_nid, pin_nid 109 sound/pci/hda/patch_hdmi.c void (*pin_setup_infoframe)(struct hda_codec *codec, hda_nid_t pin_nid, pin_nid 113 sound/pci/hda/patch_hdmi.c int (*pin_hbr_setup)(struct hda_codec *codec, hda_nid_t pin_nid, bool hbr); pin_nid 116 sound/pci/hda/patch_hdmi.c hda_nid_t pin_nid, u32 stream_tag, int format); pin_nid 244 sound/pci/hda/patch_hdmi.c hda_nid_t pin_nid, int dev_id) pin_nid 259 sound/pci/hda/patch_hdmi.c if ((per_pin->pin_nid == pin_nid) && pin_nid 264 sound/pci/hda/patch_hdmi.c codec_warn(codec, "HDMI: pin nid %d not registered\n", pin_nid); pin_nid 426 sound/pci/hda/patch_hdmi.c static void hdmi_get_dip_index(struct hda_codec *codec, hda_nid_t pin_nid, pin_nid 431 sound/pci/hda/patch_hdmi.c val = snd_hda_codec_read(codec, pin_nid, 0, pin_nid 439 sound/pci/hda/patch_hdmi.c static void hdmi_set_dip_index(struct hda_codec *codec, hda_nid_t pin_nid, pin_nid 446 sound/pci/hda/patch_hdmi.c snd_hda_codec_write(codec, pin_nid, 0, AC_VERB_SET_HDMI_DIP_INDEX, val); pin_nid 449 sound/pci/hda/patch_hdmi.c static void hdmi_write_dip_byte(struct hda_codec *codec, hda_nid_t pin_nid, pin_nid 452 sound/pci/hda/patch_hdmi.c snd_hda_codec_write(codec, pin_nid, 0, AC_VERB_SET_HDMI_DIP_DATA, val); pin_nid 455 sound/pci/hda/patch_hdmi.c static void hdmi_init_pin(struct hda_codec *codec, hda_nid_t pin_nid) pin_nid 461 sound/pci/hda/patch_hdmi.c if (get_wcaps(codec, pin_nid) & AC_WCAP_OUT_AMP) pin_nid 462 sound/pci/hda/patch_hdmi.c snd_hda_codec_write(codec, pin_nid, 0, pin_nid 474 sound/pci/hda/patch_hdmi.c snd_hda_codec_write(codec, pin_nid, 0, pin_nid 549 sound/pci/hda/patch_hdmi.c hda_nid_t pin_nid) pin_nid 551 sound/pci/hda/patch_hdmi.c hdmi_set_dip_index(codec, pin_nid, 0x0, 0x0); pin_nid 552 sound/pci/hda/patch_hdmi.c snd_hda_codec_write(codec, pin_nid, 0, AC_VERB_SET_HDMI_DIP_XMIT, pin_nid 560 sound/pci/hda/patch_hdmi.c hda_nid_t pin_nid) pin_nid 562 sound/pci/hda/patch_hdmi.c hdmi_set_dip_index(codec, pin_nid, 0x0, 0x0); pin_nid 563 sound/pci/hda/patch_hdmi.c snd_hda_codec_write(codec, pin_nid, 0, AC_VERB_SET_HDMI_DIP_XMIT, pin_nid 567 sound/pci/hda/patch_hdmi.c static void hdmi_debug_dip_size(struct hda_codec *codec, hda_nid_t pin_nid) pin_nid 573 sound/pci/hda/patch_hdmi.c size = snd_hdmi_get_eld_size(codec, pin_nid); pin_nid 577 sound/pci/hda/patch_hdmi.c size = snd_hda_codec_read(codec, pin_nid, 0, pin_nid 584 sound/pci/hda/patch_hdmi.c static void hdmi_clear_dip_buffers(struct hda_codec *codec, hda_nid_t pin_nid) pin_nid 591 sound/pci/hda/patch_hdmi.c size = snd_hda_codec_read(codec, pin_nid, 0, pin_nid 596 sound/pci/hda/patch_hdmi.c hdmi_set_dip_index(codec, pin_nid, i, 0x0); pin_nid 598 sound/pci/hda/patch_hdmi.c hdmi_write_dip_byte(codec, pin_nid, 0x0); pin_nid 599 sound/pci/hda/patch_hdmi.c hdmi_get_dip_index(codec, pin_nid, &pi, &bi); pin_nid 628 sound/pci/hda/patch_hdmi.c hda_nid_t pin_nid, pin_nid 633 sound/pci/hda/patch_hdmi.c hdmi_debug_dip_size(codec, pin_nid); pin_nid 634 sound/pci/hda/patch_hdmi.c hdmi_clear_dip_buffers(codec, pin_nid); /* be paranoid */ pin_nid 636 sound/pci/hda/patch_hdmi.c hdmi_set_dip_index(codec, pin_nid, 0x0, 0x0); pin_nid 638 sound/pci/hda/patch_hdmi.c hdmi_write_dip_byte(codec, pin_nid, dip[i]); pin_nid 641 sound/pci/hda/patch_hdmi.c static bool hdmi_infoframe_uptodate(struct hda_codec *codec, hda_nid_t pin_nid, pin_nid 647 sound/pci/hda/patch_hdmi.c if (snd_hda_codec_read(codec, pin_nid, 0, AC_VERB_GET_HDMI_DIP_XMIT, 0) pin_nid 651 sound/pci/hda/patch_hdmi.c hdmi_set_dip_index(codec, pin_nid, 0x0, 0x0); pin_nid 653 sound/pci/hda/patch_hdmi.c val = snd_hda_codec_read(codec, pin_nid, 0, pin_nid 663 sound/pci/hda/patch_hdmi.c hda_nid_t pin_nid, pin_nid 689 sound/pci/hda/patch_hdmi.c pin_nid); pin_nid 698 sound/pci/hda/patch_hdmi.c if (!hdmi_infoframe_uptodate(codec, pin_nid, ai.bytes, pin_nid 702 sound/pci/hda/patch_hdmi.c pin_nid, pin_nid 704 sound/pci/hda/patch_hdmi.c hdmi_stop_infoframe_trans(codec, pin_nid); pin_nid 705 sound/pci/hda/patch_hdmi.c hdmi_fill_audio_infoframe(codec, pin_nid, pin_nid 707 sound/pci/hda/patch_hdmi.c hdmi_start_infoframe_trans(codec, pin_nid); pin_nid 717 sound/pci/hda/patch_hdmi.c hda_nid_t pin_nid = per_pin->pin_nid; pin_nid 727 sound/pci/hda/patch_hdmi.c if (get_wcaps(codec, pin_nid) & AC_WCAP_OUT_AMP) pin_nid 728 sound/pci/hda/patch_hdmi.c snd_hda_codec_write(codec, pin_nid, 0, pin_nid 748 sound/pci/hda/patch_hdmi.c pin_nid, non_pcm, ca, channels, pin_nid 751 sound/pci/hda/patch_hdmi.c spec->ops.pin_setup_infoframe(codec, pin_nid, ca, active_channels, pin_nid 885 sound/pci/hda/patch_hdmi.c static int hdmi_pin_hbr_setup(struct hda_codec *codec, hda_nid_t pin_nid, pin_nid 890 sound/pci/hda/patch_hdmi.c if (snd_hda_query_pin_caps(codec, pin_nid) & AC_PINCAP_HBR) { pin_nid 891 sound/pci/hda/patch_hdmi.c pinctl = snd_hda_codec_read(codec, pin_nid, 0, pin_nid 905 sound/pci/hda/patch_hdmi.c pin_nid, pin_nid 910 sound/pci/hda/patch_hdmi.c snd_hda_codec_write(codec, pin_nid, 0, pin_nid 920 sound/pci/hda/patch_hdmi.c hda_nid_t pin_nid, u32 stream_tag, int format) pin_nid 926 sound/pci/hda/patch_hdmi.c err = spec->ops.pin_hbr_setup(codec, pin_nid, is_hbr_format(format)); pin_nid 1012 sound/pci/hda/patch_hdmi.c hda_nid_t pin_nid = per_pin->pin_nid; pin_nid 1016 sound/pci/hda/patch_hdmi.c curr = snd_hda_codec_read(codec, pin_nid, 0, pin_nid 1019 sound/pci/hda/patch_hdmi.c snd_hda_codec_write_cache(codec, pin_nid, 0, pin_nid 1048 sound/pci/hda/patch_hdmi.c hda_nid_t pin_nid, pin_nid 1071 sound/pci/hda/patch_hdmi.c if ((per_pin->pin_nid == pin_nid) && pin_nid 1081 sound/pci/hda/patch_hdmi.c dev_num = snd_hda_get_num_devices(codec, per_pin->pin_nid) + 1; pin_nid 1085 sound/pci/hda/patch_hdmi.c nid = per_pin->pin_nid; pin_nid 1124 sound/pci/hda/patch_hdmi.c hda_nid_t pin_nid, int dev_id, hda_nid_t cvt_nid) pin_nid 1136 sound/pci/hda/patch_hdmi.c intel_not_share_assigned_cvt(codec, pin_nid, dev_id, mux_idx); pin_nid 1252 sound/pci/hda/patch_hdmi.c snd_hda_set_dev_select(codec, per_pin->pin_nid, per_pin->dev_id); pin_nid 1253 sound/pci/hda/patch_hdmi.c snd_hda_codec_write_cache(codec, per_pin->pin_nid, 0, pin_nid 1303 sound/pci/hda/patch_hdmi.c hda_nid_t pin_nid = per_pin->pin_nid; pin_nid 1305 sound/pci/hda/patch_hdmi.c if (!(get_wcaps(codec, pin_nid) & AC_WCAP_CONN_LIST)) { pin_nid 1308 sound/pci/hda/patch_hdmi.c pin_nid, get_wcaps(codec, pin_nid)); pin_nid 1313 sound/pci/hda/patch_hdmi.c per_pin->num_mux_nids = snd_hda_get_connections(codec, pin_nid, pin_nid 1414 sound/pci/hda/patch_hdmi.c snd_hda_set_dev_select(codec, per_pin->pin_nid, pin_nid 1416 sound/pci/hda/patch_hdmi.c snd_hda_codec_write_cache(codec, per_pin->pin_nid, 0, pin_nid 1522 sound/pci/hda/patch_hdmi.c hda_nid_t pin_nid = per_pin->pin_nid; pin_nid 1535 sound/pci/hda/patch_hdmi.c present = snd_hda_pin_sense(codec, pin_nid); pin_nid 1546 sound/pci/hda/patch_hdmi.c codec->addr, pin_nid, eld->monitor_present, eld->eld_valid); pin_nid 1549 sound/pci/hda/patch_hdmi.c if (spec->ops.pin_get_eld(codec, pin_nid, eld->eld_buffer, pin_nid 1568 sound/pci/hda/patch_hdmi.c jack = snd_hda_jack_tbl_get(codec, pin_nid); pin_nid 1599 sound/pci/hda/patch_hdmi.c jack_tbl = snd_hda_jack_tbl_get(codec, per_pin->pin_nid); pin_nid 1618 sound/pci/hda/patch_hdmi.c size = snd_hdac_acomp_get_eld(&codec->core, per_pin->pin_nid, pin_nid 1680 sound/pci/hda/patch_hdmi.c jack = snd_hda_jack_tbl_get(codec, per_pin->pin_nid); pin_nid 1696 sound/pci/hda/patch_hdmi.c static int hdmi_add_pin(struct hda_codec *codec, hda_nid_t pin_nid) pin_nid 1705 sound/pci/hda/patch_hdmi.c caps = snd_hda_query_pin_caps(codec, pin_nid); pin_nid 1713 sound/pci/hda/patch_hdmi.c config = snd_hda_codec_get_pincfg(codec, pin_nid); pin_nid 1734 sound/pci/hda/patch_hdmi.c dev_num = snd_hda_get_num_devices(codec, pin_nid) + 1; pin_nid 1765 sound/pci/hda/patch_hdmi.c per_pin->pin_nid = pin_nid; pin_nid 1769 sound/pci/hda/patch_hdmi.c snd_hda_set_dev_select(codec, pin_nid, i); pin_nid 1771 sound/pci/hda/patch_hdmi.c intel_haswell_fixup_connect_list(codec, pin_nid); pin_nid 1887 sound/pci/hda/patch_hdmi.c hda_nid_t pin_nid; pin_nid 1911 sound/pci/hda/patch_hdmi.c pin_nid = per_pin->pin_nid; pin_nid 1926 sound/pci/hda/patch_hdmi.c snd_hdac_sync_audio_rate(&codec->core, pin_nid, per_pin->dev_id, pin_nid 1945 sound/pci/hda/patch_hdmi.c pinctl = snd_hda_codec_read(codec, pin_nid, 0, pin_nid 1947 sound/pci/hda/patch_hdmi.c snd_hda_codec_write(codec, pin_nid, 0, pin_nid 1953 sound/pci/hda/patch_hdmi.c err = spec->ops.setup_stream(codec, cvt_nid, pin_nid, pin_nid 2008 sound/pci/hda/patch_hdmi.c pinctl = snd_hda_codec_read(codec, per_pin->pin_nid, 0, pin_nid 2010 sound/pci/hda/patch_hdmi.c snd_hda_codec_write(codec, per_pin->pin_nid, 0, pin_nid 2172 sound/pci/hda/patch_hdmi.c phantom_jack = !is_jack_detectable(codec, per_pin->pin_nid); pin_nid 2176 sound/pci/hda/patch_hdmi.c ret = snd_hda_jack_add_kctl(codec, per_pin->pin_nid, hdmi_str, pin_nid 2180 sound/pci/hda/patch_hdmi.c jack = snd_hda_jack_tbl_get(codec, per_pin->pin_nid); pin_nid 2218 sound/pci/hda/patch_hdmi.c per_pin->pin_nid, pin_nid 2283 sound/pci/hda/patch_hdmi.c hda_nid_t pin_nid = per_pin->pin_nid; pin_nid 2286 sound/pci/hda/patch_hdmi.c snd_hda_set_dev_select(codec, pin_nid, dev_id); pin_nid 2287 sound/pci/hda/patch_hdmi.c hdmi_init_pin(codec, pin_nid); pin_nid 2291 sound/pci/hda/patch_hdmi.c snd_hda_jack_detect_enable(codec, pin_nid); pin_nid 2293 sound/pci/hda/patch_hdmi.c snd_hda_jack_detect_enable_callback(codec, pin_nid, pin_nid 2480 sound/pci/hda/patch_hdmi.c get_pin(spec, i)->pin_nid, pin_nid 2518 sound/pci/hda/patch_hdmi.c hda_nid_t pin_nid = spec->port2pin(codec, port); pin_nid 2520 sound/pci/hda/patch_hdmi.c if (!pin_nid) pin_nid 2522 sound/pci/hda/patch_hdmi.c if (get_wcaps_type(get_wcaps(codec, pin_nid)) != AC_WID_PIN) pin_nid 2533 sound/pci/hda/patch_hdmi.c check_presence_and_report(codec, pin_nid, dev_id); pin_nid 2677 sound/pci/hda/patch_hdmi.c static int intel_pin2port(void *audio_ptr, int pin_nid) pin_nid 2685 sound/pci/hda/patch_hdmi.c if (WARN_ON(pin_nid < base_nid || pin_nid >= base_nid + 3)) pin_nid 2687 sound/pci/hda/patch_hdmi.c return pin_nid - base_nid + 1; /* intel port is 1-based */ pin_nid 2695 sound/pci/hda/patch_hdmi.c if (pin_nid == spec->port_map[i]) pin_nid 2700 sound/pci/hda/patch_hdmi.c codec_info(codec, "Can't find the HDMI/DP port for pin %d\n", pin_nid); pin_nid 2724 sound/pci/hda/patch_hdmi.c int pin_nid; pin_nid 2727 sound/pci/hda/patch_hdmi.c pin_nid = intel_port2pin(codec, port); pin_nid 2728 sound/pci/hda/patch_hdmi.c if (!pin_nid) pin_nid 2740 sound/pci/hda/patch_hdmi.c check_presence_and_report(codec, pin_nid, dev_id); pin_nid 2764 sound/pci/hda/patch_hdmi.c hda_nid_t pin_nid, u32 stream_tag, int format) pin_nid 2766 sound/pci/hda/patch_hdmi.c haswell_verify_D0(codec, cvt_nid, pin_nid); pin_nid 2767 sound/pci/hda/patch_hdmi.c return hdmi_setup_stream(codec, cvt_nid, pin_nid, stream_tag, format); pin_nid 2776 sound/pci/hda/patch_hdmi.c snd_hda_set_dev_select(codec, per_pin->pin_nid, pin_nid 2779 sound/pci/hda/patch_hdmi.c intel_not_share_assigned_cvt(codec, per_pin->pin_nid, pin_nid 2988 sound/pci/hda/patch_hdmi.c hda_nid_t pin = per_pin->pin_nid; pin_nid 3165 sound/pci/hda/patch_hdmi.c hda_nid_t cvt_nid, hda_nid_t pin_nid) pin_nid 3191 sound/pci/hda/patch_hdmi.c per_pin->pin_nid = pin_nid; pin_nid 3721 sound/pci/hda/patch_hdmi.c static void atihdmi_pin_setup_infoframe(struct hda_codec *codec, hda_nid_t pin_nid, int ca, pin_nid 3724 sound/pci/hda/patch_hdmi.c snd_hda_codec_write(codec, pin_nid, 0, ATI_VERB_SET_CHANNEL_ALLOCATION, ca); pin_nid 3793 sound/pci/hda/patch_hdmi.c hda_nid_t pin_nid, int hdmi_slot, int stream_channel) pin_nid 3825 sound/pci/hda/patch_hdmi.c return snd_hda_codec_write(codec, pin_nid, 0, verb, ati_channel_setup); pin_nid 3829 sound/pci/hda/patch_hdmi.c hda_nid_t pin_nid, int asp_slot) pin_nid 3850 sound/pci/hda/patch_hdmi.c ati_channel_setup = snd_hda_codec_read(codec, pin_nid, 0, verb, 0); pin_nid 3913 sound/pci/hda/patch_hdmi.c static int atihdmi_pin_hbr_setup(struct hda_codec *codec, hda_nid_t pin_nid, pin_nid 3918 sound/pci/hda/patch_hdmi.c hbr_ctl = snd_hda_codec_read(codec, pin_nid, 0, ATI_VERB_GET_HBR_CONTROL, 0); pin_nid 3927 sound/pci/hda/patch_hdmi.c pin_nid, pin_nid 3932 sound/pci/hda/patch_hdmi.c snd_hda_codec_write(codec, pin_nid, 0, pin_nid 3943 sound/pci/hda/patch_hdmi.c hda_nid_t pin_nid, u32 stream_tag, int format) pin_nid 3955 sound/pci/hda/patch_hdmi.c return hdmi_setup_stream(codec, cvt_nid, pin_nid, stream_tag, format); pin_nid 3973 sound/pci/hda/patch_hdmi.c snd_hda_codec_write(codec, per_pin->pin_nid, 0, ATI_VERB_SET_DOWNMIX_INFO, 0); pin_nid 3977 sound/pci/hda/patch_hdmi.c snd_hda_codec_write(codec, per_pin->pin_nid, 0, pin_nid 3987 sound/pci/hda/patch_hdmi.c static int atihdmi_pin2port(void *audio_ptr, int pin_nid) pin_nid 3989 sound/pci/hda/patch_hdmi.c return pin_nid / 2 - 1; pin_nid 341 sound/soc/codecs/hdac_hdmi.c hdac_hdmi_set_dip_index(struct hdac_device *hdev, hda_nid_t pin_nid, pin_nid 347 sound/soc/codecs/hdac_hdmi.c snd_hdac_codec_write(hdev, pin_nid, 0, AC_VERB_SET_HDMI_DIP_INDEX, val); pin_nid 1599 sound/soc/codecs/hdac_hdmi.c hda_nid_t pin_nid; pin_nid 1603 sound/soc/codecs/hdac_hdmi.c pin_nid = port + 0x04; pin_nid 1606 sound/soc/codecs/hdac_hdmi.c pin_nid = hdmi->drv_data->port_map[port - 1]; pin_nid 1613 sound/soc/codecs/hdac_hdmi.c pin_nid, pipe); pin_nid 1629 sound/soc/codecs/hdac_hdmi.c if (pin->nid != pin_nid)