Home
last modified time | relevance | path

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

12345678910

/kernel/linux/linux-5.10/drivers/video/fbdev/core/
Dcfbcopyarea.c107 unsigned long d0, d1; in bitcpy() local
127 d1 = FB_READL(src + 1); in bitcpy()
128 d1 = fb_rev_pixels_in_long(d1, bswapmask); in bitcpy()
129 d0 = d0 >> right | d1 << left; in bitcpy()
145 d1 = d0; in bitcpy()
150 d1 = FB_READL(src++); in bitcpy()
151 d1 = fb_rev_pixels_in_long(d1, bswapmask); in bitcpy()
153 d0 = d0 >> right | d1 << left; in bitcpy()
158 d0 = d1; in bitcpy()
165 d1 = FB_READL(src++); in bitcpy()
[all …]
Dsyscopyarea.c76 unsigned long d0, d1; in bitcpy() local
96 d1 = *src; in bitcpy()
97 *dst = comp(d0 >> right | d1 << left, *dst, in bitcpy()
117 d1 = *src++; in bitcpy()
118 *dst = comp(d0 >> right | d1 << left, *dst, in bitcpy()
120 d0 = d1; in bitcpy()
129 d1 = *src++; in bitcpy()
130 *dst++ = d0 >> right | d1 << left; in bitcpy()
131 d0 = d1; in bitcpy()
132 d1 = *src++; in bitcpy()
[all …]
/kernel/linux/linux-5.10/drivers/net/wan/
Dwanxlfw.S301 movel SICR, %d1 // D1 = clock settings in SICR
302 andl clocking_mask(%d0), %d1
305 orl clocking_txfromrx(%d0), %d1
309 orl clocking_ext(%d0), %d1
311 movel %d1, SICR // update clock settings in SICR
317 movel first_buffer(%d0), %d1 // D1 = starting buffer address
326 movel %d1, (%a1)+ // buffer address
327 addl #BUFFER_LENGTH, %d1
332 movel %d1, (%a1)+ // buffer address
338 movel %d1, (%a1)+ // buffer address
[all …]
/kernel/linux/linux-5.10/arch/arm64/crypto/
Dpoly1305-armv8.pl47 my ($h0,$h1,$h2,$r0,$r1,$s1,$t0,$t1,$d0,$d1,$d2) = map("x$_",(4..14));
96 adr $d1,.Lpoly1305_emit
101 stp w#$d0,w#$d1,[$len]
103 stp $d0,$d1,[$len]
124 mov w#$d1,w#$h0
130 lsr $d1,$h0,#32
136 add $d0,$d0,$d1,lsl#26 // base 2^26 -> base 2^64
137 lsr $d1,$d2,#12
139 add $d1,$d1,x15,lsl#14
140 adc $d1,$d1,xzr
[all …]
/kernel/linux/linux-5.10/arch/m68k/math-emu/
Dfp_util.S99 clr.l %d1 | sign defaults to zero
103 moveq #1,%d1
105 1: swap %d1
106 move.w #0x3fff+31,%d1
107 move.l %d1,(%a0)+ | set sign / exp
130 move.l %d0,%d1
132 lsr.l #8,%d1 | exponent / sign
133 lsr.l #7,%d1
134 lsr.w #8,%d1
136 cmp.w #0xff,%d1 | NaN / Inf?
[all …]
Dfp_movem.S46 | %d1 contains the mask and count of the register list
58 2: move.l %d0,%d1
59 swap %d1
61 1: addq.w #1,%d1 | count the # of registers in
62 2: lsr.b #1,%d0 | register list and keep it in %d1
65 printf PDECODE,"#%08x",1,%d1
132 swap %d1 | get fpu register list
157 3: lsl.b #1,%d1
176 4: lsl.b #1,%d1
207 move.l %d0,%d1
[all …]
Dfp_move.S48 move.w %d0,%d1 | store data size twice in %d1
49 swap %d1 | one can be trashed below
50 move.w %d0,%d1
54 move.b (%a0,%d1.w),%d0
75 move.w %d0,%d1
83 swap %d1
84 move.l %d1,%d2
86 jmp ([0f:w,%pc,%d1.w*4])
98 move.l %d0,%d1
102 move.b %d1,%d0
[all …]
Dfp_cond.S83 swap %d1 | test condition in %d1
84 tst.w %d1
86 move.l %d0,%d1
102 move.w %d0,%d1
103 swap %d1
116 move.w %d0,%d1 | save register nr
118 swap %d1
119 move.b %d1,%d0
120 swap %d1
165 swap %d1
[all …]
/kernel/linux/linux-5.10/lib/math/
Drational.c50 unsigned long n, d, n0, d0, n1, d1, n2, d2; in rational_best_approximation() local
53 n0 = d1 = 0; in rational_best_approximation()
74 d2 = d0 + a * d1; in rational_best_approximation()
84 if (d1) in rational_best_approximation()
85 t = (max_denominator - d0) / d1; in rational_best_approximation()
93 if (!d1 || 2u * t > a || (2u * t == a && d0 * dp > d1 * d)) { in rational_best_approximation()
95 d1 = d0 + t * d1; in rational_best_approximation()
101 d0 = d1; in rational_best_approximation()
102 d1 = d2; in rational_best_approximation()
105 *best_denominator = d1; in rational_best_approximation()
/kernel/linux/linux-5.10/arch/m68k/fpsp040/
Dround.S24 | d1(high word) contains rounding precision:
28 | d1(low word) contains rounding mode:
55 swap %d1 |set up d1.w for round prec.
64 movel (%a1,%d1.w*4),%a1
67 | Jump table indexed by rounding mode in d1.w. All following assumes
81 swap %d1 |set up d1 for round prec.
99 movel (%a1,%d1.w*4),%a1
106 swap %d1 |set up d1 for round prec.
116 swap %d1 |set up d1 for round prec.
120 movel (%a1,%d1.w*4),%a1
[all …]
/kernel/linux/linux-5.10/arch/m68k/coldfire/
Dentry.S112 movel %sp,%d1 /* get thread_info pointer */
113 andl #-THREAD_SIZE,%d1 /* at base of kernel stack */
114 movel %d1,%a0
115 movel %a0@(TINFO_FLAGS),%d1 /* get thread_info->flags */
116 andl #(1<<TIF_NEED_RESCHED),%d1
119 movel %a0@(TINFO_PREEMPT),%d1
120 cmpl #0,%d1
128 moveml %sp@,%d1-%d5/%a0-%a2
136 movel %sp,%d1 /* get thread_info pointer */
137 andl #-THREAD_SIZE,%d1 /* at base of kernel stack */
[all …]
/kernel/linux/linux-5.10/arch/m68k/lib/
Dudivsi3.S68 #define d1 REG (d1) macro
91 movel sp@(12), d1 /* d1 = divisor */
94 cmpl IMM (0x10000), d1 /* divisor >= 2 ^ 16 ? */
99 divu d1, d2 /* high quotient in lower word */
103 divu d1, d2 /* low quotient */
107 L3: movel d1, d2 /* use d2 as divisor backup */
108 L4: lsrl IMM (1), d1 /* shift divisor */
110 cmpl IMM (0x10000), d1 /* still divisor >= 2 ^ 16 ? */
112 divu d1, d0 /* now we have 16 bit divisor */
118 movel d2, d1
[all …]
Dmodsi3.S70 #define d1 REG (d1) macro
91 movel sp@(8), d1 /* d1 = divisor */
93 movel d1, sp@-
97 movel sp@(8), d1 /* d1 = divisor */
99 movel d1, sp@-
104 mulsl d1,d0
106 movel sp@(4), d1 /* d1 = dividend */
107 subl d0, d1 /* d1 = a - (a/b)*b */
108 movel d1, d0
Dumodsi3.S68 #define d1 REG (d1) macro
89 movel sp@(8), d1 /* d1 = divisor */
91 movel d1, sp@-
95 movel sp@(8), d1 /* d1 = divisor */
97 movel d1, sp@-
102 mulsl d1,d0
104 movel sp@(4), d1 /* d1 = dividend */
105 subl d0, d1 /* d1 = a - (a/b)*b */
106 movel d1, d0
Dmulsi3.S68 #define d1 REG (d1) macro
91 movew sp@(6), d1 /* x1 -> d1 */
92 muluw sp@(8), d1 /* x1*y0 */
94 addw d1, d0
96 addl d1, d0
100 movew sp@(6), d1 /* x1 -> d1 */
101 muluw sp@(10), d1 /* x1*y1 */
102 addl d1, d0
/kernel/linux/linux-5.10/include/asm-generic/
Dxor.h101 register long d0, d1, d2, d3, d4, d5, d6, d7; in xor_32regs_2() local
103 d1 = p1[1]; /* ... in bursts, if possible. */ in xor_32regs_2()
111 d1 ^= p2[1]; in xor_32regs_2()
119 p1[1] = d1; in xor_32regs_2()
138 register long d0, d1, d2, d3, d4, d5, d6, d7; in xor_32regs_3() local
140 d1 = p1[1]; /* ... in bursts, if possible. */ in xor_32regs_3()
148 d1 ^= p2[1]; in xor_32regs_3()
156 d1 ^= p3[1]; in xor_32regs_3()
164 p1[1] = d1; in xor_32regs_3()
184 register long d0, d1, d2, d3, d4, d5, d6, d7; in xor_32regs_4() local
[all …]
/kernel/linux/linux-5.10/arch/x86/lib/
Dstring_32.c20 int d0, d1, d2; in strcpy() local
25 : "=&S" (d0), "=&D" (d1), "=&a" (d2) in strcpy()
35 int d0, d1, d2, d3; in strncpy() local
45 : "=&S" (d0), "=&D" (d1), "=&c" (d2), "=&a" (d3) in strncpy()
55 int d0, d1, d2, d3; in strcat() local
63 : "=&S" (d0), "=&D" (d1), "=&a" (d2), "=&c" (d3) in strcat()
73 int d0, d1, d2, d3; in strncat() local
86 : "=&S" (d0), "=&D" (d1), "=&a" (d2), "=&c" (d3) in strncat()
97 int d0, d1; in strcmp() local
109 : "=a" (res), "=&S" (d0), "=&D" (d1) in strcmp()
[all …]
/kernel/linux/linux-5.10/arch/m68k/kernel/
Dhead.S661 clrl %d1
668 bset #CPUTYPE_060,%d1
669 bset #CPUTYPE_0460,%d1
677 bset #CPUTYPE_040,%d1
678 bset #CPUTYPE_0460,%d1
686 bset #CPUTYPE_020,%d1
693 movel %d1,%a0@
711 clrl %d1
736 movel #_PAGE_CACHE040W,%d1
744 movel %d1,%a0@
[all …]
/kernel/linux/linux-5.10/arch/m68k/ifpsp060/src/
Dfplsp.S565 movm.l &0x0303,EXC_DREGS(%a6) # save d0-d1/a0-a1
579 mov.b %d0,%d1
586 tst.b %d1
591 cmpi.b %d1,&ZERO # is operand a ZERO?
596 cmpi.b %d1,&INF # is operand an INF?
601 cmpi.b %d1,&QNAN # is operand a QNAN?
612 movm.l EXC_DREGS(%a6),&0x0303 # restore d0-d1/a0-a1
622 movm.l &0x0303,EXC_DREGS(%a6) # save d0-d1/a0-a1
636 mov.b %d0,%d1
643 mov.b %d1,STAG(%a6)
[all …]
/kernel/linux/linux-5.10/arch/mips/crypto/
Dpoly1305-mips.pl226 my ($h0,$h1,$h2,$r0,$r1,$rs1,$d0,$d1,$d2) =
369 daddu $d1,$h1,$in1
371 sltu $tmp1,$d1,$h1
372 daddu $d1,$tmp0
376 sltu $tmp0,$d1,$tmp0
380 dmultu ($rs1,$d1) # h1*5*r1
383 mflo ($tmp0,$rs1,$d1)
384 mfhi ($tmp1,$rs1,$d1)
393 dmultu ($r0,$d1) # h1*r0
396 mflo ($tmp0,$r0,$d1)
[all …]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Dcomedi_8254.c357 unsigned int d1 = i8254->next_div1 ? i8254->next_div1 : I8254_MAX_COUNT; in comedi_8254_cascade_ns_to_timer() local
359 unsigned int div = d1 * d2; in comedi_8254_cascade_ns_to_timer()
373 d1 > 1 && d1 <= I8254_MAX_COUNT && in comedi_8254_cascade_ns_to_timer()
376 div > d1 && div > d2 && in comedi_8254_cascade_ns_to_timer()
386 for (d1 = start; d1 <= div / d1 + 1 && d1 <= I8254_MAX_COUNT; d1++) { in comedi_8254_cascade_ns_to_timer()
387 for (d2 = div / d1; in comedi_8254_cascade_ns_to_timer()
388 d1 * d2 <= div + d1 + 1 && d2 <= I8254_MAX_COUNT; d2++) { in comedi_8254_cascade_ns_to_timer()
389 ns = i8254->osc_base * d1 * d2; in comedi_8254_cascade_ns_to_timer()
392 d1_glb = d1; in comedi_8254_cascade_ns_to_timer()
397 d1_lub = d1; in comedi_8254_cascade_ns_to_timer()
[all …]
/kernel/linux/linux-5.10/arch/nios2/kernel/
Dmisaligned.c70 u8 a, b, d0, d1, d2, d3; in handle_unaligned_c() local
99 fault |= __get_user(d1, (u8 *)(addr+1)); in handle_unaligned_c()
100 val = (d1 << 8) | d0; in handle_unaligned_c()
105 d1 = val >> 8; in handle_unaligned_c()
109 *(u8 *)(addr+1) = d1; in handle_unaligned_c()
112 fault |= __put_user(d1, (u8 *)(addr+1)); in handle_unaligned_c()
117 fault |= __get_user(d1, (u8 *)(addr+1)); in handle_unaligned_c()
118 val = (short)((d1 << 8) | d0); in handle_unaligned_c()
125 d1 = val >> 8; in handle_unaligned_c()
129 *(u8 *)(addr+1) = d1; in handle_unaligned_c()
[all …]
/kernel/linux/linux-5.10/arch/m68k/68000/
Dentry.S50 movel %sp@(PT_OFF_ORIG_D0),%d1
52 cmpl #NR_syscalls,%d1
54 lsl #2,%d1
56 jbsr %a0@(%d1)
78 movel %sp,%d1 /* get thread_info pointer */
79 andl #-THREAD_SIZE,%d1
80 movel %d1,%a2
104 movel %sp,%d1 /* get thread_info pointer */
105 andl #-THREAD_SIZE,%d1
106 movel %d1,%a2
[all …]
/kernel/linux/linux-5.10/arch/powerpc/math-emu/
Dudivmodti4.c12 _FP_W_TYPE d1, _FP_W_TYPE d0) in _fp_udivmodti4() argument
17 if (d1 == 0) in _fp_udivmodti4()
118 if (d1 > n1) in _fp_udivmodti4()
133 count_leading_zeros (bm, d1); in _fp_udivmodti4()
144 if (n1 > d1 || n0 >= d0) in _fp_udivmodti4()
147 sub_ddmmss (n1, n0, n1, n0, d1, d0); in _fp_udivmodti4()
165 d1 = (d1 << bm) | (d0 >> b); in _fp_udivmodti4()
171 udiv_qrnnd (q0, n1, n2, n1, d1); in _fp_udivmodti4()
177 sub_ddmmss (m1, m0, m1, m0, d1, d0); in _fp_udivmodti4()
/kernel/linux/linux-5.10/arch/m68k/ifpsp060/
Dos.S84 | d1 - 0 = success, !0 = failure
94 clr.l %d1 | return success
97 move.b (%a0)+,%d1 | copy 1 byte
99 movs.b %d1,(%a1)+
101 clr.l %d1 | return success
115 | d1 - 0 = success, !0 = failure
127 clr.l %d1 | return success
131 movs.b (%a0)+,%d1
132 move.b %d1,(%a1)+ | copy 1 byte
134 clr.l %d1 | return success
[all …]

12345678910