• Home
  • Raw
  • Download

Lines Matching refs:nid

73 			    struct hda_codec *codec, hda_nid_t nid,  in print_nid_array()  argument
81 if (item->nid == nid) { in print_nid_array()
100 struct hda_codec *codec, hda_nid_t nid) in print_nid_pcms() argument
107 if (cpcm->stream[type].nid != nid || cpcm->pcm == NULL) in print_nid_pcms()
119 struct hda_codec *codec, hda_nid_t nid, int dir) in print_amp_caps() argument
122 caps = snd_hda_param_read(codec, nid, in print_amp_caps()
138 static bool is_stereo_amps(struct hda_codec *codec, hda_nid_t nid, in is_stereo_amps() argument
152 if (snd_hda_get_raw_connections(codec, nid, &conn, 1) < 0) in is_stereo_amps()
160 struct hda_codec *codec, hda_nid_t nid, in print_amp_vals() argument
167 stereo = is_stereo_amps(codec, nid, dir, wcaps, indices); in print_amp_vals()
172 val = snd_hda_codec_read(codec, nid, 0, in print_amp_vals()
177 val = snd_hda_codec_read(codec, nid, 0, in print_amp_vals()
226 struct hda_codec *codec, hda_nid_t nid) in print_pcm_caps() argument
228 unsigned int pcm = snd_hda_param_read(codec, nid, AC_PAR_PCM); in print_pcm_caps()
229 unsigned int stream = snd_hda_param_read(codec, nid, AC_PAR_STREAM); in print_pcm_caps()
270 struct hda_codec *codec, hda_nid_t nid, in print_pin_caps() argument
276 caps = snd_hda_param_read(codec, nid, AC_PAR_PIN_CAP); in print_pin_caps()
326 val = snd_hda_codec_read(codec, nid, 0, in print_pin_caps()
337 caps = snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_CONFIG_DEFAULT, 0); in print_pin_caps()
364 struct hda_codec *codec, hda_nid_t nid, in print_pin_ctls() argument
369 pinctls = snd_hda_codec_read(codec, nid, 0, in print_pin_ctls()
402 struct hda_codec *codec, hda_nid_t nid) in print_vol_knob() argument
404 unsigned int cap = snd_hda_param_read(codec, nid, in print_vol_knob()
408 cap = snd_hda_codec_read(codec, nid, 0, in print_vol_knob()
415 struct hda_codec *codec, hda_nid_t nid, in print_audio_io() argument
418 int conv = snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_CONV, 0); in print_audio_io()
425 int sdi = snd_hda_codec_read(codec, nid, 0, in print_audio_io()
433 struct hda_codec *codec, hda_nid_t nid) in print_digital_conv() argument
435 unsigned int digi1 = snd_hda_codec_read(codec, nid, 0, in print_digital_conv()
477 struct hda_codec *codec, hda_nid_t nid) in print_power_state() argument
490 int sup = snd_hda_param_read(codec, nid, AC_PAR_POWER_STATE); in print_power_state()
491 int pwr = snd_hda_codec_read(codec, nid, 0, in print_power_state()
511 struct hda_codec *codec, hda_nid_t nid) in print_unsol_cap() argument
513 int unsol = snd_hda_codec_read(codec, nid, 0, in print_unsol_cap()
531 struct hda_codec *codec, hda_nid_t nid) in print_proc_caps() argument
534 unsigned int proc_caps = snd_hda_param_read(codec, nid, in print_proc_caps()
545 oldindex = snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_COEF_INDEX, 0); in print_proc_caps()
548 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_COEF_INDEX, i); in print_proc_caps()
549 val = snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_PROC_COEF, in print_proc_caps()
553 snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_COEF_INDEX, oldindex); in print_proc_caps()
557 struct hda_codec *codec, hda_nid_t nid, in print_conn_list() argument
569 curr = snd_hda_codec_read(codec, nid, 0, in print_conn_list()
583 cache_len = snd_hda_get_conn_list(codec, nid, &list); in print_conn_list()
597 struct hda_codec *codec, hda_nid_t nid) in print_gpio() argument
613 enable = snd_hda_codec_read(codec, nid, 0, in print_gpio()
615 direction = snd_hda_codec_read(codec, nid, 0, in print_gpio()
617 wake = snd_hda_codec_read(codec, nid, 0, in print_gpio()
619 unsol = snd_hda_codec_read(codec, nid, 0, in print_gpio()
621 sticky = snd_hda_codec_read(codec, nid, 0, in print_gpio()
623 data = snd_hda_codec_read(codec, nid, 0, in print_gpio()
636 print_nid_array(buffer, codec, nid, &codec->mixers); in print_gpio()
637 print_nid_array(buffer, codec, nid, &codec->nids); in print_gpio()
641 struct hda_codec *codec, hda_nid_t nid) in print_device_list() argument
647 devlist_len = snd_hda_get_devices(codec, nid, dev_list, in print_device_list()
653 curr = snd_hda_codec_read(codec, nid, 0, in print_device_list()
674 hda_nid_t nid; in print_codec_info() local
711 nodes = snd_hda_get_sub_nodes(codec, codec->afg, &nid); in print_codec_info()
712 if (! nid || nodes < 0) { in print_codec_info()
722 for (i = 0; i < nodes; i++, nid++) { in print_codec_info()
724 snd_hda_param_read(codec, nid, in print_codec_info()
730 snd_iprintf(buffer, "Node 0x%02x [%s] wcaps 0x%x:", nid, in print_codec_info()
754 print_nid_array(buffer, codec, nid, &codec->mixers); in print_codec_info()
755 print_nid_array(buffer, codec, nid, &codec->nids); in print_codec_info()
756 print_nid_pcms(buffer, codec, nid); in print_codec_info()
765 conn_len = snd_hda_get_num_raw_conns(codec, nid); in print_codec_info()
771 if (snd_hda_get_raw_connections(codec, nid, conn, in print_codec_info()
779 print_amp_caps(buffer, codec, nid, HDA_INPUT); in print_codec_info()
784 print_amp_vals(buffer, codec, nid, HDA_INPUT, in print_codec_info()
787 print_amp_vals(buffer, codec, nid, HDA_INPUT, in print_codec_info()
792 print_amp_caps(buffer, codec, nid, HDA_OUTPUT); in print_codec_info()
796 print_amp_vals(buffer, codec, nid, HDA_OUTPUT, in print_codec_info()
799 print_amp_vals(buffer, codec, nid, HDA_OUTPUT, in print_codec_info()
806 print_pin_caps(buffer, codec, nid, &supports_vref); in print_codec_info()
807 print_pin_ctls(buffer, codec, nid, supports_vref); in print_codec_info()
811 print_vol_knob(buffer, codec, nid); in print_codec_info()
815 print_audio_io(buffer, codec, nid, wid_type); in print_codec_info()
817 print_digital_conv(buffer, codec, nid); in print_codec_info()
820 print_pcm_caps(buffer, codec, nid); in print_codec_info()
826 print_unsol_cap(buffer, codec, nid); in print_codec_info()
829 print_power_state(buffer, codec, nid); in print_codec_info()
837 print_device_list(buffer, codec, nid); in print_codec_info()
840 print_conn_list(buffer, codec, nid, wid_type, in print_codec_info()
844 print_proc_caps(buffer, codec, nid); in print_codec_info()
847 codec->proc_widget_hook(buffer, codec, nid); in print_codec_info()