Home
last modified time | relevance | path

Searched refs:cic_shift (Results 1 – 3 of 3) sorted by relevance

/sof-3.4.0/tools/tune/dmic/
Ddmic_init.m187 cfg.cic_shift = bitsneeded - hw.bits_fir_input;
193 if cfg.cic_shift < hw.cic_shift_right_range(1);
194 fprintf(1,'Warning: Limited CIC shift right from %d', cfg.cic_shift);
195 cfg.cic_shift = hw.cic_shift_right_range(1);
198 if cfg.cic_shift > hw.cic_shift_right_range(2);
199 fprintf(1,'Error: Limited CIC shift right from %d', cfg.cic_shift);
200 cfg.cic_shift = hw.cic_shift_right_range(2);
204 cfg.remain_gain_to_fir = 2^(hw.bits_fir_input-1)/(g_cic/2^cfg.cic_shift);
/sof-3.4.0/src/drivers/intel/dmic/
Ddmic_computed.c429 cfg->cic_shift = bits_cic - DMIC_HW_BITS_FIR_INPUT; in select_mode()
435 if (cfg->cic_shift >= 0) in select_mode()
436 cic_out_max = g_cic >> cfg->cic_shift; in select_mode()
438 cic_out_max = g_cic << -cfg->cic_shift; in select_mode()
750 val = CIC_CONFIG_CIC_SHIFT(cfg->cic_shift + 8) | in configure_registers()
775 ref = CIC_CONFIG_CIC_SHIFT(cfg->cic_shift + 8) | in configure_registers()
986 cfg.cic_shift); in dmic_set_config_computed()
/sof-3.4.0/src/include/sof/drivers/
Ddmic.h486 int cic_shift; member