Home
last modified time | relevance | path

Searched refs:d1 (Results 1 – 25 of 48) sorted by relevance

12

/rk3399_rockchip-uboot/lib/
H A Drational.c48 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()
H A Dvsprintf.c52 unsigned d3, d2, d1, d0; in put_dec_trunc() local
53 d1 = (q>>4) & 0xf; in put_dec_trunc()
57 d0 = 6*(d3 + d2 + d1) + (q & 0xf); in put_dec_trunc()
61 d1 = q + 9*d3 + 5*d2 + d1; in put_dec_trunc()
62 if (d1 != 0) { in put_dec_trunc()
63 q = (d1 * 0xcd) >> 11; in put_dec_trunc()
64 d1 = d1 - 10*q; in put_dec_trunc()
65 *buf++ = d1 + '0'; /* next digit */ in put_dec_trunc()
90 unsigned d3, d2, d1, d0; in put_dec_full() local
91 d1 = (q>>4) & 0xf; in put_dec_full()
[all …]
H A Dtiny-printf.c96 unsigned int d3, d2, d1, d0; in put_dec_trunc() local
97 d1 = (q >> 4) & 0xf; in put_dec_trunc()
101 d0 = 6 * (d3 + d2 + d1) + (q & 0xf); in put_dec_trunc()
105 d1 = q + 9 * d3 + 5 * d2 + d1; in put_dec_trunc()
106 if (d1 != 0) { in put_dec_trunc()
107 q = (d1 * 0xcd) >> 11; in put_dec_trunc()
108 d1 = d1 - 10 * q; in put_dec_trunc()
109 *buf++ = d1 + '0'; /* next digit */ in put_dec_trunc()
/rk3399_rockchip-uboot/board/freescale/m54451evb/
H A Dsbf_dram_init.S26 move.l #0x13, %d1
34 add.l #1, %d1
42 or.l %d1, (%a1)
45 or.l %d1, (%a2)
64 move.l #1000, %d1
83 move.l #500, %d1
86 move.l #(CONFIG_SYS_SDRAM_CTRL), %d1
87 and.l #0x7FFFFFFF, %d1
89 or.l #0x10000C00, %d1
91 move.l %d1, (%a2)
[all …]
/rk3399_rockchip-uboot/board/freescale/m54455evb/
H A Dsbf_dram_init.S26 move.l #0x13, %d1
34 add.l #1, %d1
42 or.l %d1, (%a1)
45 or.l %d1, (%a2)
70 move.l #1000, %d1
87 move.l #500, %d1
90 move.l #(CONFIG_SYS_SDRAM_CTRL), %d1
91 and.l #0x7FFFFFFF, %d1
93 or.l #0x10000C00, %d1
95 move.l %d1, (%a2)
[all …]
/rk3399_rockchip-uboot/fs/yaffs2/
H A Dyaffs_ecc.c138 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()
/rk3399_rockchip-uboot/include/
H A Drockchip_ir.h87 static inline bool eq_margin(unsigned d1, unsigned d2, unsigned margin) in eq_margin() argument
89 return ((d1 > (d2 - margin)) && (d1 < (d2 + margin))); in eq_margin()
H A Defi.h89 #define EFI_GUID(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) \ argument
95 (d0), (d1), (d2), (d3), (d4), (d5), (d6), (d7) } })
/rk3399_rockchip-uboot/arch/m68k/cpu/mcf5227x/
H A Dstart.S136 move.l #0x13, %d1
144 add.l #1, %d1
150 or.l %d1, (%a1)
153 or.l %d1, (%a2)
275 move.b %d1, (%a0) /* read, copy to dst */
287 move.b %d1, (%a4) /* read, copy to dst */
318 move.b (%a3), %d1
433 move.l %a0, %d1
434 add.l #(_ebss - CONFIG_SYS_MONITOR_BASE),%d1
437 cmp.l %a1,%d1
[all …]
/rk3399_rockchip-uboot/arch/nios2/lib/
H A Dlibgcc.c153 UWtype d0, d1, n0, n1, n2; in __udivmoddi4() local
158 d1 = dd.s.high; in __udivmoddi4()
163 if (d1 == 0) in __udivmoddi4()
197 if (d1 == 0) in __udivmoddi4()
273 if (d1 > n1) in __udivmoddi4()
292 count_leading_zeros (bm, d1); in __udivmoddi4()
303 if (n1 > d1 || n0 >= d0) in __udivmoddi4()
306 sub_ddmmss (n1, n0, n1, n0, d1, d0); in __udivmoddi4()
327 d1 = (d1 << bm) | (d0 >> b); in __udivmoddi4()
333 udiv_qrnnd (q0, n1, n2, n1, d1); in __udivmoddi4()
[all …]
/rk3399_rockchip-uboot/arch/m68k/cpu/mcf5445x/
H A Dstart.S261 move.b %d1, (%a0) /* read, copy to dst */
273 move.b %d1, (%a4) /* read, copy to dst */
303 move.b (%a3), %d1
326 or.l #0x00000040, %d1
327 move.l %d1, (%a1)
378 move.l #0x2000, %d1
406 move.l #0x200, %d1
440 subq.l #1, %d1
562 move.l %a0, %d1
563 add.l #(_ebss - CONFIG_SYS_MONITOR_BASE),%d1
[all …]
/rk3399_rockchip-uboot/arch/m68k/cpu/mcf547x_8x/
H A Dstart.S201 move.l %a0, %d1
202 add.l #(_ebss - CONFIG_SYS_MONITOR_BASE),%d1
205 cmp.l %a1,%d1
219 move.l (%a1),%d1
220 sub.l #_start,%d1
221 add.l %a0,%d1
222 move.l %d1,(%a1)+
/rk3399_rockchip-uboot/arch/m68k/cpu/mcf530x/
H A Dstart.S197 move.l %a0, %d1
198 add.l #(_ebss - CONFIG_SYS_MONITOR_BASE), %d1
201 cmp.l %a1,%d1
217 move.l (%a1),%d1
218 sub.l #_start, %d1
219 add.l %a0,%d1
220 move.l %d1,(%a1)+
/rk3399_rockchip-uboot/arch/m68k/cpu/mcf523x/
H A Dstart.S198 move.l %a0, %d1
199 add.l #(_ebss - CONFIG_SYS_MONITOR_BASE),%d1
202 cmp.l %a1,%d1
216 move.l (%a1),%d1
217 sub.l #_start,%d1
218 add.l %a0,%d1
219 move.l %d1,(%a1)+
/rk3399_rockchip-uboot/arch/m68k/cpu/mcf532x/
H A Dstart.S213 move.l %a0, %d1
214 add.l #(_ebss - CONFIG_SYS_MONITOR_BASE),%d1
217 cmp.l %a1,%d1
231 move.l (%a1),%d1
232 sub.l #_start,%d1
233 add.l %a0,%d1
234 move.l %d1,(%a1)+
/rk3399_rockchip-uboot/arch/m68k/cpu/mcf52x2/
H A Dstart.S276 move.l %a0, %d1
277 add.l #(_ebss - CONFIG_SYS_MONITOR_BASE),%d1
280 cmp.l %a1,%d1
294 move.l (%a1),%d1
295 sub.l #_start,%d1
296 add.l %a0,%d1
297 move.l %d1,(%a1)+
/rk3399_rockchip-uboot/arch/x86/lib/
H A Dstring.c136 int d0, d1, d2, d3, d4, d5; in memmove() local
285 : "=&c" (d0), "=&S" (d1), "=&D" (d2), in memmove()
/rk3399_rockchip-uboot/drivers/timer/
H A Dtsc_timer.c202 unsigned long d1, d2; in quick_pit_calibrate() local
230 if (pit_expect_msb(0xff, &tsc, &d1)) { in quick_pit_calibrate()
239 if (d1+d2 >= delta >> 11) in quick_pit_calibrate()
/rk3399_rockchip-uboot/drivers/video/drm/rk628/
H A Drk628_cru.c27 unsigned long n, d, n0, d0, n1, d1; in rational_best_approximation() local
31 n0 = d1 = 0; in rational_best_approximation()
36 if ((n1 > max_numerator) || (d1 > max_denominator)) { in rational_best_approximation()
38 d1 = d0; in rational_best_approximation()
50 t = d0 + a * d1; in rational_best_approximation()
51 d0 = d1; in rational_best_approximation()
52 d1 = t; in rational_best_approximation()
55 *best_denominator = d1; in rational_best_approximation()
/rk3399_rockchip-uboot/drivers/clk/
H A Dclk_zynq.c294 u32 d0, d1; in zynq_clk_calc_peripheral_two_divs() local
297 for (d1 = 1; d1 <= ZYNQ_CLK_MAXDIV >> 1; d1++) { in zynq_clk_calc_peripheral_two_divs()
299 DIV_ROUND_CLOSEST(pll_rate, d0), d1); in zynq_clk_calc_peripheral_two_divs()
304 *div1 = d1; in zynq_clk_calc_peripheral_two_divs()
H A Dclk_zynqmp.c429 u32 d0, d1; in zynqmp_clk_calc_peripheral_two_divs() local
432 for (d1 = 1; d1 <= ZYNQ_CLK_MAXDIV >> 1; d1++) { in zynqmp_clk_calc_peripheral_two_divs()
434 DIV_ROUND_CLOSEST(pll_rate, d0), d1); in zynqmp_clk_calc_peripheral_two_divs()
439 *div1 = d1; in zynqmp_clk_calc_peripheral_two_divs()
/rk3399_rockchip-uboot/arch/m68k/include/asm/
H A Dptrace.h16 ulong d1; member
/rk3399_rockchip-uboot/scripts/dtc/
H A Ddata.c154 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()
/rk3399_rockchip-uboot/arch/x86/include/asm/
H A Dbitops.h267 int d0, d1, d2; in find_first_zero_bit() local
284 :"=d" (res), "=&c" (d0), "=&D" (d1), "=&a" (d2) in find_first_zero_bit()
/rk3399_rockchip-uboot/arch/m68k/lib/
H A Dtraps.c26 fp->d0, fp->d1, fp->d2, fp->d3); in show_frame()

12