Home
last modified time | relevance | path

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

/linux/sound/soc/tegra/
H A Dtegra_isomgr_bw.c26 int sample_bytes; in tegra_isomgr_adma_setbw() local
49 sample_bytes = snd_pcm_format_width(runtime->format) / 8; in tegra_isomgr_adma_setbw()
50 if (sample_bytes < 0) in tegra_isomgr_adma_setbw()
51 return sample_bytes; in tegra_isomgr_adma_setbw()
55 sample_bytes; in tegra_isomgr_adma_setbw()
/linux/sound/usb/
H A Dformat.c35 int sample_width, sample_bytes; in parse_audio_format_i_type() local
50 sample_bytes = fmt->bSubframeSize; in parse_audio_format_i_type()
58 sample_bytes = fmt->bSubslotSize; in parse_audio_format_i_type()
75 sample_bytes = as->bSubslotSize; in parse_audio_format_i_type()
89 fp->fmt_sz = sample_bytes; in parse_audio_format_i_type()
103 sample_width == 24 && sample_bytes == 2) in parse_audio_format_i_type()
104 sample_bytes = 3; in parse_audio_format_i_type()
105 else if (sample_width > sample_bytes * 8) { in parse_audio_format_i_type()
108 sample_width, sample_bytes); in parse_audio_format_i_type()
111 switch (sample_bytes) { in parse_audio_format_i_type()
[all …]
H A Dquirks.c1985 unsigned int sample_bytes) in snd_usb_interface_dsd_format_quirks() argument
/linux/drivers/net/wireless/ath/ath9k/
H A Dcommon-spectral.c413 ath_cmn_copy_fft_frame(u8 *in, u8 *out, int sample_len, int sample_bytes) in ath_cmn_copy_fft_frame() argument
415 switch (sample_bytes - sample_len) { in ath_cmn_copy_fft_frame()
482 int sample_bytes = 0; in ath_cmn_process_fft() local
541 sample_bytes++; in ath_cmn_process_fft()
550 sample_bytes = len - sizeof(struct ath_radar_info); in ath_cmn_process_fft()
561 if (vdata[i] <= 0x7 && sample_bytes >= sample_len - 1) { in ath_cmn_process_fft()
580 if ((sample_bytes > sample_len + 2) || in ath_cmn_process_fft()
581 ((sample_bytes > sample_len) && in ath_cmn_process_fft()
599 (sample_bytes >= sample_len) && in ath_cmn_process_fft()
600 (sample_bytes < sample_len + 2) && in ath_cmn_process_fft()
[all …]
/linux/sound/drivers/
H A Dpcmtest.c105 unsigned int sample_bytes; // sample_bits / 8 member
182 ch_num = (v_iter->total_bytes / v_iter->sample_bytes) % runtime->channels; in check_buf_block_i()
185 v_iter->sample_bytes) in check_buf_block_i()
261 pos_in_ch = ch_pos_i(v_iter->total_bytes, runtime->channels, v_iter->sample_bytes); in fill_block_pattern_i()
265 for (pos_sample = 0; pos_sample < v_iter->sample_bytes; pos_sample++) { in fill_block_pattern_i()
266 pos_pattern = (pos_in_ch + sample * v_iter->sample_bytes in fill_block_pattern_i()
478 v_iter->sample_bytes = samples_to_bytes(runtime, 1); in snd_pcmtst_pcm_prepare()
486 // We want to record RATE * ch_cnt samples per sec, it is rate * sample_bytes * ch_cnt bytes in snd_pcmtst_pcm_prepare()
488 v_iter->b_rw = v_iter->s_rw_ch * v_iter->sample_bytes * runtime->channels; in snd_pcmtst_pcm_prepare()
/linux/sound/soc/atmel/
H A Dmchp-i2s-mcc.c536 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()
H A Dmchp-pdmc.c531 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/sound/soc/fsl/
H A 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()