#include <linux/init.h>
#include <linux/usb.h>
#include <sound/core.h>
#include <sound/info.h>
#include <sound/pcm.h>
#include "usbaudio.h"
#include "helper.h"
#include "card.h"
#include "endpoint.h"
#include "proc.h"
static inline unsigned get_full_speed_hz(unsigned int usb_rate)
{ … }
static inline unsigned get_high_speed_hz(unsigned int usb_rate)
{ … }
static void proc_audio_usbbus_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer)
{ … }
static void proc_audio_usbid_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer)
{ … }
void snd_usb_audio_create_proc(struct snd_usb_audio *chip)
{ … }
static const char * const channel_labels[] = …;
static void proc_dump_substream_formats(struct snd_usb_substream *subs, struct snd_info_buffer *buffer)
{ … }
static void proc_dump_ep_status(struct snd_usb_substream *subs,
struct snd_usb_endpoint *data_ep,
struct snd_usb_endpoint *sync_ep,
struct snd_info_buffer *buffer)
{ … }
static void proc_dump_substream_status(struct snd_usb_audio *chip,
struct snd_usb_substream *subs,
struct snd_info_buffer *buffer)
{ … }
static void proc_pcm_format_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer)
{ … }
void snd_usb_proc_pcm_format_add(struct snd_usb_stream *stream)
{ … }