Searched refs:sample_bytes (Results 1 – 9 of 9) sorted by relevance
26 int sample_bytes; in tegra_isomgr_adma_setbw() local49 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()
35 int sample_width, sample_bytes; in parse_audio_format_i_type() local49 sample_bytes = fmt->bSubframeSize; in parse_audio_format_i_type()57 sample_bytes = fmt->bSubslotSize; in parse_audio_format_i_type()74 sample_bytes = as->bSubslotSize; in parse_audio_format_i_type()88 fp->fmt_sz = sample_bytes; in parse_audio_format_i_type()102 sample_width == 24 && sample_bytes == 2) in parse_audio_format_i_type()103 sample_bytes = 3; in parse_audio_format_i_type()104 else if (sample_width > sample_bytes * 8) { in parse_audio_format_i_type()107 sample_width, sample_bytes); in parse_audio_format_i_type()110 switch (sample_bytes) { in parse_audio_format_i_type()[all …]
45 unsigned int sample_bytes);
1988 unsigned int sample_bytes) in snd_usb_interface_dsd_format_quirks() argument
105 unsigned int sample_bytes; // sample_bits / 8 member182 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()488 v_iter->b_rw = v_iter->s_rw_ch * v_iter->sample_bytes * runtime->channels; in snd_pcmtst_pcm_prepare()
160 size_t sample_bytes = data->physical_bits >> 3; in _test_fill_silence() local164 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()
536 int sample_bytes = params_physical_width(params) / 8; in mchp_i2s_mcc_hw_params() local538 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()
531 int sample_bytes = params_physical_width(params) / 8; in mchp_pdmc_hw_params() local533 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()
521 unsigned int sample_bytes = sample_bits / 8; in fsl_dma_hw_params() local610 mr |= CCSR_DMA_MR_BWC((dma_private->ssi_fifo_depth - 2) * sample_bytes); in fsl_dma_hw_params()
Completed in 28 milliseconds