Searched refs:sample_bytes (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/drivers/net/wireless/ath/ath9k/ |
D | common-spectral.c | 412 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.12.1/sound/usb/ |
D | format.c | 35 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 …]
|
D | quirks.h | 45 unsigned int sample_bytes);
|
D | quirks.c | 1955 unsigned int sample_bytes) in snd_usb_interface_dsd_format_quirks() argument
|
/linux-6.12.1/sound/drivers/ |
D | pcmtest.c | 104 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.12.1/sound/core/ |
D | sound_kunit.c | 160 size_t sample_bytes = data->physical_bits >> 3; in _test_fill_silence() local 164 for (i = 0; i < samples_count * sample_bytes; i++) in _test_fill_silence() 165 KUNIT_EXPECT_EQ(test, buffer[i], data->silence[i % sample_bytes]); in _test_fill_silence()
|
/linux-6.12.1/sound/soc/atmel/ |
D | mchp-i2s-mcc.c | 536 int sample_bytes = params_physical_width(params) / 8; in mchp_i2s_mcc_hw_params() local 538 params_channels(params) * sample_bytes; in mchp_i2s_mcc_hw_params() 660 maxburst = mchp_i2s_mcc_period_to_maxburst(period_bytes, sample_bytes); in mchp_i2s_mcc_hw_params()
|
D | mchp-pdmc.c | 531 int sample_bytes = params_physical_width(params) / 8; in mchp_pdmc_hw_params() local 533 params_channels(params) * sample_bytes; in mchp_pdmc_hw_params() 601 maxburst = mchp_pdmc_period_to_maxburst(period_bytes, sample_bytes); in mchp_pdmc_hw_params()
|
/linux-6.12.1/sound/soc/fsl/ |
D | fsl_dma.c | 521 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()
|