Home
last modified time | relevance | path

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

12

/linux-2.6.39/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.c143 u64 quotient; in ACPI_EXPORT_SYMBOL() local
182 PM_TIMER_FREQUENCY, &quotient, NULL); in ACPI_EXPORT_SYMBOL()
184 *time_elapsed = (u32) quotient; in ACPI_EXPORT_SYMBOL()
Dutmisc.c726 u64 quotient; in acpi_ut_strtoul64() local
842 base, &quotient, NULL); in acpi_ut_strtoul64()
844 if (return_value > quotient) { in acpi_ut_strtoul64()
/linux-2.6.39/lib/
Ddiv64.c63 u64 quotient; in div_s64_rem() local
66 quotient = div_u64_rem(-dividend, abs(divisor), (u32 *)remainder); in div_s64_rem()
69 quotient = -quotient; in div_s64_rem()
71 quotient = div_u64_rem(dividend, abs(divisor), (u32 *)remainder); in div_s64_rem()
73 quotient = -quotient; in div_s64_rem()
75 return quotient; in div_s64_rem()
/linux-2.6.39/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-2.6.39/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 …]
/linux-2.6.39/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-2.6.39/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-2.6.39/arch/m68k/math-emu/
Dfp_emu.h56 #define fp_set_quotient(quotient) ({ \ argument
58 FPDATA->fpsr |= ((quotient) & 0xff) << 16; \
/linux-2.6.39/drivers/media/common/tuners/
Dtda18218.c32 u8 buf[1+len], quotient, remainder, i, msg_len, msg_len_max; in tda18218_wr_regs() local
42 quotient = len / msg_len_max; in tda18218_wr_regs()
45 for (i = 0; (i <= quotient && remainder); i++) { in tda18218_wr_regs()
46 if (i == quotient) /* set len of the last msg */ in tda18218_wr_regs()
Dmax2165.c164 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
200 &quotient, &fraction); in max2165_set_rf()
205 max2165_write_reg(priv, REG_NDIV_INT, quotient); in max2165_set_rf()
/linux-2.6.39/drivers/staging/easycap/
Deasycap_sound_oss.c607 above = sdr.quotient; in easyoss_read()
612 sdr.quotient, above, peasycap->audio_sample); in easyoss_read()
615 JOM(8, "audio dynamic range is roughly %lli\n", sdr.quotient); in easyoss_read()
627 sdr.quotient = 192000; in easyoss_read()
638 sdr.quotient = 192000; in easyoss_read()
640 JOM(8, "audio streaming at %lli bytes/second\n", sdr.quotient); in easyoss_read()
641 peasycap->dnbydt = sdr.quotient; in easyoss_read()
Deasycap.h562 long long int quotient; member
/linux-2.6.39/arch/s390/lib/
Dqrnnd.S8 # the quotient q is to be returned
25 ahi %r1,1 # trick part 2: add 1 to the quotient
/linux-2.6.39/drivers/staging/cx25821/
Dcx25821-medusa-video.c614 int quotient; in mapM() local
627 quotient = numerator / denominator; in mapM()
630 quotient++; in mapM()
632 *dstVal = quotient + dstMin; in mapM()
/linux-2.6.39/arch/m68k/fpsp040/
Dfpsp.h96 .set FPSR_QBYTE,USER_FPSR+1 | FPSR quotient
227 .set q_sn_bit,7 | sign bit of quotient byte
/linux-2.6.39/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-2.6.39/drivers/staging/brcm80211/brcmsmac/phy/
Dwlc_phy_cmn.c3392 u32 quotient, remainder, roundup, rbit; in wlc_phy_qdiv_roundup() local
3396 quotient = dividend / divisor; in wlc_phy_qdiv_roundup()
3402 quotient <<= 1; in wlc_phy_qdiv_roundup()
3404 quotient++; in wlc_phy_qdiv_roundup()
3412 quotient++; in wlc_phy_qdiv_roundup()
3414 return quotient; in wlc_phy_qdiv_roundup()
/linux-2.6.39/arch/sparc/lib/
Dudiv.S50 ! Ready to divide. Compute size of quotient; scale comparand.
Durem.S48 ! Ready to divide. Compute size of quotient; scale comparand.
Drem.S64 ! Ready to divide. Compute size of quotient; scale comparand.
Dsdiv.S64 ! Ready to divide. Compute size of quotient; scale comparand.
/linux-2.6.39/arch/m68k/ifpsp060/
Dilsp.doc108 mov.l (%sp)+,%d0 # load quotient
/linux-2.6.39/drivers/net/wireless/b43/
Dphy_lp.c1080 u32 quotient, remainder; in lpphy_qdiv_roundup() local
1085 quotient = dividend / divisor; in lpphy_qdiv_roundup()
1089 quotient <<= 1; in lpphy_qdiv_roundup()
1091 quotient++; in lpphy_qdiv_roundup()
1098 quotient++; in lpphy_qdiv_roundup()
1100 return quotient; in lpphy_qdiv_roundup()

12