Home
last modified time | relevance | path

Searched refs:pcm_format (Results 1 – 5 of 5) sorted by relevance

/sound/usb/
Dformat.c432 snd_pcm_format_t pcm_format; in parse_audio_format_i() local
445 pcm_format = SNDRV_PCM_FORMAT_S16_BE; in parse_audio_format_i()
447 pcm_format = SNDRV_PCM_FORMAT_S16_LE; in parse_audio_format_i()
450 pcm_format = SNDRV_PCM_FORMAT_S16_LE; in parse_audio_format_i()
452 fp->formats = pcm_format_to_bits(pcm_format); in parse_audio_format_i()
Dpcm.c103 if (!(fp->formats & pcm_format_to_bits(subs->pcm_format))) in find_format()
579 snd_pcm_format_t pcm_format) in match_endpoint_audioformats() argument
590 if (!(fp->formats & pcm_format_to_bits(pcm_format))) { in match_endpoint_audioformats()
593 fp, pcm_format); in match_endpoint_audioformats()
635 subs->pcm_format, in configure_sync_endpoint()
647 subs->cur_rate, subs->pcm_format); in configure_sync_endpoint()
675 subs->pcm_format, in configure_sync_endpoint()
698 subs->pcm_format, in configure_endpoint()
737 subs->pcm_format = params_format(hw_params); in snd_usb_hw_params()
748 subs->pcm_format, subs->cur_rate, subs->channels); in snd_usb_hw_params()
[all …]
Dendpoint.h12 snd_pcm_format_t pcm_format,
Dendpoint.c622 snd_pcm_format_t pcm_format, in data_ep_set_params() argument
633 int frame_bits = snd_pcm_format_physical_width(pcm_format) * channels; in data_ep_set_params()
637 if (pcm_format == SNDRV_PCM_FORMAT_DSD_U16_LE && fmt->dsd_dop) { in data_ep_set_params()
648 ep->silence_value = pcm_format == SNDRV_PCM_FORMAT_U8 ? 0x80 : 0; in data_ep_set_params()
857 snd_pcm_format_t pcm_format, in snd_usb_endpoint_set_params() argument
895 err = data_ep_set_params(ep, pcm_format, channels, in snd_usb_endpoint_set_params()
Dcard.h116 snd_pcm_format_t pcm_format; /* current audio format (for hw_params callback) */ member