/sound/usb/ |
H A D | debug.h | 9 #define hwc_debug(fmt, args...) printk(KERN_DEBUG fmt, ##args) 11 #define hwc_debug(fmt, args...) do { } while(0)
|
H A D | format.h | 6 struct uac_format_type_i_continuous_descriptor *fmt,
|
H A D | pcm.h | 8 struct audioformat *fmt);
|
H A D | clock.h | 6 struct audioformat *fmt, int rate);
|
H A D | format.c | 42 * @fmt: the format type descriptor 55 struct uac_format_type_i_discrete_descriptor *fmt = _fmt; local 56 sample_width = fmt->bBitResolution; 57 sample_bytes = fmt->bSubframeSize; 63 struct uac_format_type_i_ext_descriptor *fmt = _fmt; local 64 sample_width = fmt->bBitResolution; 65 sample_bytes = fmt->bSubslotSize; 146 * @fmt: the format descriptor 151 unsigned char *fmt, int offset) 153 int nr_rates = fmt[offse 150 parse_audio_format_rates_v1(struct snd_usb_audio *chip, struct audioformat *fp, unsigned char *fmt, int offset) argument 351 parse_audio_format_i(struct snd_usb_audio *chip, struct audioformat *fp, int format, struct uac_format_type_i_continuous_descriptor *fmt, struct usb_host_interface *iface) argument 450 struct uac_format_type_ii_discrete_descriptor *fmt = _fmt; local 459 struct uac_format_type_ii_ext_descriptor *fmt = _fmt; local 472 snd_usb_parse_audio_format(struct snd_usb_audio *chip, struct audioformat *fp, int format, struct uac_format_type_i_continuous_descriptor *fmt, int stream, struct usb_host_interface *iface) argument [all...] |
H A D | pcm.c | 116 struct audioformat *fmt) 140 struct audioformat *fmt) 155 dev->devnum, iface, fmt->altsetting); 167 struct audioformat *fmt) 172 if (!(fmt->attributes & UAC_EP_CS_ATTR_PITCH_CONTROL)) 178 return init_pitch_v1(chip, iface, alts, fmt); 181 return init_pitch_v2(chip, iface, alts, fmt); 188 static int set_format(struct snd_usb_substream *subs, struct audioformat *fmt) argument 198 iface = usb_ifnum_to_if(dev, fmt->iface); 201 alts = &iface->altsetting[fmt 114 init_pitch_v1(struct snd_usb_audio *chip, int iface, struct usb_host_interface *alts, struct audioformat *fmt) argument 138 init_pitch_v2(struct snd_usb_audio *chip, int iface, struct usb_host_interface *alts, struct audioformat *fmt) argument 165 snd_usb_init_pitch(struct snd_usb_audio *chip, int iface, struct usb_host_interface *alts, struct audioformat *fmt) argument 328 struct audioformat *fmt; local 597 struct snd_mask *fmt = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); local [all...] |
H A D | quirks.h | 18 struct audioformat *fmt);
|
H A D | clock.c | 206 struct audioformat *fmt, int rate) 216 if (!(fmt->attributes & UAC_EP_CS_ATTR_SAMPLE_RATE)) 227 dev->devnum, iface, fmt->altsetting, rate, ep); 236 dev->devnum, iface, fmt->altsetting, ep); 251 struct audioformat *fmt, int rate) 256 int clock = snd_usb_clock_find_source(chip, fmt->clock); 264 dev->devnum, iface, fmt->altsetting, clock); 278 dev->devnum, iface, fmt->altsetting, rate); 288 dev->devnum, iface, fmt->altsetting); 301 struct audioformat *fmt, in 204 set_sample_rate_v1(struct snd_usb_audio *chip, int iface, struct usb_host_interface *alts, struct audioformat *fmt, int rate) argument 249 set_sample_rate_v2(struct snd_usb_audio *chip, int iface, struct usb_host_interface *alts, struct audioformat *fmt, int rate) argument 299 snd_usb_init_sample_rate(struct snd_usb_audio *chip, int iface, struct usb_host_interface *alts, struct audioformat *fmt, int rate) argument [all...] |
H A D | proc.c | 82 snd_pcm_format_t fmt; local 87 for (fmt = 0; fmt <= SNDRV_PCM_FORMAT_LAST; ++fmt) 88 if (fp->formats & (1uLL << fmt)) 90 snd_pcm_format_name(fmt));
|
H A D | endpoint.c | 236 struct uac_format_type_i_continuous_descriptor *fmt; local 348 fmt = snd_usb_find_csint_desc(alts->extra, alts->extralen, NULL, UAC_FORMAT_TYPE); 349 if (!fmt) { 354 if (((protocol == UAC_VERSION_1) && (fmt->bLength < 8)) || 355 ((protocol == UAC_VERSION_2) && (fmt->bLength < 6))) { 366 if (fmt->bNrChannels == 1 && 367 fmt->bSubframeSize == 2 && 427 if (snd_usb_parse_audio_format(chip, fp, format, fmt, stream, alts) < 0) {
|
/sound/soc/codecs/ |
H A D | wl1273.h | 28 int wl1273_get_format(struct snd_soc_codec *codec, unsigned int *fmt);
|
H A D | wm8753.c | 59 unsigned int fmt); 61 unsigned int fmt); 851 unsigned int fmt) 856 switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) { 917 * Set's PCM dai fmt and BCLK. 920 unsigned int fmt) 928 switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) { 941 switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) { 945 switch (fmt & SND_SOC_DAIFMT_INV_MASK) { 959 switch (fmt 850 wm8753_vdac_adc_set_dai_fmt(struct snd_soc_codec *codec, unsigned int fmt) argument 919 wm8753_pcm_set_dai_fmt(struct snd_soc_codec *codec, unsigned int fmt) argument 1012 wm8753_hdac_set_dai_fmt(struct snd_soc_codec *codec, unsigned int fmt) argument 1044 wm8753_i2s_set_dai_fmt(struct snd_soc_codec *codec, unsigned int fmt) argument 1151 wm8753_mode1v_set_dai_fmt(struct snd_soc_codec *codec, unsigned int fmt) argument 1163 wm8753_mode1h_set_dai_fmt(struct snd_soc_codec *codec, unsigned int fmt) argument 1169 wm8753_mode2_set_dai_fmt(struct snd_soc_codec *codec, unsigned int fmt) argument 1181 wm8753_mode3_4_set_dai_fmt(struct snd_soc_codec *codec, unsigned int fmt) argument 1195 wm8753_hifi_write_dai_fmt(struct snd_soc_codec *codec, unsigned int fmt) argument 1221 wm8753_hifi_set_dai_fmt(struct snd_soc_dai *codec_dai, unsigned int fmt) argument 1232 wm8753_voice_write_dai_fmt(struct snd_soc_codec *codec, unsigned int fmt) argument 1251 wm8753_voice_set_dai_fmt(struct snd_soc_dai *codec_dai, unsigned int fmt) argument [all...] |
/sound/soc/omap/ |
H A D | omap3beagle.c | 42 unsigned int fmt; local 47 fmt = SND_SOC_DAIFMT_I2S | 52 fmt = SND_SOC_DAIFMT_DSP_A | 61 ret = snd_soc_dai_set_fmt(codec_dai, fmt); 68 ret = snd_soc_dai_set_fmt(cpu_dai, fmt);
|
/sound/soc/kirkwood/ |
H A D | kirkwood-openrd.c | 31 unsigned int freq, fmt; local 33 fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_CBS_CFS; 34 ret = snd_soc_dai_set_fmt(cpu_dai, fmt); 38 ret = snd_soc_dai_set_fmt(codec_dai, fmt);
|
H A D | kirkwood-t5325.c | 30 unsigned int freq, fmt; local 32 fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_CBS_CFS; 33 ret = snd_soc_dai_set_fmt(cpu_dai, fmt); 37 ret = snd_soc_dai_set_fmt(codec_dai, fmt);
|
/sound/soc/pxa/ |
H A D | raumfeld.c | 91 unsigned int fmt, clk = 0; local 115 fmt = SND_SOC_DAIFMT_I2S | 120 ret = snd_soc_dai_set_fmt(codec_dai, fmt); 133 ret = snd_soc_dai_set_fmt(cpu_dai, fmt); 174 int fmt, ret = 0, clk = 0; local 197 fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF; 200 ret = snd_soc_dai_set_fmt(codec_dai, fmt | SND_SOC_DAIFMT_CBS_CFS); 209 ret = snd_soc_dai_set_fmt(cpu_dai, fmt | SND_SOC_DAIFMT_CBS_CFS);
|
H A D | pxa2xx-i2s.c | 78 u32 fmt; member in struct:pxa_i2s_port 127 unsigned int fmt) 130 switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) { 132 pxa_i2s.fmt = 0; 135 pxa_i2s.fmt = SACR1_AMSL; 139 switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) { 186 SACR1 |= pxa_i2s.fmt; 126 pxa2xx_i2s_set_dai_fmt(struct snd_soc_dai *cpu_dai, unsigned int fmt) argument
|
/sound/soc/davinci/ |
H A D | davinci-i2s.c | 155 unsigned int fmt; member in struct:davinci_mcbsp_dev 263 unsigned int fmt) 273 dev->fmt = fmt; 275 switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) { 315 switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) { 333 fmt ^= SND_SOC_DAIFMT_NB_IF; 345 switch (fmt & SND_SOC_DAIFMT_INV_MASK) { 426 snd_pcm_format_t fmt; local 439 master = dev->fmt 262 davinci_i2s_set_dai_fmt(struct snd_soc_dai *cpu_dai, unsigned int fmt) argument [all...] |
/sound/core/seq/oss/ |
H A D | seq_oss_synth.h | 38 int snd_seq_oss_synth_load_patch(struct seq_oss_devinfo *dp, int dev, int fmt,
|
H A D | seq_oss_rw.c | 99 int ev_size, fmt; local 116 fmt = (*(unsigned short *)rec.c) & 0xffff; 119 fmt, buf, 0, count);
|
/sound/core/ |
H A D | misc.c | 80 vaf.fmt = format; 84 vaf.fmt = format + 3;
|
/sound/soc/sh/ |
H A D | ssi.c | 248 static int ssi_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) argument 258 switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) { 272 switch (fmt & SND_SOC_DAIFMT_CLOCK_MASK) { 280 switch (fmt & SND_SOC_DAIFMT_INV_MASK) { 297 switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) {
|
/sound/core/oss/ |
H A D | pcm_plugin.h | 180 #define pdprintf(fmt, args...) printk(KERN_DEBUG "plugin: " fmt, ##args) 182 #define pdprintf(fmt, args...)
|
/sound/oss/ |
H A D | vidc.c | 173 static unsigned int vidc_audio_set_format(int dev, unsigned int fmt) argument 175 switch (fmt) { 177 fmt = AFMT_S16_LE; 181 vidc_audio_format = fmt; 410 #define TYPE(fmt,ch) (((fmt)<<2) | ((ch)&3))
|
/sound/soc/atmel/ |
H A D | playpaq_wm8510.c | 145 const unsigned int fmt = (SND_SOC_DAIFMT_I2S | local 150 const unsigned int fmt = (SND_SOC_DAIFMT_I2S | local 211 ret = snd_soc_dai_set_fmt(codec_dai, fmt); 218 ret = snd_soc_dai_set_fmt(cpu_dai, fmt);
|