Home
last modified time | relevance | path

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

12345678

/Linux-v4.19/arch/m68k/lib/
Dudivsi3.S69 #define d2 REG (d2) macro
90 movel d2, sp@-
96 movel d0, d2
97 clrw d2
98 swap d2
99 divu d1, d2 /* high quotient in lower word */
100 movew d2, d0 /* save high quotient */
102 movew sp@(10), d2 /* get low dividend + high rest */
103 divu d1, d2 /* low quotient */
104 movew d2, d0
[all …]
Ddivsi3.S71 #define d2 REG (d2) macro
91 movel d2, sp@-
93 moveq IMM (1), d2 /* sign of result stored in d2 (=1 or =-1) */
98 negb d2 /* change sign because divisor <0 */
100 negl d2 /* change sign because divisor <0 */
106 negb d2
108 negl d2
116 tstb d2
120 L3: movel sp@+, d2
/Linux-v4.19/drivers/block/
Dswim_asm.S69 movew #seek_time, %d2
85 dbmi %d2, wait_addr_mark_byte
93 moveq #max_retry, %d2
96 dbmi %d2, amark0
101 moveq #max_retry, %d2
104 dbmi %d2, amark1
109 moveq #max_retry, %d2
112 dbmi %d2, amark2
117 moveq #max_retry, %d2
120 dbmi %d2, amark3
[all …]
/Linux-v4.19/arch/m68k/math-emu/
Dfp_movem.S52 btst #11,%d2
54 bfextu %d2{#24,#8},%d0 | static register list
56 1: bfextu %d2{#25,#3},%d0 | dynamic register list
67 btst #12,%d2
72 2: btst #13,%d2
135 btst #12,%d2
139 1: btst #13,%d2
144 getuser.l (%a0)+,%d2,fp_err_ua1,%a0
145 lsr.l #8,%d2
146 lsr.l #7,%d2
[all …]
Dfp_decode.h73 bfextu %d2{#8,#2},%d0
85 bfextu %d2{#16,#3},%d0
99 bfextu %d2{#19,#3},%d0
104 bfextu %d2{#19,#3},%d0
109 bfextu %d2{#22,#3},%d0
115 bfextu %d2{#10,#3},%d0
130 bfextu %d2{#13,#3},%d0
135 move.b %d2,%d0
141 bfextu %d2{#17,#3},%d0 | get the register nr
142 btst #15,%d2 | test for data/addr register
[all …]
Dfp_move.S84 move.l %d1,%d2
99 swap %d2
100 move.w %d2,%d0
103 move.w %d2,%d1
111 swap %d2
112 move.w %d2,%d0
115 move.l %d2,%d1
122 swap %d2
123 move.w %d2,%d1
130 swap %d2
[all …]
/Linux-v4.19/include/asm-generic/
Dxor.h109 register long d0, d1, d2, d3, d4, d5, d6, d7; in xor_32regs_2() local
112 d2 = p1[2]; in xor_32regs_2()
120 d2 ^= p2[2]; in xor_32regs_2()
128 p1[2] = d2; in xor_32regs_2()
146 register long d0, d1, d2, d3, d4, d5, d6, d7; in xor_32regs_3() local
149 d2 = p1[2]; in xor_32regs_3()
157 d2 ^= p2[2]; in xor_32regs_3()
165 d2 ^= p3[2]; in xor_32regs_3()
173 p1[2] = d2; in xor_32regs_3()
192 register long d0, d1, d2, d3, d4, d5, d6, d7; in xor_32regs_4() local
[all …]
/Linux-v4.19/drivers/net/wan/
Dwanxlfw.S321 movel #TX_BUFFERS - 2, %d2 // D2 = TX_BUFFERS - 1 counter
330 dbfw %d2, open_port_tx_loop
337 movel #RX_BUFFERS - 2, %d2 // D2 = RX_BUFFERS - 1 counter
342 dbfw %d2, open_port_rx_loop
454 movel %d1, %d2 // D1 = D2 = tx_out BD# = desc#
455 mulul #DESC_LENGTH, %d2 // D2 = TX desc offset
456 addl ch_status_addr(%d0), %d2
457 addl #STATUS_TX_DESCS, %d2 // D2 = TX desc address
458 cmpl #PACKET_FULL, (%d2) // desc status
462 movel 4(%d2), %a0 // PCI address
[all …]
/Linux-v4.19/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()
121 int d0, d1, d2; in strncmp() local
134 : "=a" (res), "=&S" (d0), "=&D" (d1), "=&c" (d2) in strncmp()
/Linux-v4.19/arch/m68k/fpsp040/
Dstwotox.S233 movel %d2,-(%sp)
237 movel %d0,%d2
241 asrl #6,%d2 | ...d2 IS L, N = 64L + J
242 movel %d2,%d0
244 subl %d0,%d2 | ...d2 IS M', N = 64(M+M') + J
245 addil #0x3FFF,%d2
246 movew %d2,ADJFACT(%a6) | ...ADJFACT IS 2^(M')
336 movel %d2,-(%sp)
340 movel %d0,%d2
344 asrl #6,%d2 | ...d2 IS L, N = 64L + J
[all …]
Dbinstr.S7 | Input: 64-bit binary integer in d2:d3, desired length (LEN) in
26 | Copy the fraction in d2:d3 to d4:d5.
28 | A3. Multiply the fraction in d2:d3 by 8 using bit-field
29 | extracts and shifts. The three msbs from d2 will go into
35 | A5. Add using the carry the 64-bit quantities in d2:d3 and d4:d5
36 | into d2:d3. D1 will contain the bcd digit formed.
51 | d2: upper 32-bits of fraction for mul by 8
81 | A2. Copy d2:d3 to d4:d5. Start loop.
84 movel %d2,%d4 |copy the fraction before muls
87 | A3. Multiply d2:d3 by 8; extract msbs into d1.
[all …]
Dround.S144 moveml %d2/%d3,-(%a7) |make some temp registers
149 movel #30,%d2 |of the sgl prec. limits
150 lsll %d2,%d3 |shift g-r bits to MSB of d3
151 movel LOCAL_HI(%a0),%d2 |get word 2 for s-bit test
152 andil #0x0000003f,%d2 |s bit is the or of all other
161 movel #30,%d2 |of the dbl prec. limits
162 lsll %d2,%d3 |shift g-r bits to the MSB of d3
163 movel LOCAL_LO(%a0),%d2 |get lower mantissa for s-bit test
164 andil #0x000001ff,%d2 |s bit is the or-ing of all
173 moveml (%a7)+,%d2/%d3 |restore scratch registers
[all …]
Dsrem_mod.S110 moveml %d2-%d7,-(%a7) | ...save data registers
164 movel -4(%a0),%d2 | ...(D0,D1,D2) is |X|
172 movel %d2,%d1
173 clrl %d2
187 movel %d2,%d7 | ...a copy of D2
188 lsll %d6,%d2
229 cmpl %d5,%d2 | ...compare lo(R) and lo(Y)
242 subl %d5,%d2 | ...lo(R) - lo(Y)
253 addl %d2,%d2 | ...lo(R) = 2lo(R)
271 movel %d2,%d1
[all …]
/Linux-v4.19/arch/m68k/ifpsp060/src/
Ditest.S170 mov.l &0x99999999,%d2
177 mulu.l %d1,%d2:%d3
194 mov.l &0x99999999,%d2
201 mulu.l %d1,%d2:%d3
218 mov.l &0x66666666,%d2
224 mulu.l %d1,%d2:%d2
240 mov.l &0x00000000,%d2
247 mulu.l %d1,%d2:%d3
264 mov.l &0x00000000,%d2
271 mulu.l %d1,%d2:%d3
[all …]
Dilsp.S111 movm.l &0x3f00,-(%sp) # save d2-d7
126 movm.l &0x3f00,-(%sp) # save d2-d7
343 mov.l %d5, %d2 # dividend mslw
344 swap %d2
346 cmp.w %d2, %d3 # V1 = U1 ?
365 mov.l %d1, %d2
366 mulu.w %d7, %d2 # V2q
382 cmp.l %d2, %d4
394 mov.l %d5, %d2 # now %d2,%d3 are trial*divisor
399 subx.l %d2, %d5 # subtract double precision
[all …]
/Linux-v4.19/drivers/staging/comedi/drivers/
Dcomedi_8254.c358 unsigned int d2 = i8254->next_div2 ? i8254->next_div2 : I8254_MAX_COUNT; in comedi_8254_cascade_ns_to_timer() local
359 unsigned int div = d1 * d2; in comedi_8254_cascade_ns_to_timer()
374 d2 > 1 && d2 <= I8254_MAX_COUNT && in comedi_8254_cascade_ns_to_timer()
376 div > d1 && div > d2 && in comedi_8254_cascade_ns_to_timer()
382 d2 = I8254_MAX_COUNT; in comedi_8254_cascade_ns_to_timer()
383 start = div / d2; 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()
393 d2_glb = d2; in comedi_8254_cascade_ns_to_timer()
[all …]
/Linux-v4.19/drivers/iio/adc/
Dtwl6030-gpadc.c575 int channel, int d1, int d2) in twl6030_calibrate_channel() argument
590 k = 1000 + (((d2 - d1) * 1000) / (x2 - x1)); in twl6030_calibrate_channel()
600 dev_dbg(gpadc->dev, "GPADC d2 for Chn: %d = %d\n", channel, d2); in twl6030_calibrate_channel()
627 s8 d1, d2; in twl6030_calibration() local
648 d2 = trim_regs[1]; in twl6030_calibration()
656 d2 = trim_regs[5]; in twl6030_calibration()
660 d2 = trim_regs[13]; in twl6030_calibration()
664 d2 = trim_regs[7]; in twl6030_calibration()
668 d2 = trim_regs[3]; in twl6030_calibration()
672 d2 = trim_regs[9]; in twl6030_calibration()
[all …]
/Linux-v4.19/arch/arm/crypto/
Dcrc32-ce-core.S139 veor.8 d2, d2, dCONSTANTl
154 vmull.p64 q1, d2, dCONSTANTl
181 vmull.p64 q1, d2, dCONSTANTl
186 vmull.p64 q1, d2, dCONSTANTl
191 vmull.p64 q1, d2, dCONSTANTl
203 vmull.p64 q1, d2, dCONSTANTl
212 vmull.p64 q2, d2, dCONSTANTh
222 vand.8 d2, d2, d6
223 vmull.p64 q1, d2, dCONSTANTl
/Linux-v4.19/drivers/scsi/snic/
Dsnic_trc.h65 snic_trace(char *fn, u16 hno, u32 tag, u64 d1, u64 d2, u64 d3, u64 d4, u64 d5) in snic_trace() argument
76 tr_rec->data[1] = d2; in snic_trace()
83 #define SNIC_TRC(_hno, _tag, d1, d2, d3, d4, d5) \ argument
90 (u64)(d2), \
97 #define SNIC_TRC(_hno, _tag, d1, d2, d3, d4, d5) \ argument
105 (u64)(d2), \
/Linux-v4.19/include/uapi/linux/
Duuid.h27 #define GUID_INIT(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) \ argument
32 (d0), (d1), (d2), (d3), (d4), (d5), (d6), (d7) }})
36 #define UUID_LE(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) \ argument
37 GUID_INIT(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7)
/Linux-v4.19/arch/m68k/coldfire/
Dhead.S72 movel MCFSIM_SDCS0, %d2 /* Get SDRAM chip select 0 config */
73 andl #0x1f, %d2 /* Get only the chip select size */
75 addql #1, %d2 /* Form exponent */
77 lsll %d2, %d0 /* 2 ^ exponent */
79 movel MCFSIM_SDCS1, %d2 /* Get SDRAM chip select 1 config */
80 andl #0x1f, %d2 /* Get only the chip select size */
82 addql #1, %d2 /* Form exponent */
84 lsll %d2, %d1 /* 2 ^ exponent */
Dentry.S65 GET_CURRENT(%d2)
75 movel %sp,%d2 /* get thread_info pointer */
76 andl #-THREAD_SIZE,%d2 /* at start of kernel stack */
77 movel %d2,%a0
88 movel #-ENOSYS,%d2 /* strace needs -ENOSYS in PT_OFF_D0 */
89 movel %d2,PT_OFF_D0(%sp) /* on syscall entry */
167 GET_CURRENT(%d2)
/Linux-v4.19/arch/x86/boot/compressed/
Dstring.c16 int d0, d1, d2; in __memcpy() local
21 : "=&c" (d0), "=&D" (d1), "=&S" (d2) in __memcpy()
30 long d0, d1, d2; in __memcpy() local
35 : "=&c" (d0), "=&D" (d1), "=&S" (d2) in __memcpy()
/Linux-v4.19/fs/ntfs/
Dcollate.c49 u32 d1, d2; in ntfs_collate_ntofs_ulong() local
56 d2 = le32_to_cpup(data2); in ntfs_collate_ntofs_ulong()
57 if (d1 < d2) in ntfs_collate_ntofs_ulong()
60 if (d1 == d2) in ntfs_collate_ntofs_ulong()
/Linux-v4.19/arch/nios2/kernel/
Dmisaligned.c70 u8 a, b, d0, d1, d2, d3; in handle_unaligned_c() local
124 d2 = val >> 16; in handle_unaligned_c()
130 *(u8 *)(addr+2) = d2; in handle_unaligned_c()
135 fault |= __put_user(d2, (u8 *)(addr+2)); in handle_unaligned_c()
142 fault |= __get_user(d2, (u8 *)(addr+2)); in handle_unaligned_c()
144 val = (d3 << 24) | (d2 << 16) | (d1 << 8) | d0; in handle_unaligned_c()

12345678