Lines Matching refs:nid
17 struct lola *chip, int nid, const char *name) in print_audio_widget() argument
21 lola_read_param(chip, nid, LOLA_PAR_AUDIO_WIDGET_CAP, &val); in print_audio_widget()
22 snd_iprintf(buffer, "Node 0x%02x %s wcaps 0x%x\n", nid, name, val); in print_audio_widget()
23 lola_read_param(chip, nid, LOLA_PAR_STREAM_FORMATS, &val); in print_audio_widget()
28 struct lola *chip, int nid, unsigned int ampcap, in print_pin_widget() argument
33 lola_read_param(chip, nid, LOLA_PAR_AUDIO_WIDGET_CAP, &val); in print_pin_widget()
34 snd_iprintf(buffer, "Node 0x%02x %s wcaps 0x%x\n", nid, name, val); in print_pin_widget()
37 lola_read_param(chip, nid, ampcap, &val); in print_pin_widget()
44 lola_codec_read(chip, nid, LOLA_VERB_GET_MAX_LEVEL, 0, 0, &val, NULL); in print_pin_widget()
49 struct lola *chip, int nid) in print_clock_widget() argument
54 lola_read_param(chip, nid, LOLA_PAR_AUDIO_WIDGET_CAP, &val); in print_clock_widget()
55 snd_iprintf(buffer, "Node 0x%02x [Clock] wcaps 0x%x\n", nid, val); in print_clock_widget()
62 lola_codec_read(chip, nid, LOLA_VERB_GET_CLOCK_LIST, in print_clock_widget()
89 struct lola *chip, int nid) in print_mixer_widget() argument
93 lola_read_param(chip, nid, LOLA_PAR_AUDIO_WIDGET_CAP, &val); in print_mixer_widget()
94 snd_iprintf(buffer, "Node 0x%02x [Mixer] wcaps 0x%x\n", nid, val); in print_mixer_widget()
102 int i, nid; in lola_proc_codec_read() local
112 nid = 2; in lola_proc_codec_read()
113 for (i = 0; i < chip->pcm[CAPT].num_streams; i++, nid++) in lola_proc_codec_read()
114 print_audio_widget(buffer, chip, nid, "[Audio-In]"); in lola_proc_codec_read()
115 for (i = 0; i < chip->pcm[PLAY].num_streams; i++, nid++) in lola_proc_codec_read()
116 print_audio_widget(buffer, chip, nid, "[Audio-Out]"); in lola_proc_codec_read()
117 for (i = 0; i < chip->pin[CAPT].num_pins; i++, nid++) in lola_proc_codec_read()
118 print_pin_widget(buffer, chip, nid, LOLA_PAR_AMP_IN_CAP, in lola_proc_codec_read()
120 for (i = 0; i < chip->pin[PLAY].num_pins; i++, nid++) in lola_proc_codec_read()
121 print_pin_widget(buffer, chip, nid, LOLA_PAR_AMP_OUT_CAP, in lola_proc_codec_read()
124 print_clock_widget(buffer, chip, nid); in lola_proc_codec_read()
125 nid++; in lola_proc_codec_read()
128 print_mixer_widget(buffer, chip, nid); in lola_proc_codec_read()
129 nid++; in lola_proc_codec_read()