Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/wireless/ath/ath9k/
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 …]
/linux-6.6.21/sound/usb/
Dformat.c35 int sample_width, sample_bytes; in parse_audio_format_i_type() local
49 sample_bytes = fmt->bSubframeSize; in parse_audio_format_i_type()
57 sample_bytes = fmt->bSubslotSize; in parse_audio_format_i_type()
72 sample_bytes = as->bSubslotSize; in parse_audio_format_i_type()
96 sample_width == 24 && sample_bytes == 2) in parse_audio_format_i_type()
97 sample_bytes = 3; in parse_audio_format_i_type()
98 else if (sample_width > sample_bytes * 8) { in parse_audio_format_i_type()
101 sample_width, sample_bytes); in parse_audio_format_i_type()
104 switch (sample_bytes) { in parse_audio_format_i_type()
127 sample_width, sample_bytes); in parse_audio_format_i_type()
[all …]
Dquirks.h45 unsigned int sample_bytes);
Dquirks.c1857 unsigned int sample_bytes) in snd_usb_interface_dsd_format_quirks() argument
/linux-6.6.21/sound/drivers/
Dpcmtest.c104 unsigned int sample_bytes; // sample_bits / 8 member
181 ch_num = (v_iter->total_bytes / v_iter->sample_bytes) % runtime->channels; in check_buf_block_i()
184 v_iter->sample_bytes) in check_buf_block_i()
260 pos_in_ch = ch_pos_i(v_iter->total_bytes, runtime->channels, v_iter->sample_bytes); in fill_block_pattern_i()
264 for (pos_sample = 0; pos_sample < v_iter->sample_bytes; pos_sample++) { in fill_block_pattern_i()
265 pos_pattern = (pos_in_ch + sample * v_iter->sample_bytes in fill_block_pattern_i()
477 v_iter->sample_bytes = samples_to_bytes(runtime, 1); in snd_pcmtst_pcm_prepare()
487 v_iter->b_rw = v_iter->s_rw_ch * v_iter->sample_bytes * runtime->channels; in snd_pcmtst_pcm_prepare()
/linux-6.6.21/sound/soc/fsl/
Dfsl_dma.c521 unsigned int sample_bytes = sample_bits / 8; in fsl_dma_hw_params() local
610 mr |= CCSR_DMA_MR_BWC((dma_private->ssi_fifo_depth - 2) * sample_bytes); in fsl_dma_hw_params()