/Linux-v4.19/drivers/acpi/acpica/ |
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 …]
|
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()
|
D | utstrsuppt.c | 358 u64 quotient; in acpi_ut_strtoul_multiply64() local 375 acpi_ut_short_divide(ACPI_UINT64_MAX, base, "ient, NULL); in acpi_ut_strtoul_multiply64() 376 if (multiplicand > quotient) { in acpi_ut_strtoul_multiply64()
|
/Linux-v4.19/lib/ |
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()
|
/Linux-v4.19/arch/alpha/lib/ |
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)
|
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
|
/Linux-v4.19/arch/m68k/ifpsp060/src/ |
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 …]
|
/Linux-v4.19/arch/powerpc/lib/ |
D | div64.S | 27 mullw r0,r7,r4 # quotient.hi = dividend.hi / divisor 44 2: mullw r10,r11,r4 # to get an estimate of the quotient, 48 subfe. r5,r9,r5 # quotient 56 4: stw r7,0(r3) # return the quotient in *r3
|
/Linux-v4.19/drivers/clk/qcom/ |
D | clk-alpha-pll.c | 392 u64 quotient; in alpha_pll_round_rate() local 394 quotient = rate; in alpha_pll_round_rate() 395 remainder = do_div(quotient, prate); in alpha_pll_round_rate() 396 *l = quotient; in alpha_pll_round_rate() 404 quotient = remainder << ALPHA_SHIFT(alpha_width); in alpha_pll_round_rate() 406 remainder = do_div(quotient, prate); in alpha_pll_round_rate() 409 quotient++; in alpha_pll_round_rate() 411 *a = quotient; in alpha_pll_round_rate() 598 u64 quotient; in alpha_huayra_pll_round_rate() local 600 quotient = rate; in alpha_huayra_pll_round_rate() [all …]
|
/Linux-v4.19/arch/powerpc/boot/ |
D | div64.S | 27 mullw r0,r7,r4 # quotient.hi = dividend.hi / divisor 44 2: mullw r10,r11,r4 # to get an estimate of the quotient, 48 subfe. r5,r9,r5 # quotient 56 4: stw r7,0(r3) # return the quotient in *r3
|
/Linux-v4.19/drivers/media/tuners/ |
D | max2165.c | 160 static int fixpt_div32(u32 dividend, u32 divisor, u32 *quotient, u32 *fraction) in fixpt_div32() argument 181 *quotient = q; in fixpt_div32() 192 u32 quotient, fraction; in max2165_set_rf() local 197 "ient, &fraction); in max2165_set_rf() 204 max2165_write_reg(priv, REG_NDIV_INT, quotient); in max2165_set_rf()
|
/Linux-v4.19/arch/m68k/math-emu/ |
D | fp_emu.h | 56 #define fp_set_quotient(quotient) ({ \ argument 58 FPDATA->fpsr |= ((quotient) & 0xff) << 16; \
|
/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ptp.c | 72 u32 quotient, reminder; in stmmac_adjust_time() local 83 quotient = div_u64_rem(delta, 1000000000ULL, &reminder); in stmmac_adjust_time() 84 sec = quotient; in stmmac_adjust_time()
|
/Linux-v4.19/arch/sparc/kernel/ |
D | time_64.c | 819 unsigned long freq, quotient, tick; in init_tick_ops() local 822 quotient = clocksource_hz2mult(freq, SPARC64_NSEC_PER_CYC_SHIFT); in init_tick_ops() 825 ops->offset = (tick * quotient) >> SPARC64_NSEC_PER_CYC_SHIFT; in init_tick_ops() 826 ops->ticks_per_nsec_quotient = quotient; in init_tick_ops() 881 unsigned long quotient = tick_operations.ticks_per_nsec_quotient; in sched_clock() local 891 return ((get_tick() * quotient) >> SPARC64_NSEC_PER_CYC_SHIFT) - offset; in sched_clock()
|
/Linux-v4.19/drivers/staging/rtl8723bs/core/ |
D | rtw_eeprom.c | 321 u8 quotient, remainder, addr_2align_odd; in eeprom_read() local 334 quotient = sz >> 1; in eeprom_read() 337 for (i = 0; i < quotient; i++) { in eeprom_read()
|
/Linux-v4.19/drivers/media/pci/cx25821/ |
D | cx25821-medusa-video.c | 525 int quotient; in mapM() local 538 quotient = numerator / denominator; in mapM() 541 quotient++; in mapM() 543 *dstVal = quotient + dstMin; in mapM()
|
/Linux-v4.19/arch/c6x/lib/ |
D | divremu.S | 27 ;; At the end, we have both the remainder and most of the quotient 28 ;; in A4. The top bit of the quotient is computed first and is
|
D | divu.S | 44 ;; At the end, we have both the remainder and most of the quotient 45 ;; in A4. The top bit of the quotient is computed first and is
|
/Linux-v4.19/Documentation/devicetree/bindings/iio/afe/ |
D | voltage-divider.txt | 29 is scaled by the Rout / (R + Rout) quotient.
|
/Linux-v4.19/arch/h8300/lib/ |
D | udivsi3.S | 59 divxu.w r2,er0 ; r0 now contains the approximate quotient (AQ)
|
/Linux-v4.19/arch/m68k/fpsp040/ |
D | fpsp.h | 96 .set FPSR_QBYTE,USER_FPSR+1 | FPSR quotient 227 .set q_sn_bit,7 | sign bit of quotient byte
|
/Linux-v4.19/Documentation/ |
D | crc32.txt | 41 When computing a CRC, we don't care about the quotient, so we can 42 throw the quotient bit away, but subtract the appropriate multiple of
|
/Linux-v4.19/arch/arm/nwfpe/ |
D | softfloat-macros | 552 Returns an approximation to the 64-bit integer quotient obtained by dividing 554 divisor `b' must be at least 2^63. If q is the exact quotient truncated 556 If the exact quotient q is larger than 64 bits, the maximum positive 64-bit
|
/Linux-v4.19/drivers/net/wireless/broadcom/b43/ |
D | phy_lp.c | 1074 u32 quotient, remainder; in lpphy_qdiv_roundup() local 1079 quotient = dividend / divisor; in lpphy_qdiv_roundup() 1083 quotient <<= 1; in lpphy_qdiv_roundup() 1085 quotient++; in lpphy_qdiv_roundup() 1092 quotient++; in lpphy_qdiv_roundup() 1094 return quotient; in lpphy_qdiv_roundup()
|
/Linux-v4.19/arch/m68k/ifpsp060/ |
D | ilsp.doc | 108 mov.l (%sp)+,%d0 # load quotient
|