Lines Matching full:buffer

33 static void proc_audio_usbbus_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer)  in proc_audio_usbbus_read()  argument
37 snd_iprintf(buffer, "%03d/%03d\n", chip->dev->bus->busnum, chip->dev->devnum); in proc_audio_usbbus_read()
40 static void proc_audio_usbid_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_audio_usbid_read() argument
44 snd_iprintf(buffer, "%04x:%04x\n", in proc_audio_usbid_read()
92 …ic void proc_dump_substream_formats(struct snd_usb_substream *subs, struct snd_info_buffer *buffer) in proc_dump_substream_formats() argument
102 snd_iprintf(buffer, " Interface %d\n", fp->iface); in proc_dump_substream_formats()
103 snd_iprintf(buffer, " Altset %d\n", fp->altsetting); in proc_dump_substream_formats()
104 snd_iprintf(buffer, " Format:"); in proc_dump_substream_formats()
107 snd_iprintf(buffer, " %s", in proc_dump_substream_formats()
109 snd_iprintf(buffer, "\n"); in proc_dump_substream_formats()
110 snd_iprintf(buffer, " Channels: %d\n", fp->channels); in proc_dump_substream_formats()
111 snd_iprintf(buffer, " Endpoint: %d %s (%s)\n", in proc_dump_substream_formats()
116 snd_iprintf(buffer, " Rates: %d - %d (continuous)\n", in proc_dump_substream_formats()
120 snd_iprintf(buffer, " Rates: "); in proc_dump_substream_formats()
123 snd_iprintf(buffer, ", "); in proc_dump_substream_formats()
124 snd_iprintf(buffer, "%d", fp->rate_table[i]); in proc_dump_substream_formats()
126 snd_iprintf(buffer, "\n"); in proc_dump_substream_formats()
129 snd_iprintf(buffer, " Data packet interval: %d us\n", in proc_dump_substream_formats()
131 snd_iprintf(buffer, " Bits: %d\n", fp->fmt_bits); in proc_dump_substream_formats()
134 snd_iprintf(buffer, " DSD raw: DOP=%d, bitrev=%d\n", in proc_dump_substream_formats()
141 snd_iprintf(buffer, " Channel map:"); in proc_dump_substream_formats()
145 snd_iprintf(buffer, " --"); in proc_dump_substream_formats()
147 snd_iprintf(buffer, " %s", in proc_dump_substream_formats()
150 snd_iprintf(buffer, "\n"); in proc_dump_substream_formats()
153 // snd_iprintf(buffer, " Max Packet Size = %d\n", fp->maxpacksize); in proc_dump_substream_formats()
154 // snd_iprintf(buffer, " EP Attribute = %#x\n", fp->attributes); in proc_dump_substream_formats()
161 struct snd_info_buffer *buffer) in proc_dump_ep_status() argument
165 snd_iprintf(buffer, " Packet Size = %d\n", data_ep->curpacksize); in proc_dump_ep_status()
166 snd_iprintf(buffer, " Momentary freq = %u Hz (%#x.%04x)\n", in proc_dump_ep_status()
173 snd_iprintf(buffer, " Feedback Format = %d.%d\n", in proc_dump_ep_status()
178 …tic void proc_dump_substream_status(struct snd_usb_substream *subs, struct snd_info_buffer *buffer) in proc_dump_substream_status() argument
181 snd_iprintf(buffer, " Status: Running\n"); in proc_dump_substream_status()
182 snd_iprintf(buffer, " Interface = %d\n", subs->interface); in proc_dump_substream_status()
183 snd_iprintf(buffer, " Altset = %d\n", subs->altset_idx); in proc_dump_substream_status()
184 proc_dump_ep_status(subs, subs->data_endpoint, subs->sync_endpoint, buffer); in proc_dump_substream_status()
186 snd_iprintf(buffer, " Status: Stop\n"); in proc_dump_substream_status()
190 static void proc_pcm_format_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_pcm_format_read() argument
194 snd_iprintf(buffer, "%s : %s\n", stream->chip->card->longname, stream->pcm->name); in proc_pcm_format_read()
197 snd_iprintf(buffer, "\nPlayback:\n"); in proc_pcm_format_read()
198 proc_dump_substream_status(&stream->substream[SNDRV_PCM_STREAM_PLAYBACK], buffer); in proc_pcm_format_read()
199 proc_dump_substream_formats(&stream->substream[SNDRV_PCM_STREAM_PLAYBACK], buffer); in proc_pcm_format_read()
202 snd_iprintf(buffer, "\nCapture:\n"); in proc_pcm_format_read()
203 proc_dump_substream_status(&stream->substream[SNDRV_PCM_STREAM_CAPTURE], buffer); in proc_pcm_format_read()
204 proc_dump_substream_formats(&stream->substream[SNDRV_PCM_STREAM_CAPTURE], buffer); in proc_pcm_format_read()