Searched refs:div_factor (Results 1 – 5 of 5) sorted by relevance
/external/u-boot/drivers/video/ |
D | ssd2828.c | 253 u32 div_factor = 1, mul_factor, fr = 0; in construct_pll_config() local 257 while (reference_freq_khz / (div_factor + 1) >= 5000) in construct_pll_config() 258 div_factor++; in construct_pll_config() 259 if (div_factor > 31) in construct_pll_config() 260 div_factor = 31; in construct_pll_config() 262 mul_factor = DIV_ROUND_UP(desired_pll_freq_kbps * div_factor, in construct_pll_config() 265 output_freq_kbps = reference_freq_khz * mul_factor / div_factor; in construct_pll_config() 274 return (fr << 14) | (div_factor << 8) | mul_factor; in construct_pll_config() 280 u32 div_factor = (pll_config >> 8) & 0x1F; in decode_pll_config() local 283 if (div_factor == 0) in decode_pll_config() [all …]
|
/external/u-boot/drivers/clk/ |
D | clk-hsdk-cgu.c | 511 u32 div_factor = hsdk_idiv_read(clk); in idiv_get() local 513 div_factor &= CGU_IDIV_MASK; in idiv_get() 515 pr_debug("current configurarion: %#x (%d)\n", div_factor, div_factor); in idiv_get() 517 if (div_factor == 0) in idiv_get() 520 return parent_rate / div_factor; in idiv_get() 615 u32 div_factor; in idiv_set() local 617 div_factor = parent_rate / rate; in idiv_set() 618 if (abs(rate - parent_rate / (div_factor + 1)) <= in idiv_set() 619 abs(rate - parent_rate / div_factor)) { in idiv_set() 620 div_factor += 1; in idiv_set() [all …]
|
/external/u-boot/arch/arm/mach-omap2/omap5/ |
D | hwinit.c | 199 u32 srcomp_value, mul_factor, div_factor, clk_val, i; in srcomp_enable() local 207 div_factor = srcomp_parameters[sysclk_ind].divide_factor; in srcomp_enable() 214 (div_factor << DIVIDE_FACTOR_XS_SHIFT); in srcomp_enable() 246 (div_factor << DIVIDE_FACTOR_XS_SHIFT); in srcomp_enable()
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorFFT.h | 277 const ComplexScalar div_factor = ComplexScalar(1.0 / line_len, 0); 279 buf[offset] = (FFTDir == FFT_FORWARD) ? line_buf[j] : line_buf[j] * div_factor;
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/ |
D | fdiv.ll | 288 define float @div_factor(float %x, float %y) { 289 ; CHECK-LABEL: @div_factor(
|