Home
last modified time | relevance | path

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

1234567891011

/linux-6.1.9/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 …]
/linux-6.1.9/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 …]
/linux-6.1.9/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 …]
/linux-6.1.9/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 …]
/linux-6.1.9/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 …]
/linux-6.1.9/lib/math/
Drational.c51 unsigned long n, d, n0, d0, n1, d1, n2, d2; in rational_best_approximation() local
54 n0 = d1 = 0; in rational_best_approximation()
75 d2 = d0 + a * d1; in rational_best_approximation()
85 if (d1) in rational_best_approximation()
86 t = (max_denominator - d0) / d1; in rational_best_approximation()
94 if (!d1 || 2u * t > a || (2u * t == a && d0 * dp > d1 * d)) { in rational_best_approximation()
96 d1 = d0 + t * d1; in rational_best_approximation()
102 d0 = d1; in rational_best_approximation()
103 d1 = d2; in rational_best_approximation()
106 *best_denominator = d1; in rational_best_approximation()
/linux-6.1.9/arch/m68k/coldfire/
Dentry.S108 movel %sp,%d1 /* get thread_info pointer */
109 andl #-THREAD_SIZE,%d1 /* at base of kernel stack */
110 movel %d1,%a0
111 movel %a0@(TINFO_FLAGS),%d1 /* get thread_info->flags */
112 andl #(1<<TIF_NEED_RESCHED),%d1
115 movel %a0@(TINFO_PREEMPT),%d1
116 cmpl #0,%d1
124 moveml %sp@,%d1-%d5/%a0-%a2
132 movel %sp,%d1 /* get thread_info pointer */
133 andl #-THREAD_SIZE,%d1 /* at base of kernel stack */
[all …]
/linux-6.1.9/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 …]
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
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
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
/linux-6.1.9/include/asm-generic/
Dxor.h109 register long d0, d1, d2, d3, d4, d5, d6, d7; in xor_32regs_2() local
111 d1 = p1[1]; /* ... in bursts, if possible. */ in xor_32regs_2()
119 d1 ^= p2[1]; in xor_32regs_2()
127 p1[1] = d1; in xor_32regs_2()
147 register long d0, d1, d2, d3, d4, d5, d6, d7; in xor_32regs_3() local
149 d1 = p1[1]; /* ... in bursts, if possible. */ in xor_32regs_3()
157 d1 ^= p2[1]; in xor_32regs_3()
165 d1 ^= p3[1]; in xor_32regs_3()
173 p1[1] = d1; in xor_32regs_3()
195 register long d0, d1, d2, d3, d4, d5, d6, d7; in xor_32regs_4() local
[all …]
/linux-6.1.9/arch/x86/lib/
Dstring_32.c21 int d0, d1, d2; in strcpy() local
26 : "=&S" (d0), "=&D" (d1), "=&a" (d2) in strcpy()
36 int d0, d1, d2, d3; in strncpy() local
46 : "=&S" (d0), "=&D" (d1), "=&c" (d2), "=&a" (d3) in strncpy()
56 int d0, d1, d2, d3; in strcat() local
64 : "=&S" (d0), "=&D" (d1), "=&a" (d2), "=&c" (d3) in strcat()
74 int d0, d1, d2, d3; in strncat() local
87 : "=&S" (d0), "=&D" (d1), "=&a" (d2), "=&c" (d3) in strncat()
98 int d0, d1; in strcmp() local
110 : "=a" (res), "=&S" (d0), "=&D" (d1) in strcmp()
[all …]
/linux-6.1.9/arch/m68k/kernel/
Dhead.S671 clrl %d1
678 bset #CPUTYPE_060,%d1
679 bset #CPUTYPE_0460,%d1
687 bset #CPUTYPE_040,%d1
688 bset #CPUTYPE_0460,%d1
696 bset #CPUTYPE_020,%d1
703 movel %d1,%a0@
721 clrl %d1
746 movel #_PAGE_CACHE040W,%d1
754 movel %d1,%a0@
[all …]
/linux-6.1.9/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 …]
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/comedi/drivers/
Dcomedi_8254.c355 unsigned int d1 = i8254->next_div1 ? i8254->next_div1 : I8254_MAX_COUNT; in comedi_8254_cascade_ns_to_timer() local
357 unsigned int div = d1 * d2; in comedi_8254_cascade_ns_to_timer()
371 d1 > 1 && d1 <= I8254_MAX_COUNT && in comedi_8254_cascade_ns_to_timer()
374 div > d1 && div > d2 && in comedi_8254_cascade_ns_to_timer()
384 for (d1 = start; d1 <= div / d1 + 1 && d1 <= I8254_MAX_COUNT; d1++) { in comedi_8254_cascade_ns_to_timer()
385 for (d2 = div / d1; in comedi_8254_cascade_ns_to_timer()
386 d1 * d2 <= div + d1 + 1 && d2 <= I8254_MAX_COUNT; d2++) { in comedi_8254_cascade_ns_to_timer()
387 ns = i8254->osc_base * d1 * d2; in comedi_8254_cascade_ns_to_timer()
390 d1_glb = d1; in comedi_8254_cascade_ns_to_timer()
395 d1_lub = d1; in comedi_8254_cascade_ns_to_timer()
[all …]
/linux-6.1.9/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 …]
/linux-6.1.9/arch/m68k/68000/
Dentry.S48 movel %sp@(PT_OFF_ORIG_D0),%d1
50 cmpl #NR_syscalls,%d1
52 lsl #2,%d1
54 jbsr %a0@(%d1)
74 movel %sp,%d1 /* get thread_info pointer */
75 andl #-THREAD_SIZE,%d1
76 movel %d1,%a2
100 movel %sp,%d1 /* get thread_info pointer */
101 andl #-THREAD_SIZE,%d1
102 movel %d1,%a2
[all …]
/linux-6.1.9/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()
/linux-6.1.9/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 …]

1234567891011