| /u-boot/lib/ |
| A D | rational.c | 48 unsigned long n, d, n0, d0, n1, d1, n2, d2; in rational_best_approximation() local 51 n0 = d1 = 0; in rational_best_approximation() 72 d2 = d0 + a * d1; in rational_best_approximation() 81 (max_denominator - d0) / d1); in rational_best_approximation() 86 if (2u * t > a || (2u * t == a && d0 * dp > d1 * d)) { in rational_best_approximation() 88 d1 = d0 + t * d1; in rational_best_approximation() 94 d0 = d1; in rational_best_approximation() 95 d1 = d2; in rational_best_approximation() 98 *best_denominator = d1; in rational_best_approximation()
|
| A D | vsprintf.c | 54 unsigned d3, d2, d1, d0; in put_dec_trunc() local 55 d1 = (q>>4) & 0xf; in put_dec_trunc() 63 d1 = q + 9*d3 + 5*d2 + d1; in put_dec_trunc() 64 if (d1 != 0) { in put_dec_trunc() 65 q = (d1 * 0xcd) >> 11; in put_dec_trunc() 66 d1 = d1 - 10*q; in put_dec_trunc() 93 d1 = (q>>4) & 0xf; in put_dec_full() 111 d1 = q + 9*d3 + 5*d2 + d1; in put_dec_full() 112 q = (d1 * 0xcd) >> 11; in put_dec_full() 113 d1 = d1 - 10*q; in put_dec_full() [all …]
|
| A D | tiny-printf.c | 91 unsigned int d3, d2, d1, d0; in put_dec_trunc() local 92 d1 = (q >> 4) & 0xf; in put_dec_trunc() 96 d0 = 6 * (d3 + d2 + d1) + (q & 0xf); in put_dec_trunc() 100 d1 = q + 9 * d3 + 5 * d2 + d1; in put_dec_trunc() 101 if (d1 != 0) { in put_dec_trunc() 102 q = (d1 * 0xcd) >> 11; in put_dec_trunc() 103 d1 = d1 - 10 * q; in put_dec_trunc() 104 *buf++ = d1 + '0'; /* next digit */ in put_dec_trunc()
|
| /u-boot/test/lib/ |
| A D | efi_device_path.c | 17 u8 d1[] __aligned(2) = { in lib_test_efi_dp_check_length() local 27 struct efi_device_path *p1 = (struct efi_device_path *)d1; in lib_test_efi_dp_check_length() 32 ut_asserteq((ssize_t)sizeof(d1), efi_dp_check_length(p1, sizeof(d1))); in lib_test_efi_dp_check_length() 33 ut_asserteq((ssize_t)sizeof(d1), in lib_test_efi_dp_check_length() 34 efi_dp_check_length(p1, sizeof(d1) + 4)); in lib_test_efi_dp_check_length() 35 ut_asserteq((ssize_t)-1, efi_dp_check_length(p1, sizeof(d1) - 1)); in lib_test_efi_dp_check_length()
|
| /u-boot/fs/yaffs2/ |
| A D | yaffs_ecc.c | 138 unsigned char d0, d1, d2; /* deltas */ in yaffs_ecc_correct() local 141 d1 = read_ecc[1] ^ test_ecc[1]; in yaffs_ecc_correct() 144 if ((d0 | d1 | d2) == 0) in yaffs_ecc_correct() 148 ((d1 ^ (d1 >> 1)) & 0x55) == 0x55 && in yaffs_ecc_correct() 157 if (d1 & 0x80) in yaffs_ecc_correct() 159 if (d1 & 0x20) in yaffs_ecc_correct() 161 if (d1 & 0x08) in yaffs_ecc_correct() 163 if (d1 & 0x02) in yaffs_ecc_correct() 186 if ((hweight8(d0) + hweight8(d1) + hweight8(d2)) == 1) { in yaffs_ecc_correct()
|
| /u-boot/drivers/serial/ |
| A D | serial_mvebu_a3700.c | 82 u32 divider, d1, d2; in mvebu_serial_setbrg() local 89 d1 = d2 = 1; in mvebu_serial_setbrg() 90 divider = DIV_ROUND_CLOSEST(plat->tbg_rate, baudrate * 16 * d1 * d2); in mvebu_serial_setbrg() 105 d1 = 6; in mvebu_serial_setbrg() 107 baudrate * 16 * d1 * d2); in mvebu_serial_setbrg() 117 baudrate * 16 * d1 * d2); in mvebu_serial_setbrg() 128 baudrate * 63 * d1 * d2); in mvebu_serial_setbrg() 138 divider |= d1 << 15; /* Set d1 divider */ in mvebu_serial_setbrg() 217 u32 d1, d2; in mvebu_serial_remove() local 230 d1 = (divider >> 15) & 7; in mvebu_serial_remove() [all …]
|
| /u-boot/arch/nios2/lib/ |
| A D | libgcc.c | 152 UWtype d0, d1, n0, n1, n2; in __udivmoddi4() local 157 d1 = dd.s.high; in __udivmoddi4() 162 if (d1 == 0) in __udivmoddi4() 196 if (d1 == 0) in __udivmoddi4() 272 if (d1 > n1) in __udivmoddi4() 291 count_leading_zeros (bm, d1); in __udivmoddi4() 302 if (n1 > d1 || n0 >= d0) in __udivmoddi4() 305 sub_ddmmss (n1, n0, n1, n0, d1, d0); in __udivmoddi4() 326 d1 = (d1 << bm) | (d0 >> b); in __udivmoddi4() 332 udiv_qrnnd (q0, n1, n2, n1, d1); in __udivmoddi4() [all …]
|
| /u-boot/arch/m68k/cpu/mcf5445x/ |
| A D | start.S | 293 move.b (%a3), %d1 317 move.l %d1, (%a1) 368 move.l #0x2000, %d1 396 move.l #0x200, %d1 430 subq.l #1, %d1 552 move.l %a0, %d1 556 cmp.l %a1,%d1 570 move.l (%a1),%d1 571 sub.l #_start,%d1 572 add.l %a0,%d1 [all …]
|
| /u-boot/arch/m68k/cpu/mcf530x/ |
| A D | start.S | 199 move.l %a0, %d1 200 add.l #(_ebss - CONFIG_SYS_MONITOR_BASE), %d1 203 cmp.l %a1,%d1 219 move.l (%a1),%d1 220 sub.l #_start, %d1 221 add.l %a0,%d1 222 move.l %d1,(%a1)+
|
| /u-boot/arch/m68k/cpu/mcf532x/ |
| A D | start.S | 211 move.l %a0, %d1 212 add.l #(_ebss - CONFIG_SYS_MONITOR_BASE),%d1 215 cmp.l %a1,%d1 229 move.l (%a1),%d1 230 sub.l #_start,%d1 231 add.l %a0,%d1 232 move.l %d1,(%a1)+
|
| /u-boot/arch/m68k/cpu/mcf523x/ |
| A D | start.S | 196 move.l %a0, %d1 197 add.l #(_ebss - CONFIG_SYS_MONITOR_BASE),%d1 200 cmp.l %a1,%d1 214 move.l (%a1),%d1 215 sub.l #_start,%d1 216 add.l %a0,%d1 217 move.l %d1,(%a1)+
|
| /u-boot/tools/ |
| A D | eficapsule.h | 29 #define EFI_GUID(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) \ argument 34 (d0), (d1), (d2), (d3), (d4), (d5), (d6), (d7) } }
|
| /u-boot/arch/m68k/cpu/mcf52x2/ |
| A D | start.S | 274 move.l %a0, %d1 275 add.l #(_ebss - CONFIG_SYS_MONITOR_BASE),%d1 278 cmp.l %a1,%d1 292 move.l (%a1),%d1 293 sub.l #_start,%d1 294 add.l %a0,%d1 295 move.l %d1,(%a1)+
|
| /u-boot/arch/x86/lib/ |
| A D | string.c | 135 int d0, d1, d2, d3, d4, d5; in memmove() local 284 : "=&c" (d0), "=&S" (d1), "=&D" (d2), in memmove()
|
| /u-boot/drivers/clk/ |
| A D | clk_zynq.c | 296 u32 d0, d1; in zynq_clk_calc_peripheral_two_divs() local 299 for (d1 = 1; d1 <= ZYNQ_CLK_MAXDIV >> 1; d1++) { in zynq_clk_calc_peripheral_two_divs() 301 DIV_ROUND_CLOSEST(pll_rate, d0), d1); in zynq_clk_calc_peripheral_two_divs() 306 *div1 = d1; in zynq_clk_calc_peripheral_two_divs()
|
| A D | clk_zynqmp.c | 596 u32 d0, d1; in zynqmp_clk_calc_peripheral_two_divs() local 599 for (d1 = 1; d1 <= ZYNQ_CLK_MAXDIV >> 1; d1++) { in zynqmp_clk_calc_peripheral_two_divs() 601 DIV_ROUND_CLOSEST(pll_rate, d0), d1); in zynqmp_clk_calc_peripheral_two_divs() 606 *div1 = d1; in zynqmp_clk_calc_peripheral_two_divs()
|
| /u-boot/test/ |
| A D | unicode_ut.c | 40 static const char d1[] = {0x55, 0x2d, 0x42, 0x6f, 0x6f, 0x74, 0x00}; variable 264 ut_asserteq(6, utf8_utf16_strlen(d1)); in unicode_test_utf8_utf16_strlen() 280 ut_asserteq(3, utf8_utf16_strnlen(d1, 3)); in unicode_test_utf8_utf16_strnlen() 281 ut_asserteq(6, utf8_utf16_strnlen(d1, 13)); in unicode_test_utf8_utf16_strnlen() 321 utf8_utf16_strcpy(&pos, d1); in unicode_test_utf8_utf16_strcpy() 367 utf8_utf16_strncpy(&pos, d1, 4); in unicode_test_utf8_utf16_strncpy() 512 ut_asserteq_str(d1, buf); in unicode_test_utf16_utf8_strcpy() 559 ut_assert(!strncmp(buf, d1, 4)); in unicode_test_utf16_utf8_strncpy() 722 utf8_to_cp437_stream_helper(d1, buf); in unicode_test_utf8_to_cp437_stream() 760 utf8_to_utf32_stream_helper(d1, buf); in unicode_test_utf8_to_utf32_stream()
|
| /u-boot/arch/m68k/include/asm/ |
| A D | ptrace.h | 14 ulong d1; member
|
| /u-boot/drivers/timer/ |
| A D | tsc_timer.c | 270 unsigned long d1, d2; in quick_pit_calibrate() local 298 if (pit_expect_msb(0xff, &tsc, &d1)) { in quick_pit_calibrate() 307 if (d1+d2 >= delta >> 11) in quick_pit_calibrate()
|
| /u-boot/scripts/dtc/ |
| A D | data.c | 154 struct data data_merge(struct data d1, struct data d2) in data_merge() argument 159 d = data_append_markers(data_append_data(d1, d2.val, d2.len), m2); in data_merge() 163 m2->offset += d1.len; in data_merge()
|
| /u-boot/arch/x86/include/asm/ |
| A D | bitops.h | 269 int d0, d1, d2; in find_first_zero_bit() local 286 :"=d" (res), "=&c" (d0), "=&D" (d1), "=&a" (d2) in find_first_zero_bit()
|
| /u-boot/arch/m68k/lib/ |
| A D | traps.c | 27 fp->d0, fp->d1, fp->d2, fp->d3); in show_frame()
|
| /u-boot/arch/x86/cpu/i386/ |
| A D | interrupt.c | 90 unsigned long d0, d1, d2, d3, d6, d7; in dump_regs() local 141 d1 = get_debugreg(1); in dump_regs() 146 d0, d1, d2, d3); in dump_regs()
|
| /u-boot/fs/erofs/ |
| A D | zmap.c | 158 unsigned int lo, d1 = 0; in get_compacted_la_distance() local 168 return d1; in get_compacted_la_distance() 169 ++d1; in get_compacted_la_distance() 174 d1 += lo - 1; in get_compacted_la_distance() 175 return d1; in get_compacted_la_distance()
|
| /u-boot/drivers/core/ |
| A D | dump.c | 26 static int h_cmp_uclass_id(const void *d1, const void *d2) in h_cmp_uclass_id() argument 28 const struct udevice *const *dev1 = d1; in h_cmp_uclass_id()
|