/drivers/acpi/acpica/ |
H A D | utmath.c | 79 * out_remainder - Pointer to where the remainder is returned 85 * 32-bit remainder. 109 * The quotient is 64 bits, the remainder is always 32 bits, 136 * out_remainder - Pointer to where the remainder is returned 151 union uint64_overlay remainder; local 174 remainder.part.hi = 0; 177 * The quotient is 64 bits, the remainder is always 32 bits, 183 quotient.part.lo, remainder.part.lo); 214 * The 64-bit remainder must be generated. 220 remainder [all...] |
H A D | exutils.c | 425 u32 remainder; local 433 (void)acpi_ut_short_divide(value, 10, &value, &remainder); 434 out_string[count - 1] = (char)('0' + remainder);
|
H A D | exconvrt.c | 295 u32 remainder; local 321 remainder = 0; 330 &remainder); 335 if (remainder != 0) { 340 string[k] = (u8) (ACPI_ASCII_ZERO + remainder);
|
H A D | exregion.c | 83 u32 remainder; local 118 (void)acpi_ut_short_divide((u64) address, length, NULL, &remainder); 119 if (remainder != 0) {
|
/drivers/mmc/core/ |
H A D | sdio_io.c | 265 * pad the remainder properly. 282 * Fix up the size of the remainder (if any) 307 unsigned remainder = size; local 320 while (remainder >= func->cur_blksize) { 323 blocks = remainder / func->cur_blksize; 334 remainder -= size; 341 /* Write the remainder using byte mode. */ 342 while (remainder > 0) { 343 size = min(remainder, sdio_max_byte_size(func)); 351 remainder [all...] |
/drivers/video/ |
H A D | asiliantfb.c | 119 unsigned remainder; local 124 remainder = 1000000 % pixclock; 125 Ftarget = 1000000 * ratio + (1000000 * remainder) / pixclock; 133 remainder = Ftarget % Fref; 138 unsigned m = n * ratio + (n * remainder) / Fref; 228 unsigned long Ftarget, ratio, remainder; local 231 remainder = 1000000 % var->pixclock; 232 Ftarget = 1000000 * ratio + (1000000 * remainder) / var->pixclock;
|
/drivers/media/common/tuners/ |
H A D | tda18218.c | 32 u8 buf[1+len], quotient, remainder, i, msg_len, msg_len_max; local 43 remainder = len % msg_len_max; 45 for (i = 0; (i <= quotient && remainder); i++) { 47 msg_len = remainder;
|
H A D | max2165.c | 166 u32 remainder; local 174 remainder = dividend - q * divisor; 177 remainder <<= 1; 178 if (remainder >= divisor) { 180 remainder -= divisor;
|
/drivers/net/usb/ |
H A D | kalmia.c | 174 u8 remainder, padlen = 0; local 219 remainder = skb->len % KALMIA_ALIGN_SIZE; 220 if (remainder > 0) { 221 padlen = KALMIA_ALIGN_SIZE - remainder;
|
/drivers/ptp/ |
H A D | ptp_ixp46x.c | 181 u32 remainder; local 192 ts->tv_sec = div_u64_rem(ns, 1000000000, &remainder); 193 ts->tv_nsec = remainder;
|
H A D | ptp_clock.c | 61 u32 remainder; local 63 seconds = div_u64_rem(src->timestamp, 1000000000, &remainder); 70 dst->t.nsec = remainder;
|
/drivers/scsi/megaraid/ |
H A D | megaraid_sas_fp.c | 71 u32 remainder; local 76 remainder = do_div(d, divisor); 77 return remainder; 88 u32 remainder; local 95 remainder = do_div(d, divisor);
|
/drivers/dma/ |
H A D | amba-pl08x.c | 491 size_t remainder; member in struct:pl08x_lli_build_data 547 BUG_ON(bd->remainder < len); 549 bd->remainder -= len; 604 bd.remainder = dsg->len; 615 bd.remainder); 641 if (!bd.remainder) { 671 if (bd.remainder < mbus->buswidth) 672 early_bytes = bd.remainder; 676 if ((bd.remainder - early_bytes) < mbus->buswidth) 677 early_bytes = bd.remainder; [all...] |
/drivers/ata/ |
H A D | pata_at91.c | 74 int remainder; local 78 remainder = range->min - *value; 80 return remainder;
|
/drivers/media/dvb/dvb-usb/ |
H A D | ec168.c | 247 int i, len, packets, remainder, ret; local 254 remainder = fw->size % FW_PACKET_MAX_DATA; 258 len = remainder;
|
/drivers/video/aty/ |
H A D | mach64_gx.c | 504 u16 remainder, preRemainder; local 537 remainder = tempB % mach64RefFreq; 541 && (remainder <= preRemainder)) { 542 preRemainder = remainder; 744 u16 remainder, preRemainder; local 776 remainder = tempB % mach64RefFreq; 779 && (remainder <= preRemainder)) { 780 preRemainder = remainder;
|
/drivers/video/msm/ |
H A D | mdp.c | 323 unsigned int remainder = req->dst_rect.h % 16; local 339 if (!remainder) 341 req->src_rect.w = remainder*req->src_rect.w / req->dst_rect.h; 342 req->dst_rect.h = remainder;
|
/drivers/net/ethernet/freescale/ |
H A D | gianfar_ptp.c | 327 u32 remainder; local 337 ts->tv_sec = div_u64_rem(ns, 1000000000, &remainder); 338 ts->tv_nsec = remainder;
|
/drivers/staging/wlags49_h2/ |
H A D | wl_util.c | 780 int remainder; local 791 /* Determine how many rows will be needed, and the remainder */ 793 remainder = length % rowsize; 807 /* Format the remainder */ 808 for( count = 0; count < remainder; count++ ) {
|
/drivers/usb/serial/ |
H A D | ssu100.c | 236 u16 baud, divisor, remainder; local 274 remainder = MAX_BAUD_RATE % baud; 275 if (((remainder * 2) >= baud) && (baud != 110))
|
/drivers/usb/host/ |
H A D | xhci-ring.c | 2662 static u32 xhci_td_remainder(unsigned int remainder) argument 2666 if ((remainder >> 10) >= max) 2669 return (remainder >> 10) << 17; 2772 u32 remainder = 0; local 2807 remainder = xhci_td_remainder( 2811 remainder = xhci_v1_0_td_remainder(running_total, 2815 remainder | 2933 u32 remainder = 0; local 2961 remainder = xhci_td_remainder( 2965 remainder 3252 u32 remainder = 0; local [all...] |
/drivers/media/dvb/ttusb-dec/ |
H A D | ttusb_dec.c | 688 int remainder = dec->packet_payload_length - local 691 if (length >= remainder) { 693 b, remainder); 694 dec->packet_length += remainder; 695 b += remainder; 696 length -= remainder;
|
/drivers/char/ |
H A D | hpet.c | 849 u32 remainder; local 914 remainder = do_div(temp, 1000000); 919 (unsigned) temp, remainder);
|
/drivers/net/ethernet/smsc/ |
H A D | smc9194.c | 1061 int remainder; 1066 remainder = length % 16; 1080 for ( i = 0; i < remainder/2 ; i++ ) {
|
/drivers/net/wireless/bcmdhd/ |
H A D | dhd_cdc.c | 1978 uint16 remainder = tlv_hdr_len; local 1983 if (remainder) { 1984 while ((processed < (WLFC_MAX_PENDING_DATALEN * 2)) && (remainder > 0)) { 1987 remainder -= 1; 1995 if (remainder < (2 + len)) 1998 remainder -= 2 + len; 2031 if (remainder != 0) {
|