Home
last modified time | relevance | path

Searched refs:den (Results 1 – 12 of 12) sorted by relevance

/u-boot/arch/arm/mach-omap2/
A Dutils.c17 ((*den)/factor*factor == (*den))) { in do_cancel_out()
19 (*den) /= factor; in do_cancel_out()
161 do_cancel_out(num, den, 2); in cancel_out()
162 do_cancel_out(num, den, 3); in cancel_out()
163 do_cancel_out(num, den, 5); in cancel_out()
164 do_cancel_out(num, den, 7); in cancel_out()
165 do_cancel_out(num, den, 11); in cancel_out()
166 do_cancel_out(num, den, 13); in cancel_out()
167 do_cancel_out(num, den, 17); in cancel_out()
168 while ((*den) > den_limit) { in cancel_out()
[all …]
A Dclocks-common.c351 u32 sys_clk_khz, sd_div, num, den; in setup_usb_dpll() local
364 den = (params->n + 1) * 250 * 1000; in setup_usb_dpll()
365 num += den - 1; in setup_usb_dpll()
366 sd_div = num / den; in setup_usb_dpll()
/u-boot/arch/arm/include/asm/arch-omap5/
A Dsys_proto.h62 void cancel_out(u32 *num, u32 *den, u32 den_limit);
79 static inline u32 div_round_up(u32 num, u32 den) in div_round_up() argument
81 return (num + den - 1)/den; in div_round_up()
/u-boot/arch/arc/lib/
A Dlibgcc2.c79 udivmodsi4(unsigned long num, unsigned long den, int modwanted) in udivmodsi4() argument
84 while (den < num && bit && !(den & (1L<<31))) { in udivmodsi4()
85 den <<= 1; in udivmodsi4()
90 if (num >= den) { in udivmodsi4()
91 num -= den; in udivmodsi4()
95 den >>= 1; in udivmodsi4()
/u-boot/arch/x86/lib/
A Ddiv64.c101 u64 __udivdi3(u64 num, u64 den) in __udivdi3() argument
103 return _64bit_divide(num, den, NULL); in __udivdi3()
106 u64 __umoddi3(u64 num, u64 den) in __umoddi3() argument
110 _64bit_divide(num, den, &v); in __umoddi3()
/u-boot/arch/arm/mach-omap2/omap5/
A Ddra7xx_iodelay.c85 static u32 calculate_delay(u32 base, u16 offset, u16 den) in calculate_delay() argument
97 if (!dly_cnt || !den) in calculate_delay()
104 q = 5 * ((ref_cnt * refclk_period) / (dly_cnt * den)); in calculate_delay()
105 r = (10 * ((ref_cnt * refclk_period) % (dly_cnt * den))) / in calculate_delay()
106 (2 * dly_cnt * den); in calculate_delay()
/u-boot/arch/nios2/lib/
A Dlibgcc.c460 udivmodsi4(USItype num, USItype den, word_type modwanted) in udivmodsi4() argument
465 while (den < num && bit && !(den & (1L<<31))) in udivmodsi4()
467 den <<=1; in udivmodsi4()
472 if (num >= den) in udivmodsi4()
474 num -= den; in udivmodsi4()
478 den >>=1; in udivmodsi4()
/u-boot/arch/arm/include/asm/arch-omap4/
A Dsys_proto.h56 void cancel_out(u32 *num, u32 *den, u32 den_limit);
/u-boot/arch/x86/cpu/quark/
A Dsmc.h453 #define MCEIL(num, den) ((uint8_t)((num + den - 1) / den)) argument
/u-boot/arch/arm/include/asm/arch-omap3/
A Dsys_proto.h67 void cancel_out(u32 *num, u32 *den, u32 den_limit);
/u-boot/drivers/mtd/nand/raw/
A Dstm32_fmc2_nand.c456 int i, ret, den, eccsize = chip->ecc.size; in stm32_fmc2_nfc_bch_correct() local
492 den = FIELD_GET(FMC2_BCHDSR0_DEN, bchdsr0); in stm32_fmc2_nfc_bch_correct()
493 for (i = 0; i < den; i++) { in stm32_fmc2_nfc_bch_correct()
/u-boot/arch/arm/dts/
A Dpx30.dtsi1945 lcdc_rgb_m0_den_pin: lcdc-rgb-m0-den-pin {

Completed in 24 milliseconds