/u-boot/lib/ |
A D | div64.c | 71 s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder) in div_s64_rem() argument 76 quotient = div_u64_rem(-dividend, abs(divisor), (u32 *)remainder); in div_s64_rem() 77 *remainder = -*remainder; in div_s64_rem() 81 quotient = div_u64_rem(dividend, abs(divisor), (u32 *)remainder); in div_s64_rem() 102 u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder) in div64_u64_rem() argument 110 *remainder = rem32; in div64_u64_rem() 118 *remainder = dividend - quot * divisor; in div64_u64_rem() 119 if (*remainder >= divisor) { in div64_u64_rem() 121 *remainder -= divisor; in div64_u64_rem() 188 u32 iter_div_u64_rem(u64 dividend, u32 divisor, u64 *remainder) in iter_div_u64_rem() argument [all …]
|
/u-boot/include/linux/ |
A D | math64.h | 21 *remainder = dividend % divisor; in div_u64_rem() 30 *remainder = dividend % divisor; in div_s64_rem() 39 *remainder = dividend % divisor; in div64_u64_rem() 67 *remainder = do_div(dividend, divisor); in div_u64_rem() 100 u32 remainder; in div_u64() local 101 return div_u64_rem(dividend, divisor, &remainder); in div_u64() 111 s32 remainder; in div_s64() local 112 return div_s64_rem(dividend, divisor, &remainder); in div_s64() 116 u32 iter_div_u64_rem(u64 dividend, u32 divisor, u64 *remainder); 119 __iter_div_u64_rem(u64 dividend, u32 divisor, u64 *remainder) in __iter_div_u64_rem() argument [all …]
|
/u-boot/cmd/ |
A D | time.c | 12 ulong total_seconds, remainder; in report_time() local 15 remainder = cycles % CONFIG_SYS_HZ; in report_time() 19 milliseconds = (remainder * 1000 + CONFIG_SYS_HZ / 2) / CONFIG_SYS_HZ; in report_time()
|
/u-boot/board/freescale/m5253demo/ |
A D | flash.c | 100 int remainder; in flash_print_info() local 104 remainder = (info->size % 0x100000); in flash_print_info() 105 if (remainder) { in flash_print_info() 106 remainder >>= 10; in flash_print_info() 107 remainder = (int)((float) in flash_print_info() 108 (((float)remainder / (float)1024) * in flash_print_info() 110 printf(".%d ", remainder); in flash_print_info()
|
/u-boot/fs/ext4/ |
A D | ext4_write.c | 144 int remainder; in delete_single_indirect_block() local 162 if (!remainder) in delete_single_indirect_block() 193 int remainder; in delete_double_indirect_block() local 224 if (!remainder) in delete_double_indirect_block() 257 if (!remainder) in delete_double_indirect_block() 290 int remainder; in delete_triple_indirect_block() local 333 if (!remainder) in delete_triple_indirect_block() 375 if (!remainder) in delete_triple_indirect_block() 410 if (!remainder) in delete_triple_indirect_block() 443 int remainder; in ext4fs_delete_file() local [all …]
|
A D | ext4_common.c | 199 uint64_t remainder; in put_ext4() local 220 if (remainder) { in put_ext4() 309 int i, remainder, status; in ext4fs_set_block_bmap() local 313 remainder = blockno % 8; in ext4fs_set_block_bmap() 327 if (remainder == 0) { in ext4fs_set_block_bmap() 349 remainder = blockno % 8; in ext4fs_reset_block_bmap() 360 if (remainder == 0) { in ext4fs_reset_block_bmap() 382 if (remainder == 0) { in ext4fs_set_inode_bmap() 407 if (remainder == 0) { in ext4fs_reset_inode_bmap() 965 int remainder; in ext4fs_get_new_blk_no() local [all …]
|
/u-boot/common/ |
A D | dlmalloc.c | 1376 remainder = chunk_at_offset(victim, nb); 1378 link_last_remainder(remainder); 1380 set_foot(remainder, remainder_size); 1439 remainder = chunk_at_offset(victim, nb); 1442 link_last_remainder(remainder); 1444 set_foot(remainder, remainder_size); 1874 remainder = chunk_at_offset(newp, nb); 1877 set_head(remainder, remainder_size | PREV_INUSE); 2046 remainder = chunk_at_offset(p, nb); 2047 set_head(remainder, remainder_size | PREV_INUSE); [all …]
|
A D | dlmalloc.src | 1775 /* Place p as the last remainder */ 2111 mchunkptr remainder; /* remainder from a split */ 2193 remainder = chunk_at_offset(victim, nb); 2195 link_last_remainder(remainder); 2197 set_foot(remainder, remainder_size); 2256 remainder = chunk_at_offset(victim, nb); 2259 link_last_remainder(remainder); 2261 set_foot(remainder, remainder_size); 2674 remainder = chunk_at_offset(newp, nb); 2799 remainder = chunk_at_offset(p, nb); [all …]
|
/u-boot/drivers/usb/host/ |
A D | xhci-ring.c | 666 u32 remainder = 0; in xhci_bulk_tx() local 693 remainder = xhci_td_remainder(ctrl, running_total, trb_buff_len, in xhci_bulk_tx() 698 TRB_TD_SIZE(remainder) | in xhci_bulk_tx() 776 u32 remainder; in xhci_ctrl_tx() local 878 remainder = xhci_td_remainder(ctrl, 0, length, length, in xhci_ctrl_tx() 880 length_field = TRB_LEN(length) | TRB_TD_SIZE(remainder) | in xhci_ctrl_tx() 885 TRB_TD_SIZE(remainder), 0); in xhci_ctrl_tx()
|
A D | sl811-hcd.c | 259 int remainder = sl811_read(SL811_CNT_A); in sl811_send_packet() local 260 if (remainder) { in sl811_send_packet() 261 PDEBUG(0, "usb transfer remainder = %d\n", remainder); in sl811_send_packet() 262 len -= remainder; in sl811_send_packet()
|
/u-boot/drivers/serial/ |
A D | serial_pl01x.c | 154 unsigned int remainder; in pl01x_generic_setbrg() local 168 remainder = clock % temp; in pl01x_generic_setbrg() 169 temp = (8 * remainder) / baudrate; in pl01x_generic_setbrg()
|
/u-boot/drivers/clk/at91/ |
A D | clk-sam9x60-pll.c | 62 unsigned long tmprate, remainder; in sam9x60_frac_pll_compute_mul_frac() local 75 remainder = rate - tmprate; in sam9x60_frac_pll_compute_mul_frac() 77 if (remainder) { in sam9x60_frac_pll_compute_mul_frac() 78 nfrac = DIV_ROUND_CLOSEST_ULL((u64)remainder * (1 << 22), in sam9x60_frac_pll_compute_mul_frac()
|
/u-boot/drivers/net/ |
A D | lan91c96.c | 645 int remainder; in print_packet() 651 remainder = length % 16; in print_packet() 665 for (i = 0; i < remainder / 2; i++) { in print_packet()
|
A D | smc91111.c | 1239 int remainder; in print_packet() local 1246 remainder = length % 16; in print_packet() 1260 for ( i = 0; i < remainder/2 ; i++ ) { in print_packet()
|
/u-boot/drivers/video/exynos/ |
A D | exynos_fb.c | 207 unsigned int cfg = 0, div = 0, remainder, remainder_div; in exynos_fimd_set_clock() local 240 remainder = do_div(src_clock, pixel_clock); in exynos_fimd_set_clock() 243 remainder *= 10; in exynos_fimd_set_clock() 244 remainder_div = remainder / pixel_clock; in exynos_fimd_set_clock()
|
/u-boot/drivers/video/imx/ |
A D | ipu_common.c | 307 u32 remainder; in ipu_pixel_clk_round_rate() local 316 remainder = do_div(div, rate); in ipu_pixel_clk_round_rate() 318 if (remainder > (rate / 2)) in ipu_pixel_clk_round_rate() 340 u32 remainder; in ipu_pixel_clk_set_rate() local 344 remainder = do_div(div, rate); in ipu_pixel_clk_set_rate() 346 if (remainder > (rate / 2)) in ipu_pixel_clk_set_rate()
|
/u-boot/arch/arm/lib/ |
A 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
|
/u-boot/board/compulab/common/ |
A D | eeprom.c | 247 int remainder = simple_strtol(tok, &endptr, 0); in eeprom_field_update_bin_ver() local 251 num = num * 100 + remainder; in eeprom_field_update_bin_ver()
|
/u-boot/arch/mips/mach-octeon/include/mach/ |
A D | octeon_ddr.h | 755 u64 quotent, remainder; in divide_nint() local 758 remainder = dividend % divisor; in divide_nint() 759 return (quotent + ((remainder * 2) >= divisor)); in divide_nint()
|
/u-boot/drivers/spi/ |
A D | fsl_dspi.c | 392 u32 remainder; in ns_delay_scale() local 396 &remainder); in ns_delay_scale() 397 if (remainder) in ns_delay_scale()
|
/u-boot/doc/imx/common/ |
A D | imx6.txt | 35 34 / 8 = 4 and the remainder is 2, so in this case: 56 35 / 8 = 4 and the remainder is 3, so in this case:
|
/u-boot/doc/usage/ |
A D | fdt_overlays.rst | 78 The remainder of this document will discuss using overlays via the manual
|
/u-boot/arch/sh/lib/ |
A D | movmem.S | 46 ! done all the large groups, do the remainder
|
/u-boot/arch/arm/mach-rockchip/ |
A D | Kconfig | 347 remainder of the first stage is loaded, but the BROM 361 remainder of the first stage is loaded, but the BROM
|
/u-boot/board/sbc8349/ |
A D | README | 38 that is executed. This frees up the remainder of flash for other uses.
|