| /OK3568_Linux_fs/kernel/drivers/acpi/acpica/ |
| H A D | utmath.c | 260 union uint64_overlay quotient; in acpi_ut_short_divide() local 279 quotient.part.hi, remainder32); in acpi_ut_short_divide() 282 quotient.part.lo, remainder32); in acpi_ut_short_divide() 287 *out_quotient = quotient.full; in acpi_ut_short_divide() 317 union uint64_overlay quotient; in acpi_ut_divide() local 348 quotient.part.hi, partial1); in acpi_ut_divide() 351 quotient.part.lo, remainder.part.lo); in acpi_ut_divide() 359 quotient.part.hi = 0; in acpi_ut_divide() 377 normalized_divisor.part.lo, quotient.part.lo, in acpi_ut_divide() 384 partial1 = quotient.part.lo * divisor.part.hi; in acpi_ut_divide() [all …]
|
| H A D | hwtimer.c | 123 u64 quotient; in ACPI_EXPORT_SYMBOL() local 168 ACPI_PM_TIMER_FREQUENCY, "ient, NULL); in ACPI_EXPORT_SYMBOL() 170 *time_elapsed = (u32)quotient; in ACPI_EXPORT_SYMBOL()
|
| H A D | utstrsuppt.c | 373 u64 quotient; in acpi_ut_strtoul_multiply64() local 390 acpi_ut_short_divide(ACPI_UINT64_MAX, base, "ient, NULL); in acpi_ut_strtoul_multiply64() 391 if (multiplicand > quotient) { in acpi_ut_strtoul_multiply64()
|
| /OK3568_Linux_fs/u-boot/lib/ |
| H A D | div64.c | 66 u64 quotient; in div_s64_rem() local 69 quotient = div_u64_rem(-dividend, abs(divisor), (u32 *)remainder); in div_s64_rem() 72 quotient = -quotient; in div_s64_rem() 74 quotient = div_u64_rem(dividend, abs(divisor), (u32 *)remainder); in div_s64_rem() 76 quotient = -quotient; in div_s64_rem() 78 return quotient; in div_s64_rem()
|
| /OK3568_Linux_fs/kernel/lib/math/ |
| H A D | div64.c | 73 u64 quotient; in div_s64_rem() local 76 quotient = div_u64_rem(-dividend, abs(divisor), (u32 *)remainder); in div_s64_rem() 79 quotient = -quotient; in div_s64_rem() 81 quotient = div_u64_rem(dividend, abs(divisor), (u32 *)remainder); in div_s64_rem() 83 quotient = -quotient; in div_s64_rem() 85 return quotient; in div_s64_rem()
|
| /OK3568_Linux_fs/kernel/arch/alpha/lib/ |
| H A D | divide.S | 66 #define quotient $27 macro 74 #define quotient $2 macro 108 bis $31,$31,quotient 139 2: DIV_ONLY(addq quotient,mask,tmp2) 143 DIV_ONLY(cmovne compare,tmp2,quotient)
|
| H A D | ev6-divide.S | 76 #define quotient $27 macro 84 #define quotient $2 macro 119 bis $31,$31,quotient # E : 167 DIV_ONLY(addq quotient,mask,tmp2) # E : 176 DIV_ONLY(cmovne compare,tmp2,quotient) # E : Latency 2, extra map slot
|
| /OK3568_Linux_fs/kernel/arch/m68k/ifpsp060/src/ |
| H A D | ilsp.S | 77 # 0x10(sp) = pointer to location to place quotient/remainder # 80 # 0x10(sp) = points to location of remainder/quotient. # 81 # remainder is in first longword, quotient is in 2nd. # 204 eor.b %d0, NDIVIDEND(%a6) # chk if quotient is negative 278 # The quotient is returned in %d6, remainder in %d5, unless the # 291 # In the general case, four quotient words would be created by 293 # the first two quotient words must be zero, or overflow would occur. 296 # the last two divisions to get a quotient longword and word remainder: 305 mov.w %d5, %d1 # first quotient word 312 mov.w %d5, %d1 # 2nd quotient 'digit' [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/lib/ |
| H A D | div64.S | 23 mullw r0,r7,r4 # quotient.hi = dividend.hi / divisor 40 2: mullw r10,r11,r4 # to get an estimate of the quotient, 44 subfe. r5,r9,r5 # quotient 52 4: stw r7,0(r3) # return the quotient in *r3
|
| /OK3568_Linux_fs/buildroot/package/mpir/ |
| H A D | 0001-mpn-arm-udiv.asm-workaround-binutils-bug-14887.patch | 26 adc r0, n0, n0 C quotient: add last carry from divstep 30 addcs n0, n0, #1 C adjust quotient 35 mov r0, n0 C quotient
|
| /OK3568_Linux_fs/kernel/drivers/clk/qcom/ |
| H A D | clk-alpha-pll.c | 419 u64 quotient; in alpha_pll_round_rate() local 421 quotient = rate; in alpha_pll_round_rate() 422 remainder = do_div(quotient, prate); in alpha_pll_round_rate() 423 *l = quotient; in alpha_pll_round_rate() 431 quotient = remainder << ALPHA_SHIFT(alpha_width); in alpha_pll_round_rate() 433 remainder = do_div(quotient, prate); in alpha_pll_round_rate() 436 quotient++; in alpha_pll_round_rate() 438 *a = quotient; in alpha_pll_round_rate() 626 u64 quotient; in alpha_huayra_pll_round_rate() local 628 quotient = rate; in alpha_huayra_pll_round_rate() [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/boot/ |
| H A D | div64.S | 23 mullw r0,r7,r4 # quotient.hi = dividend.hi / divisor 40 2: mullw r10,r11,r4 # to get an estimate of the quotient, 44 subfe. r5,r9,r5 # quotient 52 4: stw r7,0(r3) # return the quotient in *r3
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/ |
| H A D | wide-int.h | 2665 WI_BINARY_RESULT_VAR (quotient, quotient_val, T1, x, T2, y); 2666 unsigned int precision = get_precision (quotient); 2670 quotient.set_len (divmod_internal (quotient_val, 0, 0, xi.val, xi.len, 2674 return quotient; 2700 WI_BINARY_RESULT_VAR (quotient, quotient_val, T1, x, T2, y); 2702 unsigned int precision = get_precision (quotient); 2707 quotient.set_len (divmod_internal (quotient_val, 2714 return quotient - 1; 2715 return quotient; 2742 WI_BINARY_RESULT_VAR (quotient, quotient_val, T1, x, T2, y); [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/ |
| H A D | wide-int.h | 2665 WI_BINARY_RESULT_VAR (quotient, quotient_val, T1, x, T2, y); 2666 unsigned int precision = get_precision (quotient); 2670 quotient.set_len (divmod_internal (quotient_val, 0, 0, xi.val, xi.len, 2674 return quotient; 2700 WI_BINARY_RESULT_VAR (quotient, quotient_val, T1, x, T2, y); 2702 unsigned int precision = get_precision (quotient); 2707 quotient.set_len (divmod_internal (quotient_val, 2714 return quotient - 1; 2715 return quotient; 2742 WI_BINARY_RESULT_VAR (quotient, quotient_val, T1, x, T2, y); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/tuners/ |
| H A D | max2165.c | 150 static int fixpt_div32(u32 dividend, u32 divisor, u32 *quotient, u32 *fraction) in fixpt_div32() argument 171 *quotient = q; in fixpt_div32() 182 u32 quotient, fraction; in max2165_set_rf() local 187 "ient, &fraction); in max2165_set_rf() 194 max2165_write_reg(priv, REG_NDIV_INT, quotient); in max2165_set_rf()
|
| /OK3568_Linux_fs/kernel/arch/sparc/kernel/ |
| H A D | time_64.c | 821 unsigned long freq, quotient, tick; in init_tick_ops() local 824 quotient = clocksource_hz2mult(freq, SPARC64_NSEC_PER_CYC_SHIFT); in init_tick_ops() 827 ops->offset = (tick * quotient) >> SPARC64_NSEC_PER_CYC_SHIFT; in init_tick_ops() 828 ops->ticks_per_nsec_quotient = quotient; in init_tick_ops() 882 unsigned long quotient = tick_operations.ticks_per_nsec_quotient; in sched_clock() local 892 return ((get_tick() * quotient) >> SPARC64_NSEC_PER_CYC_SHIFT) - offset; in sched_clock()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | stmmac_ptp.c | 62 u32 quotient, reminder; in stmmac_adjust_time() local 73 quotient = div_u64_rem(delta, 1000000000ULL, &reminder); in stmmac_adjust_time() 74 sec = quotient; in stmmac_adjust_time()
|
| /OK3568_Linux_fs/kernel/arch/m68k/math-emu/ |
| H A D | fp_emu.h | 56 #define fp_set_quotient(quotient) ({ \ argument 58 FPDATA->fpsr |= ((quotient) & 0xff) << 16; \
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/core/ |
| H A D | rtw_eeprom.c | 193 u8 quotient, remainder, addr_2align_odd; in eeprom_read() local 206 quotient = sz >> 1; in eeprom_read() 209 for (i = 0; i < quotient; i++) { in eeprom_read()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/ |
| H A D | rtw_eeprom.c | 293 u8 quotient, remainder, addr_2align_odd; in eeprom_read() local 305 quotient = sz >> 1; in eeprom_read() 308 for (i = 0 ; i < quotient; i++) { in eeprom_read()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/core/ |
| H A D | rtw_eeprom.c | 294 u8 quotient, remainder, addr_2align_odd; in eeprom_read() local 306 quotient = sz >> 1; in eeprom_read() 309 for (i = 0 ; i < quotient; i++) { in eeprom_read()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/core/ |
| H A D | rtw_eeprom.c | 294 u8 quotient, remainder, addr_2align_odd; in eeprom_read() local 306 quotient = sz >> 1; in eeprom_read() 309 for (i = 0 ; i < quotient; i++) { in eeprom_read()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/ |
| H A D | rtw_eeprom.c | 293 u8 quotient, remainder, addr_2align_odd; in eeprom_read() local 305 quotient = sz >> 1; in eeprom_read() 308 for (i = 0 ; i < quotient; i++) { in eeprom_read()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/ |
| H A D | rtw_eeprom.c | 293 u8 quotient, remainder, addr_2align_odd; in eeprom_read() local 305 quotient = sz >> 1; in eeprom_read() 308 for (i = 0 ; i < quotient; i++) { in eeprom_read()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/ |
| H A D | rtw_eeprom.c | 293 u8 quotient, remainder, addr_2align_odd; in eeprom_read() local 305 quotient = sz >> 1; in eeprom_read() 308 for (i = 0 ; i < quotient; i++) { in eeprom_read()
|