Home
last modified time | relevance | path

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

/sound/usb/
Dformat.c373 snd_pcm_format_t pcm_format; in parse_audio_format_i() local
386 pcm_format = SNDRV_PCM_FORMAT_S16_BE; in parse_audio_format_i()
388 pcm_format = SNDRV_PCM_FORMAT_S16_LE; in parse_audio_format_i()
391 pcm_format = SNDRV_PCM_FORMAT_S16_LE; in parse_audio_format_i()
393 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()
537 snd_pcm_format_t pcm_format) in match_endpoint_audioformats() argument
548 if (!(fp->formats & pcm_format_to_bits(pcm_format))) { in match_endpoint_audioformats()
551 fp, pcm_format); in match_endpoint_audioformats()
593 subs->pcm_format, in configure_sync_endpoint()
605 subs->cur_rate, subs->pcm_format); in configure_sync_endpoint()
633 subs->pcm_format, in configure_sync_endpoint()
656 subs->pcm_format, in configure_endpoint()
695 subs->pcm_format = params_format(hw_params); in snd_usb_hw_params()
706 subs->pcm_format, subs->cur_rate, subs->channels); in snd_usb_hw_params()
[all …]
Dendpoint.c580 snd_pcm_format_t pcm_format, in data_ep_set_params() argument
591 int frame_bits = snd_pcm_format_physical_width(pcm_format) * channels; in data_ep_set_params()
593 if (pcm_format == SNDRV_PCM_FORMAT_DSD_U16_LE && fmt->dsd_dop) { in data_ep_set_params()
604 ep->silence_value = pcm_format == SNDRV_PCM_FORMAT_U8 ? 0x80 : 0; in data_ep_set_params()
792 snd_pcm_format_t pcm_format, in snd_usb_endpoint_set_params() argument
830 err = data_ep_set_params(ep, pcm_format, channels, in snd_usb_endpoint_set_params()
Dendpoint.h12 snd_pcm_format_t pcm_format,
Dcard.h116 snd_pcm_format_t pcm_format; /* current audio format (for hw_params callback) */ member