Home
last modified time | relevance | path

Searched refs:d2 (Results 1 – 25 of 41) sorted by relevance

12

/u-boot/fs/yaffs2/
A Dyaffs_ecc.c138 unsigned char d0, d1, d2; /* deltas */ in yaffs_ecc_correct() local
142 d2 = read_ecc[2] ^ test_ecc[2]; in yaffs_ecc_correct()
144 if ((d0 | d1 | d2) == 0) in yaffs_ecc_correct()
149 ((d2 ^ (d2 >> 1)) & 0x54) == 0x54) { in yaffs_ecc_correct()
174 if (d2 & 0x80) in yaffs_ecc_correct()
176 if (d2 & 0x20) in yaffs_ecc_correct()
178 if (d2 & 0x08) in yaffs_ecc_correct()
186 if ((hweight8(d0) + hweight8(d1) + hweight8(d2)) == 1) { in yaffs_ecc_correct()
/u-boot/drivers/serial/
A Dserial_mvebu_a3700.c82 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()
107 baudrate * 16 * d1 * d2); in mvebu_serial_setbrg()
115 d2 = 6; in mvebu_serial_setbrg()
117 baudrate * 16 * d1 * d2); in mvebu_serial_setbrg()
128 baudrate * 63 * d1 * d2); in mvebu_serial_setbrg()
139 divider |= d2 << 12; /* Set d2 divider */ in mvebu_serial_setbrg()
217 u32 d1, d2; in mvebu_serial_remove() local
231 d2 = (divider >> 12) & 7; in mvebu_serial_remove()
[all …]
/u-boot/lib/
A Drational.c48 unsigned long n, d, n0, d0, n1, d1, n2, d2; in rational_best_approximation() local
72 d2 = d0 + a * d1; in rational_best_approximation()
79 if ((n2 > max_numerator) || (d2 > max_denominator)) { in rational_best_approximation()
95 d1 = d2; in rational_best_approximation()
A Dvsprintf.c54 unsigned d3, d2, d1, d0; in put_dec_trunc() local
56 d2 = (q>>8) & 0xf; in put_dec_trunc()
69 d2 = q + 2*d2; in put_dec_trunc()
71 q = (d2 * 0xd) >> 7; in put_dec_trunc()
72 d2 = d2 - 10*q; in put_dec_trunc()
92 unsigned d3, d2, d1, d0; in put_dec_full() local
94 d2 = (q>>8) & 0xf; in put_dec_full()
116 d2 = q + 2*d2; in put_dec_full()
117 q = (d2 * 0xd) >> 7; in put_dec_full()
118 d2 = d2 - 10*q; in put_dec_full()
[all …]
A Dtiny-printf.c91 unsigned int d3, d2, d1, d0; in put_dec_trunc() local
93 d2 = (q >> 8) & 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()
106 d2 = q + 2 * d2; in put_dec_trunc()
107 if ((d2 != 0) || (d3 != 0)) { in put_dec_trunc()
108 q = (d2 * 0xd) >> 7; in put_dec_trunc()
109 d2 = d2 - 10 * q; in put_dec_trunc()
110 *buf++ = d2 + '0'; /* next digit */ in put_dec_trunc()
/u-boot/test/lib/
A Defi_device_path.c20 u8 d2[] __aligned(2) = { in lib_test_efi_dp_check_length() local
28 struct efi_device_path *p2 = (struct efi_device_path *)d2; in lib_test_efi_dp_check_length()
37 ut_asserteq((ssize_t)-1, efi_dp_check_length(p2, sizeof(d2))); in lib_test_efi_dp_check_length()
/u-boot/scripts/dtc/
A Ddata.c154 struct data data_merge(struct data d1, struct data d2) in data_merge() argument
157 struct marker *m2 = d2.markers; in data_merge()
159 d = data_append_markers(data_append_data(d1, d2.val, d2.len), m2); in data_merge()
165 d2.markers = NULL; /* So data_free() doesn't clobber them */ in data_merge()
166 data_free(d2); in data_merge()
/u-boot/arch/arm/dts/
A Dkirkwood-d2net.dts3 * Device Tree file for d2 Network v2
15 model = "LaCie d2 Network v2";
A Dstih407-clock.dtsi237 clk_s_d2_quadfs: clk-s-d2-quadfs@9106000 {
244 clock-output-names = "clk-s-d2-fs0-ch0",
245 "clk-s-d2-fs0-ch1",
246 "clk-s-d2-fs0-ch2",
247 "clk-s-d2-fs0-ch3";
250 clockgen-d2@9106000 {
254 clk_s_d2_flexgen: clk-s-d2-flexgen {
A Dstih410-clock.dtsi247 clk_s_d2_quadfs: clk-s-d2-quadfs@9106000 {
254 clock-output-names = "clk-s-d2-fs0-ch0",
255 "clk-s-d2-fs0-ch1",
256 "clk-s-d2-fs0-ch2",
257 "clk-s-d2-fs0-ch3";
260 clockgen-d2@9106000 {
264 clk_s_d2_flexgen: clk-s-d2-flexgen {
A Dsama5d3xcm.dtsi117 d2 {
118 label = "d2";
A Dsama5d3xcm_cmp.dtsi160 d2 {
161 label = "d2";
A Dat91sam9263ek.dts195 d2 {
196 label = "d2";
/u-boot/arch/m68k/cpu/mcf5445x/
A Dstart.S225 move.l #0x8002000B, %d2 /* Fast Read Cmd */
229 move.l #0x80020000, %d2 /* Address byte 2 */
233 move.l #0x80020000, %d2 /* Address byte 1 */
237 move.l #0x80020000, %d2 /* Address byte 0 */
247 move.l #0x80020000, %d2
259 move.l #0x80020000, %d2
269 move.l #0x00020000, %d2 /* Terminate */
283 move.l %d2, (%a2)
381 move.l #4, %d2 /* start at 4 */
388 or.l %d2, %d0
[all …]
/u-boot/tools/
A Deficapsule.h29 #define EFI_GUID(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) \ argument
34 (d0), (d1), (d2), (d3), (d4), (d5), (d6), (d7) } }
A Dimximage.c182 struct dcd_v2_cmd *d2; in set_dcd_param_v2() local
187 d2 = d; in set_dcd_param_v2()
190 d2 = (struct dcd_v2_cmd *)(((char *)d) + len); in set_dcd_param_v2()
197 d = d2; in set_dcd_param_v2()
206 d = d2; in set_dcd_param_v2()
215 d = d2; in set_dcd_param_v2()
224 d = d2; in set_dcd_param_v2()
230 d = d2; in set_dcd_param_v2()
/u-boot/doc/usage/cmd/
A Dprintenv.rst69 => printenv -e -guid 8be4df61-93ca-11d2-aa0d-00e098032b8c PlatformLangCodes
71 8be4df61-93ca-11d2-aa0d-00e098032b8c (EFI_GLOBAL_VARIABLE_GUID)
76 8be4df61-93ca-11d2-aa0d-00e098032b8c (EFI_GLOBAL_VARIABLE_GUID)
/u-boot/arch/x86/lib/
A Dstring.c135 int d0, d1, d2, d3, d4, d5; in memmove() local
284 : "=&c" (d0), "=&S" (d1), "=&D" (d2), in memmove()
/u-boot/test/
A Dunicode_ut.c117 ut_assert(!strncmp(&buf[2], d2, 7)); in unicode_test_string16()
187 s = d2; in unicode_test_utf8_get()
195 ut_asserteq_ptr(s, d2 + 9); in unicode_test_utf8_get()
265 ut_asserteq(8, utf8_utf16_strlen(d2)); in unicode_test_utf8_utf16_strlen()
282 ut_asserteq(6, utf8_utf16_strnlen(d2, 6)); in unicode_test_utf8_utf16_strnlen()
326 utf8_utf16_strcpy(&pos, d2); in unicode_test_utf8_utf16_strcpy()
374 utf8_utf16_strncpy(&pos, d2, 10); in unicode_test_utf8_utf16_strncpy()
517 ut_asserteq_str(d2, buf); in unicode_test_utf16_utf8_strcpy()
566 ut_assert(!strncmp(buf, d2, SIZE_MAX)); in unicode_test_utf16_utf8_strncpy()
724 utf8_to_cp437_stream_helper(d2, buf); in unicode_test_utf8_to_cp437_stream()
[all …]
/u-boot/arch/m68k/include/asm/
A Dptrace.h15 ulong d2; member
/u-boot/drivers/timer/
A Dtsc_timer.c270 unsigned long d1, d2; in quick_pit_calibrate() local
300 if (!pit_expect_msb(0xff-i, &delta, &d2)) in quick_pit_calibrate()
307 if (d1+d2 >= delta >> 11) in quick_pit_calibrate()
/u-boot/arch/x86/include/asm/
A Dbitops.h269 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 Dtraps.c27 fp->d0, fp->d1, fp->d2, fp->d3); in show_frame()
/u-boot/arch/x86/cpu/i386/
A Dinterrupt.c90 unsigned long d0, d1, d2, d3, d6, d7; in dump_regs() local
142 d2 = get_debugreg(2); in dump_regs()
146 d0, d1, d2, d3); in dump_regs()
/u-boot/drivers/core/
A Ddump.c26 static int h_cmp_uclass_id(const void *d1, const void *d2) in h_cmp_uclass_id() argument
29 const struct udevice *const *dev2 = d2; in h_cmp_uclass_id()

Completed in 23 milliseconds

12