Home
last modified time | relevance | path

Searched refs:quotient (Results 1 – 28 of 28) sorted by relevance

/linux-4.4.14/drivers/acpi/acpica/
Dutmath.c94 union uint64_overlay quotient; in acpi_ut_short_divide() local
113 quotient.part.hi, remainder32); in acpi_ut_short_divide()
115 quotient.part.lo, remainder32); in acpi_ut_short_divide()
120 *out_quotient = quotient.full; in acpi_ut_short_divide()
150 union uint64_overlay quotient; in acpi_ut_divide() local
181 quotient.part.hi, partial1); in acpi_ut_divide()
183 quotient.part.lo, remainder.part.lo); in acpi_ut_divide()
191 quotient.part.hi = 0; in acpi_ut_divide()
210 quotient.part.lo, partial1); in acpi_ut_divide()
216 partial1 = quotient.part.lo * divisor.part.hi; in acpi_ut_divide()
[all …]
Dhwtimer.c149 u64 quotient; in ACPI_EXPORT_SYMBOL() local
195 ACPI_PM_TIMER_FREQUENCY, &quotient, NULL); in ACPI_EXPORT_SYMBOL()
197 *time_elapsed = (u32) quotient; in ACPI_EXPORT_SYMBOL()
Dutnonansi.c166 u64 quotient; in acpi_ut_strtoul64() local
286 base, &quotient, NULL); in acpi_ut_strtoul64()
288 if (return_value > quotient) { in acpi_ut_strtoul64()
/linux-4.4.14/lib/
Ddiv64.c64 u64 quotient; in div_s64_rem() local
67 quotient = div_u64_rem(-dividend, abs(divisor), (u32 *)remainder); in div_s64_rem()
70 quotient = -quotient; in div_s64_rem()
72 quotient = div_u64_rem(dividend, abs(divisor), (u32 *)remainder); in div_s64_rem()
74 quotient = -quotient; in div_s64_rem()
76 return quotient; in div_s64_rem()
/linux-4.4.14/arch/alpha/lib/
Ddivide.S64 #define quotient $27 macro
72 #define quotient $2 macro
106 bis $31,$31,quotient
137 2: DIV_ONLY(addq quotient,mask,tmp2)
141 DIV_ONLY(cmovne compare,tmp2,quotient)
Dev6-divide.S74 #define quotient $27 macro
82 #define quotient $2 macro
117 bis $31,$31,quotient # E :
165 DIV_ONLY(addq quotient,mask,tmp2) # E :
174 DIV_ONLY(cmovne compare,tmp2,quotient) # E : Latency 2, extra map slot
/linux-4.4.14/arch/m68k/ifpsp060/src/
Dilsp.S77 # 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 …]
Dfpsp.S5606 #--integer quotient will be stored in N
10076 #..R = 2^(-j)X - Q Y = Y, thus R = 0 and quotient = 2^j (Q+1)
Dfplsp.S422 set q_sn_bit, 0x7 # sign bit of quotient byte
5931 #--integer quotient will be stored in N
/linux-4.4.14/arch/powerpc/lib/
Ddiv64.S27 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-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ptp.c78 u32 quotient, reminder; in stmmac_adjust_time() local
86 quotient = div_u64_rem(delta, 1000000000ULL, &reminder); in stmmac_adjust_time()
87 sec = quotient; in stmmac_adjust_time()
/linux-4.4.14/arch/powerpc/boot/
Ddiv64.S27 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-4.4.14/arch/m68k/math-emu/
Dfp_emu.h56 #define fp_set_quotient(quotient) ({ \ argument
58 FPDATA->fpsr |= ((quotient) & 0xff) << 16; \
/linux-4.4.14/drivers/media/tuners/
Dmax2165.c164 static int fixpt_div32(u32 dividend, u32 divisor, u32 *quotient, u32 *fraction) in fixpt_div32() argument
185 *quotient = q; in fixpt_div32()
196 u32 quotient, fraction; in max2165_set_rf() local
201 &quotient, &fraction); in max2165_set_rf()
208 max2165_write_reg(priv, REG_NDIV_INT, quotient); in max2165_set_rf()
/linux-4.4.14/drivers/media/pci/cx25821/
Dcx25821-medusa-video.c529 int quotient; in mapM() local
542 quotient = numerator / denominator; in mapM()
545 quotient++; in mapM()
547 *dstVal = quotient + dstMin; in mapM()
/linux-4.4.14/arch/c6x/lib/
Ddivremu.S27 ;; 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
Ddivu.S44 ;; 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-4.4.14/arch/h8300/lib/
Dudivsi3.S58 divxu.w r2,er0 ; r0 now contains the approximate quotient (AQ)
/linux-4.4.14/arch/m68k/fpsp040/
Dfpsp.h96 .set FPSR_QBYTE,USER_FPSR+1 | FPSR quotient
227 .set q_sn_bit,7 | sign bit of quotient byte
Dstan.S341 |--integer quotient will be stored in N
Dsrem_mod.S391 |..R = 2^(-j)X - Q Y = Y, thus R = 0 and quotient = 2^j (Q+1)
Ddo_func.S274 clrb FPSR_QBYTE(%a6) | clear quotient field
/linux-4.4.14/Documentation/
Dcrc32.txt38 When computing a CRC, we don't care about the quotient, so we can
39 throw the quotient bit away, but subtract the appropriate multiple of
/linux-4.4.14/arch/arm/nwfpe/
Dsoftfloat-macros552 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-4.4.14/arch/m68k/ifpsp060/
Dilsp.doc108 mov.l (%sp)+,%d0 # load quotient
/linux-4.4.14/drivers/net/wireless/b43/
Dphy_lp.c1074 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-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphy_lcn.c1018 u32 quotient, remainder, roundup, rbit; in wlc_lcnphy_qdiv_roundup() local
1020 quotient = dividend / divisor; in wlc_lcnphy_qdiv_roundup()
1026 quotient <<= 1; in wlc_lcnphy_qdiv_roundup()
1028 quotient++; in wlc_lcnphy_qdiv_roundup()
1036 quotient++; in wlc_lcnphy_qdiv_roundup()
1038 return quotient; in wlc_lcnphy_qdiv_roundup()
/linux-4.4.14/arch/x86/kvm/
Dx86.c1195 uint32_t quotient, remainder; in div_frac() local
1200 : "=a" (quotient), "=d" (remainder) in div_frac()
1202 return quotient; in div_frac()