Home
last modified time | relevance | path

Searched refs:remainder (Results 1 – 25 of 39) sorted by relevance

12

/linux-2.4.37.9/drivers/acpi/utilities/
Dutmath.c145 union uint64_overlay remainder; in acpi_ut_divide() local
170 remainder.part.hi = 0; in acpi_ut_divide()
179 quotient.part.lo, remainder.part.lo); in acpi_ut_divide()
216 remainder.part.hi = partial3.part.lo; in acpi_ut_divide()
217 remainder.part.lo = partial2.part.lo; in acpi_ut_divide()
224 remainder.full -= divisor.full; in acpi_ut_divide()
229 remainder.full -= divisor.full; in acpi_ut_divide()
233 remainder.full = remainder.full - dividend.full; in acpi_ut_divide()
234 remainder.part.hi = (u32) -((s32) remainder.part.hi); in acpi_ut_divide()
235 remainder.part.lo = (u32) -((s32) remainder.part.lo); in acpi_ut_divide()
[all …]
/linux-2.4.37.9/arch/sparc/lib/
Dudiv.S168 ! remainder is positive
173 ! remainder is positive
178 ! remainder is positive
183 ! remainder is positive
189 ! remainder is negative
195 ! remainder is negative
200 ! remainder is positive
206 ! remainder is negative
212 ! remainder is negative
217 ! remainder is positive
[all …]
Durem.S166 ! remainder is positive
171 ! remainder is positive
176 ! remainder is positive
181 ! remainder is positive
187 ! remainder is negative
193 ! remainder is negative
198 ! remainder is positive
204 ! remainder is negative
210 ! remainder is negative
215 ! remainder is positive
[all …]
Drem.S183 ! remainder is positive
188 ! remainder is positive
193 ! remainder is positive
198 ! remainder is positive
205 ! remainder is negative
211 ! remainder is negative
216 ! remainder is positive
222 ! remainder is negative
228 ! remainder is negative
233 ! remainder is positive
[all …]
Dsdiv.S183 ! remainder is positive
188 ! remainder is positive
193 ! remainder is positive
198 ! remainder is positive
204 ! remainder is negative
210 ! remainder is negative
215 ! remainder is positive
221 ! remainder is negative
227 ! remainder is negative
232 ! remainder is positive
[all …]
/linux-2.4.37.9/arch/ppc64/kernel/
Dnvram.c181 unsigned long remainder; in __read_nvram() local
188 remainder = count; in __read_nvram()
190 remainder = count % NVRW_CNT; in __read_nvram()
193 if (remainder) { in __read_nvram()
195 remainder) != 0) || len != remainder) { in __read_nvram()
199 count -= remainder; in __read_nvram()
200 memcpy(p, nvram_buf, remainder); in __read_nvram()
201 p += remainder; in __read_nvram()
204 for (i = *index + remainder; count > 0 && i < rtas_nvram_size; in __read_nvram()
237 unsigned long remainder; in __write_nvram() local
[all …]
/linux-2.4.37.9/drivers/i2c/
Di2c-algo-ite.c337 int loops, remainder, i, j; in iic_sendbytes() local
349 remainder = count % 32; in iic_sendbytes()
381 if(remainder) { in iic_sendbytes()
382 iic_outw(adap, ITE_I2CFBCR, remainder); in iic_sendbytes()
383 for(i=0; i<remainder/2; i++) { in iic_sendbytes()
420 int loops, remainder, j; in iic_readbytes() local
427 remainder = count % 32; in iic_readbytes()
471 if(remainder) { in iic_readbytes()
472 remainder=(remainder+1)/2 * 2; in iic_readbytes()
473 iic_outw(adap, ITE_I2CFBCR, remainder); in iic_readbytes()
[all …]
/linux-2.4.37.9/fs/udf/
Ddirectory.c30 int remainder; in udf_filead_read() local
57 remainder = dir->i_sb->s_blocksize - loffset; in udf_filead_read()
58 memcpy((uint8_t *)ad, (*bh)->b_data + loffset, remainder); in udf_filead_read()
67 memcpy((uint8_t *)ad + remainder, (*bh)->b_data, ad_size - remainder); in udf_filead_read()
68 *offset = ad_size - remainder; in udf_filead_read()
/linux-2.4.37.9/drivers/acpi/executer/
Dexutils.c363 u32 remainder; in acpi_ex_unsigned_integer_to_string() local
374 (void) acpi_ut_short_divide (&value, 10, &quotient, &remainder); in acpi_ex_unsigned_integer_to_string()
375 out_string[count-1] = (char) ('0' + remainder);\ in acpi_ex_unsigned_integer_to_string()
Dexconvrt.c317 u32 remainder; in acpi_ex_convert_to_ascii() local
337 remainder = 0; in acpi_ex_convert_to_ascii()
343 (void) acpi_ut_short_divide (&digit, 10, &digit, &remainder); in acpi_ex_convert_to_ascii()
348 if (remainder != 0) { in acpi_ex_convert_to_ascii()
353 string[k] = (u8) (ACPI_ASCII_ZERO + remainder); in acpi_ex_convert_to_ascii()
Dexregion.c87 u32 remainder; in acpi_ex_system_memory_space_handler() local
124 (void) acpi_ut_short_divide ((acpi_integer *) &address, length, NULL, &remainder); in acpi_ex_system_memory_space_handler()
125 if (remainder != 0) { in acpi_ex_system_memory_space_handler()
/linux-2.4.37.9/drivers/video/aty/
Dmach64_gx.c491 u16 remainder, preRemainder; in aty_var_to_pll_1703() local
524 remainder = tempB % mach64RefFreq; in aty_var_to_pll_1703()
527 if ((tempB & 0xffff) <= 127 && (remainder <= preRemainder)) { in aty_var_to_pll_1703()
528 preRemainder = remainder; in aty_var_to_pll_1703()
733 u16 remainder, preRemainder; in aty_var_to_pll_408() local
765 remainder = tempB % mach64RefFreq; in aty_var_to_pll_408()
767 if (((tempB & 0xFFFF) <= 255) && (remainder <= preRemainder)) { in aty_var_to_pll_408()
768 preRemainder = remainder; in aty_var_to_pll_408()
/linux-2.4.37.9/fs/adfs/
Ddir_fplus.c104 unsigned int buffer, partial, remainder; in dir_memcpy() local
116 remainder = len - partial; in dir_memcpy()
119 memcpy(c + partial, dir->bh[buffer + 1]->b_data, remainder); in dir_memcpy()
/linux-2.4.37.9/arch/ppc/boot/lib/
Ddiv64.S52 mullw r10,r0,r4 # and get the remainder
57 mr r3,r6 # return the remainder in r3
/linux-2.4.37.9/arch/ppc/lib/
Ddiv64.S52 mullw r10,r0,r4 # and get the remainder
57 mr r3,r6 # return the remainder in r3
/linux-2.4.37.9/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. #
199 tst.b NDIVIDEND(%a6) # remainder has same sign
278 # The quotient is returned in %d6, remainder in %d5, unless the #
295 # longword of the dividend as (0) remainder (see Knuth) and merely complete
296 # the last two divisions to get a quotient longword and word remainder:
314 swap %d5 # now remainder
355 andi.l &0x0000ffff, %d1 # zero any remainder
429 # add 2nd word to quotient, get the remainder.
[all …]
/linux-2.4.37.9/drivers/scsi/
Dscsi_merge.c189 int * remainder) in __count_segments() argument
196 if( remainder != NULL ) { in __count_segments()
197 reqsize = *remainder; in __count_segments()
260 if( remainder != NULL ) { in __count_segments()
261 *remainder = reqsize; in __count_segments()
/linux-2.4.37.9/scripts/
Dcheckpatch.pl420 my $remainder;
446 $remainder = substr($blk, $off);
451 if ($remainder =~ /^#\s*(?:ifndef|ifdef|if)\s/) {
453 } elsif ($remainder =~ /^#\s*(?:else|elif)\b/) {
455 } elsif ($remainder =~ /^#\s*endif\b/) {
468 $remainder =~ /^(else)(?:\s|{)/ &&
469 $remainder !~ /^else\s+if\b/) {
/linux-2.4.37.9/drivers/sound/
Dite8172.c1093 int cnt, remainder, avail; in it8172_read() local
1157 remainder = db->count % db->fragsize; in it8172_read()
1158 if (remainder) { in it8172_read()
1159 db->nextOut += remainder; in it8172_read()
1162 db->count -= remainder; in it8172_read()
1176 int cnt, remainder, avail; in it8172_write() local
1241 remainder = db->count % db->fragsize; in it8172_write()
1242 if (remainder) { in it8172_write()
1243 int fill_cnt = db->fragsize - remainder; in it8172_write()
/linux-2.4.37.9/Documentation/networking/
DConfigurable31 The remainder of these can only be presently changed by altering a #define
/linux-2.4.37.9/drivers/net/
Dsmc9194.c1030 int remainder; in print_packet()
1035 remainder = length % 16; in print_packet()
1049 for ( i = 0; i < remainder/2 ; i++ ) { in print_packet()
/linux-2.4.37.9/arch/m68k/fpsp040/
Dstan.S318 |--case, reduce argument by one remainder step to make subsequent reduction
343 |--Intermediate remainder is 66-bit long; (R,r) in (FP0,FP1)
/linux-2.4.37.9/arch/ia64/sn/io/hwgdfs/
Dhcl.c768 char **remainder) in hwgraph_path_lookup() argument
/linux-2.4.37.9/arch/ia64/sn/io/hwgfs/
Dhcl.c754 char **remainder) in hwgraph_path_lookup() argument
/linux-2.4.37.9/arch/sh/mm/
Dclear_page.S69 bt .Larea2 ! skip to remainder

12