/linux-4.1.27/include/linux/ |
D | math64.h | 18 static inline u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) in div_u64_rem() argument 20 *remainder = dividend % divisor; in div_u64_rem() 27 static inline s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder) in div_s64_rem() argument 29 *remainder = dividend % divisor; in div_s64_rem() 36 static inline u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder) in div64_u64_rem() argument 38 *remainder = dividend % divisor; in div64_u64_rem() 64 static inline u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) in div_u64_rem() argument 66 *remainder = do_div(dividend, divisor); in div_u64_rem() 72 extern s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder); 76 extern u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder); [all …]
|
/linux-4.1.27/drivers/acpi/acpica/ |
D | utmath.c | 151 union uint64_overlay remainder; in acpi_ut_divide() local 174 remainder.part.hi = 0; in acpi_ut_divide() 183 quotient.part.lo, remainder.part.lo); in acpi_ut_divide() 220 remainder.part.hi = partial3.part.lo; in acpi_ut_divide() 221 remainder.part.lo = partial2.part.lo; in acpi_ut_divide() 228 remainder.full -= divisor.full; in acpi_ut_divide() 232 remainder.full -= divisor.full; in acpi_ut_divide() 236 remainder.full = remainder.full - dividend.full; in acpi_ut_divide() 237 remainder.part.hi = (u32) - ((s32) remainder.part.hi); in acpi_ut_divide() 238 remainder.part.lo = (u32) - ((s32) remainder.part.lo); in acpi_ut_divide() [all …]
|
D | exutils.c | 368 u32 remainder; in acpi_ex_integer_to_string() local 376 (void)acpi_ut_short_divide(value, 10, &value, &remainder); in acpi_ex_integer_to_string() 377 out_string[count - 1] = (char)('0' + remainder); in acpi_ex_integer_to_string()
|
D | exconvrt.c | 295 u32 remainder; in acpi_ex_convert_to_ascii() local 324 remainder = 0; in acpi_ex_convert_to_ascii() 333 &remainder); in acpi_ex_convert_to_ascii() 338 if (remainder != 0) { in acpi_ex_convert_to_ascii() 343 string[k] = (u8) (ACPI_ASCII_ZERO + remainder); in acpi_ex_convert_to_ascii()
|
D | exregion.c | 82 u32 remainder; in acpi_ex_system_memory_space_handler() local 122 (void)acpi_ut_short_divide((u64) address, length, NULL, &remainder); in acpi_ex_system_memory_space_handler() 123 if (remainder != 0) { in acpi_ex_system_memory_space_handler()
|
/linux-4.1.27/lib/ |
D | div64.c | 62 s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder) in div_s64_rem() argument 67 quotient = div_u64_rem(-dividend, abs(divisor), (u32 *)remainder); in div_s64_rem() 68 *remainder = -*remainder; in div_s64_rem() 72 quotient = div_u64_rem(dividend, abs(divisor), (u32 *)remainder); in div_s64_rem() 93 u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder) in div64_u64_rem() argument 101 *remainder = rem32; in div64_u64_rem() 109 *remainder = dividend - quot * divisor; in div64_u64_rem() 110 if (*remainder >= divisor) { in div64_u64_rem() 112 *remainder -= divisor; in div64_u64_rem() 179 u32 iter_div_u64_rem(u64 dividend, u32 divisor, u64 *remainder) in iter_div_u64_rem() argument [all …]
|
D | string_helpers.c | 48 u32 remainder = 0, sf_cap; in string_get_size() local 86 remainder = do_div(size, divisor[units]); in string_get_size() 100 remainder *= 1000; in string_get_size() 101 remainder >>= 10; in string_get_size() 106 remainder += rounding[j]; in string_get_size() 107 if (remainder >= 1000) { in string_get_size() 108 remainder -= 1000; in string_get_size() 113 snprintf(tmp, sizeof(tmp), ".%03u", remainder); in string_get_size()
|
/linux-4.1.27/Documentation/ |
D | crc32.txt | 3 A CRC is a long-division remainder. You add the CRC to the message, 7 remainder computed on the message+CRC is 0. This latter approach 17 Like all division, the remainder is always smaller than the divisor. 33 and append it to the current remainder. Then you figure out the 34 appropriate multiple of the divisor to subtract to being the remainder 36 and to make the XOR cancel, it's just a copy of bit 32 of the remainder. 40 the polynomial from the remainder and we're back to where we started, 45 multiple = remainder & 0x80000000 ? CRCPOLY : 0; 46 remainder = (remainder << 1 | next_input_bit()) ^ multiple; 49 Notice how, to get at bit 32 of the shifted remainder, we look [all …]
|
D | pwm.txt | 104 goes low for the remainder of the period. Conversely, a signal with inversed 106 remainder of the period.
|
D | clk.txt | 27 the remainder of this document any reference to a callback in struct
|
/linux-4.1.27/arch/metag/lib/ |
D | modsi3.S | 17 MOV D0Re0,D1Ar1 ! Return remainder 33 MOV D0Re0,D1Ar1 ! Return remainder 35 NEG D1Ar1,D1Ar1 ! Negate remainder 36 MOVMI D0Re0,D1Ar1 ! Return neg remainder
|
D | divsi3.S | 64 !! D1Ar1 is the input Au value, eventually this holds the remainder 69 BCS $LIDMCRet ! Yes: Return 0 remainder Au
|
/linux-4.1.27/drivers/mmc/core/ |
D | sdio_io.c | 306 unsigned remainder = size; in sdio_io_rw_ext_helper() local 316 while (remainder >= func->cur_blksize) { in sdio_io_rw_ext_helper() 319 blocks = remainder / func->cur_blksize; in sdio_io_rw_ext_helper() 330 remainder -= size; in sdio_io_rw_ext_helper() 338 while (remainder > 0) { in sdio_io_rw_ext_helper() 339 size = min(remainder, sdio_max_byte_size(func)); in sdio_io_rw_ext_helper() 347 remainder -= size; in sdio_io_rw_ext_helper()
|
/linux-4.1.27/drivers/clk/rockchip/ |
D | clk-mmc-phase.c | 79 u8 nineties, remainder; in rockchip_mmc_set_phase() local 91 remainder = (degrees % 90) / 22; in rockchip_mmc_set_phase() 99 delay *= remainder; in rockchip_mmc_set_phase()
|
/linux-4.1.27/drivers/video/fbdev/ |
D | asiliantfb.c | 119 unsigned remainder; in asiliant_calc_dclk2() local 124 remainder = 1000000 % pixclock; in asiliant_calc_dclk2() 125 Ftarget = 1000000 * ratio + (1000000 * remainder) / pixclock; in asiliant_calc_dclk2() 133 remainder = Ftarget % Fref; in asiliant_calc_dclk2() 138 unsigned m = n * ratio + (n * remainder) / Fref; in asiliant_calc_dclk2() 228 unsigned long Ftarget, ratio, remainder; in asiliantfb_check_var() local 231 remainder = 1000000 % var->pixclock; in asiliantfb_check_var() 232 Ftarget = 1000000 * ratio + (1000000 * remainder) / var->pixclock; in asiliantfb_check_var()
|
/linux-4.1.27/arch/x86/include/asm/ |
D | div64.h | 42 static inline u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) in div_u64_rem() argument 56 asm ("divl %2" : "=a" (d.v32[0]), "=d" (*remainder) : in div_u64_rem()
|
/linux-4.1.27/drivers/net/usb/ |
D | kalmia.c | 172 u8 remainder, padlen = 0; in kalmia_tx_fixup() local 217 remainder = skb->len % KALMIA_ALIGN_SIZE; in kalmia_tx_fixup() 218 if (remainder > 0) { in kalmia_tx_fixup() 219 padlen = KALMIA_ALIGN_SIZE - remainder; in kalmia_tx_fixup()
|
D | cdc_ncm.c | 1001 static void cdc_ncm_align_tail(struct sk_buff *skb, size_t modulus, size_t remainder, size_t max) in cdc_ncm_align_tail() argument 1003 size_t align = ALIGN(skb->len, modulus) - skb->len + remainder; in cdc_ncm_align_tail()
|
/linux-4.1.27/drivers/media/tuners/ |
D | max2165.c | 166 u32 remainder; in fixpt_div32() local 174 remainder = dividend - q * divisor; in fixpt_div32() 177 remainder <<= 1; in fixpt_div32() 178 if (remainder >= divisor) { in fixpt_div32() 180 remainder -= divisor; in fixpt_div32()
|
/linux-4.1.27/drivers/watchdog/ |
D | kempld_wdt.c | 146 u32 remainder; in kempld_wdt_set_stage_timeout() local 153 remainder = do_div(stage_timeout64, prescaler); in kempld_wdt_set_stage_timeout() 154 if (remainder) in kempld_wdt_set_stage_timeout() 184 u32 remainder; in kempld_wdt_get_timeout() local 195 remainder = do_div(stage_timeout, pld->pld_clock); in kempld_wdt_get_timeout() 196 if (remainder) in kempld_wdt_get_timeout()
|
/linux-4.1.27/drivers/video/fbdev/aty/ |
D | mach64_gx.c | 504 u16 remainder, preRemainder; in aty_var_to_pll_1703() local 537 remainder = tempB % mach64RefFreq; in aty_var_to_pll_1703() 541 && (remainder <= preRemainder)) { in aty_var_to_pll_1703() 542 preRemainder = remainder; in aty_var_to_pll_1703() 744 u16 remainder, preRemainder; in aty_var_to_pll_408() local 776 remainder = tempB % mach64RefFreq; in aty_var_to_pll_408() 779 && (remainder <= preRemainder)) { in aty_var_to_pll_408() 780 preRemainder = remainder; in aty_var_to_pll_408()
|
/linux-4.1.27/drivers/clk/at91/ |
D | clk-pll.c | 212 unsigned long remainder; in clk_pll_get_best_div_mul() local 223 remainder = tmprate - rate; in clk_pll_get_best_div_mul() 225 remainder = rate - tmprate; in clk_pll_get_best_div_mul() 232 if (remainder < bestremainder) { in clk_pll_get_best_div_mul() 233 bestremainder = remainder; in clk_pll_get_best_div_mul() 243 if (!remainder) in clk_pll_get_best_div_mul()
|
/linux-4.1.27/drivers/dma/ |
D | amba-pl08x.c | 807 size_t remainder; member 869 BUG_ON(bd->remainder < len); in pl08x_fill_lli_for_desc() 871 bd->remainder -= len; in pl08x_fill_lli_for_desc() 963 bd.remainder = dsg->len; in pl08x_fill_llis_for_desc() 977 bd.remainder); in pl08x_fill_llis_for_desc() 1003 if (!bd.remainder) { in pl08x_fill_llis_for_desc() 1034 if (bd.remainder < mbus->buswidth) in pl08x_fill_llis_for_desc() 1035 early_bytes = bd.remainder; in pl08x_fill_llis_for_desc() 1039 if ((bd.remainder - early_bytes) < mbus->buswidth) in pl08x_fill_llis_for_desc() 1040 early_bytes = bd.remainder; in pl08x_fill_llis_for_desc() [all …]
|
D | qcom_bam_dma.c | 631 unsigned int remainder = sg_dma_len(sg); in bam_prep_slave_sg() local 637 if (remainder > BAM_MAX_DATA_SIZE) { in bam_prep_slave_sg() 639 remainder -= BAM_MAX_DATA_SIZE; in bam_prep_slave_sg() 642 desc->size = remainder; in bam_prep_slave_sg() 643 remainder = 0; in bam_prep_slave_sg() 648 } while (remainder > 0); in bam_prep_slave_sg()
|
D | img-mdc-dma.c | 399 size_t remainder = min(period_len, buf_len); in mdc_prep_dma_cyclic() local 401 while (remainder > 0) { in mdc_prep_dma_cyclic() 418 remainder); in mdc_prep_dma_cyclic() 438 remainder -= xfer_size; in mdc_prep_dma_cyclic()
|
/linux-4.1.27/include/asm-generic/ |
D | cputime_nsecs.h | 29 #define cputime_div_rem(__ct, divisor, remainder) \ argument 30 div_u64_rem((__force u64)__ct, divisor, remainder);
|
/linux-4.1.27/drivers/net/wireless/ath/ |
D | dfs_pri_detector.c | 44 u32 remainder; in pde_get_multiple() local 58 remainder = val % fraction; in pde_get_multiple() 59 if (remainder > tolerance) { in pde_get_multiple() 61 if ((fraction - remainder) <= tolerance) in pde_get_multiple()
|
/linux-4.1.27/arch/powerpc/perf/ |
D | hv-24x7.c | 157 return (char *)ev->remainder; in event_name() 163 __be16 *desc_len = (__be16 *)(ev->remainder + nl - 2); in event_desc() 166 return (char *)ev->remainder + nl; in event_desc() 172 __be16 *desc_len_ = (__be16 *)(ev->remainder + nl - 2); in event_long_desc() 174 __be16 *long_desc_len = (__be16 *)(ev->remainder + nl + desc_len - 2); in event_long_desc() 177 return (char *)ev->remainder + nl + desc_len; in event_long_desc() 185 return (start + offsetof(struct hv_24x7_event_data, remainder)) < end; in event_fixed_portion_is_within() 214 dl_ = (__be16 *)(ev->remainder + nl - 2); in event_end() 229 ldl_ = (__be16 *)(ev->remainder + nl + dl - 2); in event_end()
|
D | hv-24x7-catalog.h | 50 __u8 remainder[]; member
|
/linux-4.1.27/fs/adfs/ |
D | dir_fplus.c | 141 unsigned int buffer, partial, remainder; in dir_memcpy() local 153 remainder = len - partial; in dir_memcpy() 161 remainder); in dir_memcpy()
|
/linux-4.1.27/arch/powerpc/lib/ |
D | div64.S | 53 mullw r10,r0,r4 # and get the remainder 58 mr r3,r6 # return the remainder in r3
|
/linux-4.1.27/drivers/ptp/ |
D | ptp_ixp46x.c | 181 u32 remainder; in ptp_ixp_gettime() local 192 ts->tv_sec = div_u64_rem(ns, 1000000000, &remainder); in ptp_ixp_gettime() 193 ts->tv_nsec = remainder; in ptp_ixp_gettime()
|
D | ptp_clock.c | 59 u32 remainder; in enqueue_external_timestamp() local 61 seconds = div_u64_rem(src->timestamp, 1000000000, &remainder); in enqueue_external_timestamp() 68 dst->t.nsec = remainder; in enqueue_external_timestamp()
|
D | ptp_pch.c | 455 u32 remainder; in ptp_pch_gettime() local 464 ts->tv_sec = div_u64_rem(ns, 1000000000, &remainder); in ptp_pch_gettime() 465 ts->tv_nsec = remainder; in ptp_pch_gettime()
|
/linux-4.1.27/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. # 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 …]
|
D | fpsp.S | 5578 #--case, reduce argument by one remainder step to make subsequent reduction 5607 #--Intermeditate remainder is 66-bit long; (R,r) in (FP0,FP1)
|
D | fplsp.S | 5903 #--case, reduce argument by one remainder step to make subsequent reduction 5932 #--Intermeditate remainder is 66-bit long; (R,r) in (FP0,FP1)
|
/linux-4.1.27/drivers/ata/ |
D | pata_at91.c | 73 int remainder; in adjust_smc_value() local 77 remainder = range->min - *value; in adjust_smc_value() 79 return remainder; in adjust_smc_value()
|
/linux-4.1.27/drivers/video/fbdev/msm/ |
D | mdp.c | 320 unsigned int remainder = req->dst_rect.h % 16; in mdp_blit() local 336 if (!remainder) in mdp_blit() 338 req->src_rect.w = remainder*req->src_rect.w / req->dst_rect.h; in mdp_blit() 339 req->dst_rect.h = remainder; in mdp_blit()
|
/linux-4.1.27/drivers/media/platform/exynos-gsc/ |
D | gsc-core.c | 278 int remainder = 0, walign, halign; in gsc_check_src_scale_info() local 291 remainder = s_frame->crop.width % (*wratio * walign); in gsc_check_src_scale_info() 292 if (remainder) { in gsc_check_src_scale_info() 293 s_frame->crop.width -= remainder; in gsc_check_src_scale_info() 296 s_frame->crop.width + remainder, s_frame->crop.width); in gsc_check_src_scale_info() 299 remainder = s_frame->crop.height % (*hratio * halign); in gsc_check_src_scale_info() 300 if (remainder) { in gsc_check_src_scale_info() 301 s_frame->crop.height -= remainder; in gsc_check_src_scale_info() 304 s_frame->crop.height + remainder, s_frame->crop.height); in gsc_check_src_scale_info()
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_dp_mst_topology.c | 74 u8 remainder = 0; in drm_dp_msg_header_crc4() local 78 remainder <<= 1; in drm_dp_msg_header_crc4() 79 remainder |= (data[array_index] & bitmask) >> bitshift; in drm_dp_msg_header_crc4() 87 if ((remainder & 0x10) == 0x10) in drm_dp_msg_header_crc4() 88 remainder ^= 0x13; in drm_dp_msg_header_crc4() 94 remainder <<= 1; in drm_dp_msg_header_crc4() 95 if ((remainder & 0x10) != 0) in drm_dp_msg_header_crc4() 96 remainder ^= 0x13; in drm_dp_msg_header_crc4() 99 return remainder; in drm_dp_msg_header_crc4() 108 u16 remainder = 0; in drm_dp_msg_data_crc4() local [all …]
|
/linux-4.1.27/arch/powerpc/boot/ |
D | div64.S | 53 mullw r10,r0,r4 # and get the remainder 58 mr r3,r6 # return the remainder in r3
|
/linux-4.1.27/crypto/ |
D | drbg.c | 787 unsigned int remainder = 0; in drbg_add_buf() local 793 remainder += *dstptr + *addptr; in drbg_add_buf() 794 *dstptr = remainder & 0xff; in drbg_add_buf() 795 remainder >>= 8; in drbg_add_buf() 799 while (len && remainder > 0) { in drbg_add_buf() 800 remainder = *dstptr + 1; in drbg_add_buf() 801 *dstptr = remainder & 0xff; in drbg_add_buf() 802 remainder >>= 8; in drbg_add_buf()
|
D | ansi_cprng.c | 223 remainder: in get_prng_bytes() 269 goto remainder; in get_prng_bytes()
|
/linux-4.1.27/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 117 u32 remainder; in fec_ptp_enable_pps() local 166 ts.tv_sec = div_u64_rem(ns, 1000000000ULL, &remainder); in fec_ptp_enable_pps() 167 ts.tv_nsec = remainder; in fec_ptp_enable_pps()
|
/linux-4.1.27/net/sunrpc/ |
D | xprtsock.c | 348 unsigned int remainder; in xs_send_pagedata() local 351 remainder = xdr->page_len - base; in xs_send_pagedata() 359 unsigned int len = min_t(unsigned int, PAGE_SIZE - base, remainder); in xs_send_pagedata() 362 remainder -= len; in xs_send_pagedata() 363 if (remainder != 0 || more) in xs_send_pagedata() 366 if (remainder == 0 || err != len) in xs_send_pagedata() 392 unsigned int remainder = xdr->len - base; in xs_sendpages() local 407 remainder -= len; in xs_sendpages() 408 err = xs_send_kvec(sock, addr, addrlen, &xdr->head[0], base, remainder != 0); in xs_sendpages() 409 if (remainder == 0 || err != len) in xs_sendpages() [all …]
|
/linux-4.1.27/arch/arm/lib/ |
D | div64.S | 117 @ The top part of remainder became zero. If carry is set 141 @ Current remainder is now 1. It is worthless to compare with
|
/linux-4.1.27/drivers/usb/serial/ |
D | ssu100.c | 206 u16 baud, divisor, remainder; in ssu100_set_termios() local 242 remainder = MAX_BAUD_RATE % baud; in ssu100_set_termios() 243 if (((remainder * 2) >= baud) && (baud != 110)) in ssu100_set_termios()
|
/linux-4.1.27/drivers/spi/ |
D | spi-fsl-dspi.c | 188 u32 remainder; in ns_delay_scale() local 191 &remainder); in ns_delay_scale() 192 if (remainder) in ns_delay_scale()
|
/linux-4.1.27/drivers/staging/android/ion/ |
D | ion_heap.c | 83 unsigned long remainder = vma->vm_end - addr; in ion_heap_map_user() local 94 len = min(len, remainder); in ion_heap_map_user()
|
/linux-4.1.27/arch/sh/lib/ |
D | __clear_user.S | 24 bt .Larea2 ! skip to remainder
|
D | movmem.S | 68 ! done all the large groups, do the remainder
|
D | memcpy-sh4.S | 161 ! Calculate the invariants which will be used in the remainder
|
/linux-4.1.27/arch/mn10300/lib/ |
D | memset.S | 47 bls memset_4_remainder # 4-byte aligned remainder
|
D | memcpy.S | 43 bls memcpy_4_remainder # 4-byte aligned remainder
|
D | do_csum.S | 59 bls do_csum_remainder # 4-byte aligned remainder
|
D | memmove.S | 50 bls memmove_4_remainder # 4-byte aligned remainder
|
/linux-4.1.27/drivers/media/usb/ttusb-dec/ |
D | ttusb_dec.c | 688 int remainder = dec->packet_payload_length - in ttusb_dec_process_urb_frame() local 691 if (length >= remainder) { in ttusb_dec_process_urb_frame() 693 b, remainder); in ttusb_dec_process_urb_frame() 694 dec->packet_length += remainder; in ttusb_dec_process_urb_frame() 695 b += remainder; in ttusb_dec_process_urb_frame() 696 length -= remainder; in ttusb_dec_process_urb_frame()
|
/linux-4.1.27/drivers/usb/host/ |
D | xhci-ring.c | 3129 u32 remainder = 0; in queue_bulk_sg_tx() local 3166 remainder = xhci_td_remainder(xhci, running_total, trb_buff_len, in queue_bulk_sg_tx() 3171 TRB_TD_SIZE(remainder) | in queue_bulk_sg_tx() 3304 u32 remainder = 0; in xhci_queue_bulk_tx() local 3334 remainder = xhci_td_remainder(xhci, running_total, trb_buff_len, in xhci_queue_bulk_tx() 3339 TRB_TD_SIZE(remainder) | in xhci_queue_bulk_tx() 3377 u32 field, length_field, remainder; in xhci_queue_ctrl_tx() local 3450 remainder = xhci_td_remainder(xhci, 0, in xhci_queue_ctrl_tx() 3456 TRB_TD_SIZE(remainder) | in xhci_queue_ctrl_tx() 3628 u32 remainder = 0; in xhci_queue_isoc_tx() local [all …]
|
/linux-4.1.27/drivers/scsi/megaraid/ |
D | megaraid_sas_fp.c | 89 u32 remainder; in mega_mod64() local 94 remainder = do_div(d, divisor); in mega_mod64() 95 return remainder; in mega_mod64() 106 u32 remainder; in mega_div64_32() local 113 remainder = do_div(d, divisor); in mega_div64_32()
|
/linux-4.1.27/drivers/net/ethernet/smsc/ |
D | smc9194.c | 1035 int remainder; in print_packet() 1040 remainder = length % 16; in print_packet() 1056 for ( i = 0; i < remainder/2 ; i++ ) { in print_packet()
|
D | smc911x.c | 123 int remainder; in PRINT_PKT() local 127 remainder = length % 16; in PRINT_PKT() 141 for (i = 0; i < remainder/2 ; i++) { in PRINT_PKT()
|
D | smc91x.c | 174 int remainder; in PRINT_PKT() local 178 remainder = length % 16; in PRINT_PKT() 192 for (i = 0; i < remainder/2 ; i++) { in PRINT_PKT()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_sriov_common.c | 749 u16 remainder; in qlcnic_sriov_prepare_bc_hdr() local 761 remainder = (trans->req_pay_size) % (bc_pay_sz); in qlcnic_sriov_prepare_bc_hdr() 763 if (remainder) in qlcnic_sriov_prepare_bc_hdr() 768 remainder = (trans->rsp_pay_size) % (bc_pay_sz); in qlcnic_sriov_prepare_bc_hdr() 770 if (remainder) in qlcnic_sriov_prepare_bc_hdr() 781 remainder = (trans->rsp_pay_size) % (bc_pay_sz); in qlcnic_sriov_prepare_bc_hdr() 783 if (remainder) in qlcnic_sriov_prepare_bc_hdr()
|
/linux-4.1.27/drivers/char/ |
D | hpet.c | 852 u32 remainder; in hpet_alloc() local 917 remainder = do_div(temp, 1000000); in hpet_alloc() 922 (unsigned) temp, remainder); in hpet_alloc()
|
/linux-4.1.27/drivers/md/persistent-data/ |
D | dm-btree-remove.c | 306 unsigned remainder = (target_right * 3) != total; in redistribute3() local 307 unsigned target_left = target_right + remainder; in redistribute3()
|
/linux-4.1.27/arch/m68k/fpsp040/ |
D | stan.S | 317 |--case, reduce argument by one remainder step to make subsequent reduction 342 |--Intermediate remainder is 66-bit long; (R,r) in (FP0,FP1)
|
/linux-4.1.27/arch/c6x/lib/ |
D | divremu.S | 27 ;; At the end, we have both the remainder and most of the quotient
|
D | divu.S | 44 ;; At the end, we have both the remainder and most of the quotient
|
/linux-4.1.27/drivers/net/wireless/ |
D | adm8211.c | 1581 int remainder; in adm8211_calc_durations() local 1608 remainder = (80 * len) % plcp_signal; in adm8211_calc_durations() 1610 remainder <= 30 && remainder > 0) in adm8211_calc_durations() 1612 else if (remainder) in adm8211_calc_durations()
|
/linux-4.1.27/mm/ |
D | hugetlb.c | 3392 unsigned long remainder = *nr_pages; in follow_hugetlb_page() local 3395 while (vaddr < vma->vm_end && remainder) { in follow_hugetlb_page() 3406 remainder = 0; in follow_hugetlb_page() 3433 remainder = 0; in follow_hugetlb_page() 3459 remainder = 0; in follow_hugetlb_page() 3476 --remainder; in follow_hugetlb_page() 3478 if (vaddr < vma->vm_end && remainder && in follow_hugetlb_page() 3488 *nr_pages = remainder; in follow_hugetlb_page()
|
D | slub.c | 784 int remainder; in slab_pad_check() local 792 remainder = length % s->size; in slab_pad_check() 793 if (!remainder) in slab_pad_check() 797 fault = memchr_inv(end - remainder, POISON_INUSE, remainder); in slab_pad_check() 805 print_section("Padding ", end - remainder, remainder); in slab_pad_check() 807 restore_bytes(s, "slab padding", POISON_INUSE, end - remainder, end); in slab_pad_check()
|
D | slab.c | 1946 size_t remainder; in calculate_slab_order() local 1948 cache_estimate(gfporder, size, align, flags, &remainder, &num); in calculate_slab_order() 1975 left_over = remainder; in calculate_slab_order()
|
/linux-4.1.27/kernel/time/ |
D | timekeeping.c | 488 s64 remainder; in old_vsyscall_fixup() local 500 remainder = tk->tkr_mono.xtime_nsec & ((1ULL << tk->tkr_mono.shift) - 1); in old_vsyscall_fixup() 501 tk->tkr_mono.xtime_nsec -= remainder; in old_vsyscall_fixup() 503 tk->ntp_error += remainder << tk->ntp_error_shift; in old_vsyscall_fixup()
|
/linux-4.1.27/fs/exofs/ |
D | ore.c | 255 u32 remainder; in ore_get_rw_state() local 259 num_stripes = div_u64_rem(length, stripe_size, &remainder); in ore_get_rw_state() 260 if (remainder) in ore_get_rw_state()
|
/linux-4.1.27/drivers/media/usb/go7007/ |
D | go7007-fw.c | 1275 int remainder; in relative_prime() local 1278 remainder = big % little; in relative_prime() 1280 little = remainder; in relative_prime()
|
/linux-4.1.27/scripts/ |
D | checkpatch.pl | 1025 my $remainder; 1055 $remainder = substr($blk, $off); 1060 if ($remainder =~ /^#\s*(?:ifndef|ifdef|if)\s/) { 1062 } elsif ($remainder =~ /^#\s*(?:else|elif)\b/) { 1064 } elsif ($remainder =~ /^#\s*endif\b/) { 1077 $remainder =~ /^(else)(?:\s|{)/ && 1078 $remainder !~ /^else\s+if\b/) {
|
/linux-4.1.27/drivers/net/ethernet/myricom/myri10ge/ |
D | myri10ge.c | 1425 int i, idx, remainder, bytes; in myri10ge_rx_done() local 1455 for (i = 0, remainder = len; remainder > 0; i++) { in myri10ge_rx_done() 1460 remainder -= MYRI10GE_ALLOC_SIZE; in myri10ge_rx_done() 1466 for (i = 0, remainder = len; remainder > 0; i++) { in myri10ge_rx_done() 1470 remainder < MYRI10GE_ALLOC_SIZE ? in myri10ge_rx_done() 1471 remainder : MYRI10GE_ALLOC_SIZE); in myri10ge_rx_done() 1474 remainder -= MYRI10GE_ALLOC_SIZE; in myri10ge_rx_done()
|
/linux-4.1.27/drivers/scsi/lpfc/ |
D | lpfc_scsi.c | 2026 unsigned int remainder, subtotal; in lpfc_bg_setup_bpl_prot() local 2165 remainder = sg_dma_len(sgde) - split_offset; in lpfc_bg_setup_bpl_prot() 2167 if ((subtotal + remainder) <= protgrp_bytes) { in lpfc_bg_setup_bpl_prot() 2169 bpl->tus.f.bdeSize = remainder; in lpfc_bg_setup_bpl_prot() 2172 if ((subtotal + remainder) == protgrp_bytes) in lpfc_bg_setup_bpl_prot() 2406 unsigned int remainder, subtotal; in lpfc_bg_setup_sgl_prot() local 2549 remainder = sg_dma_len(sgde) - split_offset; in lpfc_bg_setup_sgl_prot() 2551 if ((subtotal + remainder) <= protgrp_bytes) { in lpfc_bg_setup_sgl_prot() 2553 dma_len = remainder; in lpfc_bg_setup_sgl_prot() 2556 if ((subtotal + remainder) == protgrp_bytes) in lpfc_bg_setup_sgl_prot()
|
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/ |
D | htc_pipe.c | 96 int remainder; in get_htc_packet_credit_based() local 123 remainder = transfer_len % target->tgt_cred_sz; in get_htc_packet_credit_based() 125 if (remainder) in get_htc_packet_credit_based()
|
/linux-4.1.27/Documentation/RCU/ |
D | arrayRCU.txt | 47 the remainder of the new, updates the ids->entries pointer to point to
|
D | trace.txt | 167 of RCU callbacks is ready to invoke, then the remainder will
|
/linux-4.1.27/Documentation/networking/ |
D | dns_resolver.txt | 137 remainder of the string to the key as its payload.
|
D | dl2k.txt | 61 The remainder of this section assumes the driver is built as a loadable module.
|
D | rxrpc.txt | 303 then the remainder of that message will be left on the front of the queue
|
/linux-4.1.27/drivers/net/ethernet/agere/ |
D | et131x.c | 2425 u32 thiscopy, remainder; in nic_send_packet() local 2524 remainder = 0; in nic_send_packet() 2527 remainder = frag - thiscopy; in nic_send_packet() 2542 if (remainder) { in nic_send_packet() 2545 sizeof(struct tx_desc) * remainder); in nic_send_packet() 2547 add_10bit(&tx_ring->send_idx, remainder); in nic_send_packet()
|
/linux-4.1.27/arch/m68k/ifpsp060/ |
D | ilsp.doc | 107 mov.l (%sp)+,%d1 # load remainder
|
/linux-4.1.27/drivers/net/wireless/b43/ |
D | phy_lp.c | 1074 u32 quotient, remainder; in lpphy_qdiv_roundup() local 1080 remainder = dividend % divisor; in lpphy_qdiv_roundup() 1084 if (remainder << 1 >= divisor) { in lpphy_qdiv_roundup() 1086 remainder = (remainder << 1) - divisor; in lpphy_qdiv_roundup() 1091 if (remainder << 1 >= divisor) in lpphy_qdiv_roundup()
|
/linux-4.1.27/Documentation/gpio/ |
D | gpio.txt | 16 The remainder of this document applies to the new descriptor-based interface.
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
D | phy_lcn.c | 1018 u32 quotient, remainder, roundup, rbit; in wlc_lcnphy_qdiv_roundup() local 1021 remainder = dividend % divisor; in wlc_lcnphy_qdiv_roundup() 1027 if (remainder >= roundup) { in wlc_lcnphy_qdiv_roundup() 1029 remainder = ((remainder - roundup) << 1) + rbit; in wlc_lcnphy_qdiv_roundup() 1031 remainder <<= 1; in wlc_lcnphy_qdiv_roundup() 1035 if (remainder >= roundup) in wlc_lcnphy_qdiv_roundup()
|
/linux-4.1.27/Documentation/arm/nwfpe/ |
D | README.FPE | 95 RMF{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - IEEE remainder
|
/linux-4.1.27/drivers/net/wireless/rtl818x/rtl8180/ |
D | dev.c | 513 unsigned int remainder; in rtl8180_tx() local 517 remainder = (16 * (skb->len + 4)) % in rtl8180_tx() 519 if (remainder <= 6) in rtl8180_tx()
|
/linux-4.1.27/tools/perf/Documentation/ |
D | perf-script-perl.txt | 210 nsecs_nsecs($nsecs) - returns nsecs remainder given nsecs
|
D | perf-script-python.txt | 614 nsecs_nsecs(nsecs) - returns nsecs remainder given nsecs
|
/linux-4.1.27/drivers/media/dvb-frontends/drx39xyj/ |
D | drxj.c | 1213 u32 remainder = 0; in frac_times1e6() local 1225 remainder = (((u32) N) * (1000000 >> 4)) % D; in frac_times1e6() 1226 remainder <<= 4; in frac_times1e6() 1227 frac += remainder / D; in frac_times1e6() 1228 remainder = remainder % D; in frac_times1e6() 1229 if ((remainder * 2) > D) in frac_times1e6() 9970 u16 remainder = 0; in ctrl_set_oob() local 9974 remainder = (u16) ((freq - 400) % 200); in ctrl_set_oob() 9978 1]) / 10 * remainder / in ctrl_set_oob()
|
/linux-4.1.27/fs/affs/ |
D | Changes | 112 - truncate() zeroes the unused remainder of a
|
/linux-4.1.27/Documentation/devicetree/bindings/arm/ |
D | topology.txt | 31 The remainder of this document provides the topology bindings for ARM, based
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723be/ |
D | hw.c | 1025 u16 write_addr = 0, remainder = addr % 4; in _rtl8723be_dbi_write() local 1028 write_addr = REG_DBI_WDATA + remainder; in _rtl8723be_dbi_write() 1032 write_addr = (addr & 0xfffc) | (BIT(0) << (remainder + 12)); in _rtl8723be_dbi_write()
|
/linux-4.1.27/drivers/atm/ |
D | iphase.h | 246 u_short remainder; /* ABR and UBR fields - last 10 bits*/ member
|
/linux-4.1.27/Documentation/laptops/ |
D | laptop-mode.txt | 465 # value the third. The remainder is the mount options string. 500 # remainder is the mount options string in which the replacement
|
/linux-4.1.27/Documentation/isdn/ |
D | INTERFACE.CAPI | 319 with the given values, zeroing the remainder of the structure so only
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8821ae/ |
D | hw.c | 1138 u16 wrtie_addr, remainder = addr % 4; in _rtl8821ae_dbi_write() local 1140 wrtie_addr = REG_DBI_WDATA + remainder; in _rtl8821ae_dbi_write() 1143 wrtie_addr = (addr & 0xfffc) | (BIT(0) << (remainder + 12)); in _rtl8821ae_dbi_write()
|
/linux-4.1.27/Documentation/scsi/ |
D | scsi_eh.txt | 65 friends or figures out what to do with the remainder
|
D | scsi_fc_transport.txt | 85 The remainder of the tree under the vports scsi_host is the same
|
D | ncr53c8xx.txt | 1211 the transfer, leaving to data corruption the remainder of this cache line.
|
/linux-4.1.27/drivers/block/ |
D | rbd.c | 1259 int remainder = max(start_ofs - pos, 0); in zero_bio_chain() local 1261 memset(buf + remainder, 0, in zero_bio_chain() 1262 bv.bv_len - remainder); in zero_bio_chain()
|
/linux-4.1.27/Documentation/timers/ |
D | NO_HZ.txt | 92 tickless". The remainder of this document will use "dyntick-idle mode".
|
/linux-4.1.27/Documentation/filesystems/ |
D | ext2.txt | 98 as the inode table for that block group and the remainder are the data
|
D | proc.txt | 1457 example, is roughly equivalent to allowing the remainder of tasks sharing the
|
/linux-4.1.27/Documentation/devicetree/ |
D | usage-model.txt | 223 on ARM. The remainder of this section uses examples from the ARM
|
D | booting-without-of.txt | 995 node should start with "soc", and the remainder of the name should
|
/linux-4.1.27/Documentation/video4linux/ |
D | v4l2-controls.txt | 267 The remainder of this document deals with more advanced topics and scenarios.
|
/linux-4.1.27/Documentation/x86/ |
D | boot.txt | 752 initial remainder of 0xffffffff. The checksum is appended to the
|
/linux-4.1.27/arch/x86/kvm/ |
D | x86.c | 1154 uint32_t quotient, remainder; in div_frac() local 1159 : "=a" (quotient), "=d" (remainder) in div_frac()
|
/linux-4.1.27/drivers/scsi/aic7xxx/ |
D | aic79xx.seq | 754 * queue the remainder to the tail of the global execution
|