Home
last modified time | relevance | path

Searched refs:sample_bytes (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/kernel/sound/usb/
H A Dformat.c36 int sample_width, sample_bytes; in parse_audio_format_i_type() local
46 sample_bytes = fmt->bSubframeSize; in parse_audio_format_i_type()
54 sample_bytes = fmt->bSubslotSize; in parse_audio_format_i_type()
69 sample_bytes = as->bSubslotSize; in parse_audio_format_i_type()
93 sample_width == 24 && sample_bytes == 2) in parse_audio_format_i_type()
94 sample_bytes = 3; in parse_audio_format_i_type()
95 else if (sample_width > sample_bytes * 8) { in parse_audio_format_i_type()
98 sample_width, sample_bytes); in parse_audio_format_i_type()
101 switch (sample_bytes) { in parse_audio_format_i_type()
124 sample_width, sample_bytes); in parse_audio_format_i_type()
[all …]
H A Dquirks.h48 unsigned int sample_bytes);
H A Dquirks.c1724 unsigned int sample_bytes) in snd_usb_interface_dsd_format_quirks() argument
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath9k/
H A Dcommon-spectral.c412 ath_cmn_copy_fft_frame(u8 *in, u8 *out, int sample_len, int sample_bytes) in ath_cmn_copy_fft_frame() argument
414 switch (sample_bytes - sample_len) { in ath_cmn_copy_fft_frame()
481 int sample_bytes = 0; in ath_cmn_process_fft() local
540 sample_bytes++; in ath_cmn_process_fft()
549 sample_bytes = len - sizeof(struct ath_radar_info); in ath_cmn_process_fft()
560 if (vdata[i] <= 0x7 && sample_bytes >= sample_len - 1) { in ath_cmn_process_fft()
579 if ((sample_bytes > sample_len + 2) || in ath_cmn_process_fft()
580 ((sample_bytes > sample_len) && in ath_cmn_process_fft()
598 (sample_bytes >= sample_len) && in ath_cmn_process_fft()
599 (sample_bytes < sample_len + 2) && in ath_cmn_process_fft()
[all …]
/OK3568_Linux_fs/kernel/sound/soc/rockchip/
H A Drockchip_vad.c87 u32 sample_bytes; member
99 return bytes / vad->channels / vad->sample_bytes; in vframe_size()
789 vad->sample_bytes = 2; in rockchip_vad_hw_params()
794 vad->sample_bytes = 4; in rockchip_vad_hw_params()
H A Drockchip_dlp.c358 int sample_bytes = dlp_channels_to_bytes(prtd, 1); in dlp_mix_frame_buffer() local
363 switch (sample_bytes) { in dlp_mix_frame_buffer()
/OK3568_Linux_fs/kernel/sound/soc/fsl/
H A Dfsl_dma.c548 unsigned int sample_bytes = sample_bits / 8; in fsl_dma_hw_params() local
637 mr |= CCSR_DMA_MR_BWC((dma_private->ssi_fifo_depth - 2) * sample_bytes); in fsl_dma_hw_params()