/kernel/linux/linux-5.10/sound/usb/ |
H A D | format.c | 535 snd_pcm_format_t pcm_format; in parse_audio_format_i() local 565 pcm_format = SNDRV_PCM_FORMAT_S16_BE; in parse_audio_format_i() 567 pcm_format = SNDRV_PCM_FORMAT_S16_LE; in parse_audio_format_i() 570 pcm_format = SNDRV_PCM_FORMAT_S16_LE; in parse_audio_format_i() 572 fp->formats = pcm_format_to_bits(pcm_format); in parse_audio_format_i()
|
H A D | endpoint.c | 627 snd_pcm_format_t pcm_format, in check_ep_params() 638 int frame_bits = snd_pcm_format_physical_width(pcm_format) * channels; in check_ep_params() 643 if (pcm_format == SNDRV_PCM_FORMAT_DSD_U16_LE && fmt->dsd_dop) { in check_ep_params() 655 switch (pcm_format) { in check_ep_params() 799 snd_pcm_format_t pcm_format, in data_ep_set_params() 810 int frame_bits = snd_pcm_format_physical_width(pcm_format) * channels; in data_ep_set_params() 814 if (pcm_format == SNDRV_PCM_FORMAT_DSD_U16_LE && fmt->dsd_dop) { in data_ep_set_params() 826 switch (pcm_format) { in data_ep_set_params() 1033 * @pcm_format: the audio fomat. 1047 snd_pcm_format_t pcm_format, in snd_usb_endpoint_set_params() 626 check_ep_params(struct snd_usb_endpoint *ep, snd_pcm_format_t pcm_format, unsigned int channels, unsigned int period_bytes, unsigned int frames_per_period, unsigned int periods_per_buffer, struct audioformat *fmt, struct snd_usb_endpoint *sync_ep) check_ep_params() argument 798 data_ep_set_params(struct snd_usb_endpoint *ep, snd_pcm_format_t pcm_format, unsigned int channels, unsigned int period_bytes, unsigned int frames_per_period, unsigned int periods_per_buffer, struct audioformat *fmt, struct snd_usb_endpoint *sync_ep) data_ep_set_params() argument 1046 snd_usb_endpoint_set_params(struct snd_usb_endpoint *ep, snd_pcm_format_t pcm_format, unsigned int channels, unsigned int period_bytes, unsigned int period_frames, unsigned int buffer_periods, unsigned int rate, struct audioformat *fmt, struct snd_usb_endpoint *sync_ep) snd_usb_endpoint_set_params() argument [all...] |
H A D | endpoint.h | 13 snd_pcm_format_t pcm_format,
|
H A D | pcm.c | 91 if (!(fp->formats & pcm_format_to_bits(subs->pcm_format))) in find_format() 625 snd_pcm_format_t pcm_format) in match_endpoint_audioformats() 636 if (!(fp->formats & pcm_format_to_bits(pcm_format))) { in match_endpoint_audioformats() 639 fp, pcm_format); in match_endpoint_audioformats() 681 subs->pcm_format, in configure_sync_endpoint() 693 subs->cur_rate, subs->pcm_format); in configure_sync_endpoint() 721 subs->pcm_format, in configure_sync_endpoint() 745 subs->pcm_format, in configure_endpoint() 831 subs->pcm_format = params_format(hw_params); in snd_usb_hw_params() 842 subs->pcm_format, sub in snd_usb_hw_params() 622 match_endpoint_audioformats(struct snd_usb_substream *subs, struct audioformat *fp, struct audioformat *match, int rate, snd_pcm_format_t pcm_format) match_endpoint_audioformats() argument [all...] |
H A D | card.h | 128 snd_pcm_format_t pcm_format; /* current audio format (for hw_params callback) */ member
|
/kernel/linux/linux-6.6/sound/usb/ |
H A D | format.c | 651 snd_pcm_format_t pcm_format; in parse_audio_format_i() local 681 pcm_format = SNDRV_PCM_FORMAT_S16_BE; in parse_audio_format_i() 683 pcm_format = SNDRV_PCM_FORMAT_S16_LE; in parse_audio_format_i() 686 pcm_format = SNDRV_PCM_FORMAT_S16_LE; in parse_audio_format_i() 688 fp->formats = pcm_format_to_bits(pcm_format); in parse_audio_format_i()
|
H A D | implicit.c | 407 snd_pcm_format_t pcm_format) in match_endpoint_audioformats() 414 if (!(fp->formats & pcm_format_to_bits(pcm_format))) in match_endpoint_audioformats() 404 match_endpoint_audioformats(struct snd_usb_substream *subs, const struct audioformat *fp, int rate, int channels, snd_pcm_format_t pcm_format) match_endpoint_audioformats() argument
|
/kernel/linux/linux-5.10/include/xen/interface/io/ |
H A D | sndif.h | 602 * | pcm_format | pcm_channels | reserved | 16 618 * pcm_format - uint8_t, XENSND_PCM_FORMAT_XXX value 639 uint8_t pcm_format; member
|
/kernel/linux/linux-6.6/include/xen/interface/io/ |
H A D | sndif.h | 585 * | pcm_format | pcm_channels | reserved | 16 601 * pcm_format - uint8_t, XENSND_PCM_FORMAT_XXX value 622 uint8_t pcm_format; member
|
/kernel/linux/linux-5.10/sound/xen/ |
H A D | xen_snd_front.c | 97 req->op.open.pcm_format = format; in xen_snd_front_stream_prepare()
|
/kernel/linux/linux-6.6/sound/xen/ |
H A D | xen_snd_front.c | 97 req->op.open.pcm_format = format; in xen_snd_front_stream_prepare()
|
/kernel/linux/linux-5.10/include/sound/ |
H A D | pcm.h | 1424 * pcm_format_to_bits - Strong-typed conversion of pcm_format to bitwise 1425 * @pcm_format: PCM format 1427 static inline u64 pcm_format_to_bits(snd_pcm_format_t pcm_format) in pcm_format_to_bits() argument 1429 return 1ULL << (__force int) pcm_format; in pcm_format_to_bits()
|
/kernel/linux/linux-6.6/include/sound/ |
H A D | pcm.h | 1530 * pcm_format_to_bits - Strong-typed conversion of pcm_format to bitwise 1531 * @pcm_format: PCM format 1535 static inline u64 pcm_format_to_bits(snd_pcm_format_t pcm_format) in pcm_format_to_bits() argument 1537 return 1ULL << (__force int) pcm_format; in pcm_format_to_bits()
|