Searched refs:denum (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/isdn/mISDN/ |
H A D | dsp_audio.c | 309 int denum[] = { 100, 100, 100, 100, 100, 100, 100, 100 }; in dsp_audio_generate_volume_changes() local 314 (dsp_audio_law_to_s32[i] * denum[7] / num[7]) & 0xffff]; in dsp_audio_generate_volume_changes() 316 (dsp_audio_law_to_s32[i] * denum[6] / num[6]) & 0xffff]; in dsp_audio_generate_volume_changes() 329 sample = dsp_audio_law_to_s32[i] * num[0] / denum[0]; in dsp_audio_generate_volume_changes() 335 sample = dsp_audio_law_to_s32[i] * num[1] / denum[1]; in dsp_audio_generate_volume_changes() 341 sample = dsp_audio_law_to_s32[i] * num[2] / denum[2]; in dsp_audio_generate_volume_changes() 347 sample = dsp_audio_law_to_s32[i] * num[3] / denum[3]; in dsp_audio_generate_volume_changes() 353 sample = dsp_audio_law_to_s32[i] * num[4] / denum[4]; in dsp_audio_generate_volume_changes() 359 sample = dsp_audio_law_to_s32[i] * num[5] / denum[5]; in dsp_audio_generate_volume_changes() 365 sample = dsp_audio_law_to_s32[i] * num[6] / denum[6]; in dsp_audio_generate_volume_changes() [all …]
|
/openbmc/u-boot/drivers/clk/aspeed/ |
H A D | clk_ast2500.c | 48 unsigned int denum; member 68 const ulong denum = (mpll_reg & SCU_MPLL_DENUM_MASK) in ast2500_get_mpll_rate() local 87 const ulong denum = (hpll_reg & SCU_HPLL_DENUM_MASK) in ast2500_get_hpll_rate() local 106 const ulong denum = (dpll_reg >> 8) & 0x1f; in ast2500_get_dpll_rate() local 123 const ulong denum = (d2pll_reg >> 8) & 0x1f; in ast2500_get_d2pll_rate() local 301 for (; it.denum <= max_vals.denum; ++it.denum) { in ast2500_calc_clock_config() 305 * (it.denum + 1); in ast2500_calc_clock_config() 310 * ((it.num + 1) / (it.denum + 1))) in ast2500_calc_clock_config() 335 .denum = (SCU_MPLL_DENUM_MASK >> SCU_MPLL_DENUM_SHIFT), in ast2500_configure_ddr() 346 | (div_cfg.denum << SCU_MPLL_DENUM_SHIFT); in ast2500_configure_ddr() [all …]
|
H A D | clk_ast2400.c | 31 unsigned int denum; member 275 { 24000000, 250000000, { .num = 124, .denum = 1, .post_div = 5 } }, 327 for (; it.denum <= max_vals.denum; ++it.denum) { in ast2400_calc_clock_config() 331 * (it.denum + 1); in ast2400_calc_clock_config() 336 * ((it.num + 1) / (it.denum + 1))) in ast2400_calc_clock_config() 361 .denum = (SCU_MPLL_DENUM_MASK >> SCU_MPLL_DENUM_SHIFT), in ast2400_configure_ddr() 372 | (div_cfg.denum << SCU_MPLL_DENUM_SHIFT); in ast2400_configure_ddr()
|
/openbmc/linux/drivers/gpu/drm/ast/ |
H A D | ast_main.c | 312 uint32_t denum, num, div, ref_pll, dsel; in ast_get_dram_info() local 408 denum = mcr_scu_mpll & 0x1f; in ast_get_dram_info() 423 ast->mclk = ref_pll * (num + 2) / ((denum + 2) * (div * 1000)); in ast_get_dram_info()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | bw_fixed.h | 85 struct bw_fixed bw_frc_to_fixed(int64_t num, int64_t denum);
|