Home
last modified time | relevance | path

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

1234567

/linux/arch/m68k/lib/
H A 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 …]
H A 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/drivers/block/
H A Dswim_asm.S65 movew #seek_time, %d2
81 dbmi %d2, wait_addr_mark_byte
89 moveq #max_retry, %d2
92 dbmi %d2, amark0
97 moveq #max_retry, %d2
100 dbmi %d2, amark1
105 moveq #max_retry, %d2
108 dbmi %d2, amark2
113 moveq #max_retry, %d2
116 dbmi %d2, amark3
[all …]
/linux/arch/m68k/math-emu/
H A 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 …]
H A 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 …]
H A 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/include/asm-generic/
H A 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()
147 register long d0, d1, d2, d3, d4, d5, d6, d7; in xor_32regs_3() local
150 d2 = p1[2]; in xor_32regs_3()
158 d2 ^= p2[2]; in xor_32regs_3()
166 d2 ^= p3[2]; in xor_32regs_3()
174 p1[2] = d2; in xor_32regs_3()
195 register long d0, d1, d2, d3, d4, d5, d6, d7; in xor_32regs_4() local
[all …]
/linux/lib/crypto/arm64/
H A Dpoly1305-armv8.pl47 my ($h0,$h1,$h2,$r0,$r1,$s1,$t0,$t1,$d0,$d1,$d2) = map("x$_",(4..14));
128 lsr $d2,$h1,#32
134 mov w#$d2,w#$h1
140 lsr $d1,$d2,#12
141 adds $d0,$d0,$d2,lsl#52
144 lsr $d2,x16,#24
146 adc $d2,$d2,xzr
152 csel $h2,$h2,$d2,eq
174 umulh $d2,$h0,$r1
178 adc $d2,$d2,xzr
[all …]
/linux/drivers/net/wan/
H A Dwanxlfw.S319 movel #TX_BUFFERS - 2, %d2 // D2 = TX_BUFFERS - 1 counter
328 dbfw %d2, open_port_tx_loop
335 movel #RX_BUFFERS - 2, %d2 // D2 = RX_BUFFERS - 1 counter
340 dbfw %d2, open_port_rx_loop
452 movel %d1, %d2 // D1 = D2 = tx_out BD# = desc#
453 mulul #DESC_LENGTH, %d2 // D2 = TX desc offset
454 addl ch_status_addr(%d0), %d2
455 addl #STATUS_TX_DESCS, %d2 // D2 = TX desc address
456 cmpl #PACKET_FULL, (%d2) // desc status
460 movel 4(%d2), %a0 // PCI address
[all …]
/linux/arch/m68k/ifpsp060/src/
H A 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 …]
H A 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/lib/crypto/mips/
H A Dpoly1305-mips.pl224 my ($h0,$h1,$h2,$r0,$r1,$rs1,$d0,$d1,$d2) =
373 daddu $d2,$h2,$padbit
379 daddu $d2,$tmp1
380 daddu $d2,$tmp0
397 dmultu ($rs1,$d2) # h2*5*r1
400 mflo ($tmp2,$rs1,$d2)
402 dmultu ($r0,$d2) # h2*r0
405 mflo ($tmp3,$r0,$d2)
731 my ($d0,$d1,$d2,$d3) =
796 lw $d2,8($inp)
[all …]
/linux/arch/m68k/fpsp040/
H A 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 …]
H A 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 …]
H A 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 …]
/linux/drivers/iio/adc/
H A Dtwl6030-gpadc.c574 int channel, int d1, int d2) in twl6030_calibrate_channel() argument
589 k = 1000 + (((d2 - d1) * 1000) / (x2 - x1)); in twl6030_calibrate_channel()
599 dev_dbg(gpadc->dev, "GPADC d2 for Chn: %d = %d\n", channel, d2); in twl6030_calibrate_channel()
626 s8 d1, d2; in twl6030_calibration() local
647 d2 = trim_regs[1]; in twl6030_calibration()
655 d2 = trim_regs[5]; in twl6030_calibration()
659 d2 = trim_regs[13]; in twl6030_calibration()
663 d2 = trim_regs[7]; in twl6030_calibration()
667 d2 = trim_regs[3]; in twl6030_calibration()
671 d2 = trim_regs[9]; in twl6030_calibration()
[all …]
/linux/drivers/comedi/drivers/
H A Dcomedi_8254.c401 unsigned int d2 = i8254->next_div2 ? i8254->next_div2 : I8254_MAX_COUNT; in comedi_8254_cascade_ns_to_timer() local
402 unsigned int div = d1 * d2; in comedi_8254_cascade_ns_to_timer()
417 d2 > 1 && d2 <= I8254_MAX_COUNT && in comedi_8254_cascade_ns_to_timer()
419 div > d1 && div > d2 && in comedi_8254_cascade_ns_to_timer()
425 d2 = I8254_MAX_COUNT; in comedi_8254_cascade_ns_to_timer()
426 start = div / d2; in comedi_8254_cascade_ns_to_timer()
430 for (d2 = div / d1; in comedi_8254_cascade_ns_to_timer()
431 d1 * d2 <= div + d1 + 1 && d2 <= I8254_MAX_COUNT; d2++) { in comedi_8254_cascade_ns_to_timer()
432 ns = i8254->osc_base * d1 * d2; in comedi_8254_cascade_ns_to_timer()
436 d2_glb = d2; in comedi_8254_cascade_ns_to_timer()
[all …]
/linux/lib/crypto/riscv/
H A Dpoly1305-riscv.pl127 my ($h0,$h1,$h2,$r0,$r1,$rs1,$d0,$d1,$d2) =
196 add $d2,$h2,$padbit
201 add $d2,$d2,$tmp1
202 add $d2,$d2,$tmp0
219 mul $tmp2,$rs1,$d2 # h2*5*r1
223 mul $tmp3,$r0,$d2 # h2*r0
459 my ($d0,$d1,$d2,$d3) =
514 lw $d2,8($inp)
525 sllw $t3,$d2,$t5
526 srlw $d2,$d2,$shr
[all …]
/linux/lib/crc/arm/
H A Dcrc32-core.S140 veor.8 d2, d2, dCONSTANTl
155 vmull.p64 q1, d2, dCONSTANTl
182 vmull.p64 q1, d2, dCONSTANTl
187 vmull.p64 q1, d2, dCONSTANTl
192 vmull.p64 q1, d2, dCONSTANTl
204 vmull.p64 q1, d2, dCONSTANTl
213 vmull.p64 q2, d2, dCONSTANTh
223 vand.8 d2, d2, d6
224 vmull.p64 q1, d2, dCONSTANTl
/linux/lib/crypto/arm/
H A Dblake2b-neon-core.S84 vadd.u64 d2, d2, M_\s4
118 vadd.u64 d2, d2, M_\s5
160 vadd.u64 d2, d2, d7
164 vadd.u64 d2, d2, M_\s12
170 veor d13, d13, d2
200 vadd.u64 d2, d2, d7
204 vadd.u64 d2, d2, M_\s13
211 veor d13, d13, d2
/linux/drivers/scsi/snic/
H A Dsnic_trc.h48 snic_trace(char *fn, u16 hno, u32 tag, u64 d1, u64 d2, u64 d3, u64 d4, u64 d5) in snic_trace() argument
59 tr_rec->data[1] = d2; in snic_trace()
66 #define SNIC_TRC(_hno, _tag, d1, d2, d3, d4, d5) \ argument
73 (u64)(d2), \
80 #define SNIC_TRC(_hno, _tag, d1, d2, d3, d4, d5) \ argument
88 (u64)(d2), \
/linux/arch/m68k/coldfire/
H A 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 */
H A Dentry.S60 GET_CURRENT(%d2)
70 movel %sp,%d2 /* get thread_info pointer */
71 andl #-THREAD_SIZE,%d2 /* at start of kernel stack */
72 movel %d2,%a0
83 movel #-ENOSYS,%d2 /* strace needs -ENOSYS in PT_OFF_D0 */
84 movel %d2,PT_OFF_D0(%sp) /* on syscall entry */
162 GET_CURRENT(%d2)
/linux/tools/testing/selftests/net/
H A Dvlan_bridge_binding.sh23 for port in d1 d2 d3; do
34 adf_bridge_vlan_add vid 12 dev d2 master
38 adf_bridge_vlan_add vid 13 dev d2 master
42 adf_bridge_vlan_add vid 14 dev d2 master
136 down_netdevs d2
142 down_netdevs d1 d2
148 down_netdevs d1 d2 d3
/linux/lib/crypto/
H A Dpoly1305-donna64.c43 u128 d0, d1, d2, d; in poly1305_core_blocks() local
83 d2 = (u128)h0 * r2; in poly1305_core_blocks()
85 d2 += d; in poly1305_core_blocks()
87 d2 += d; in poly1305_core_blocks()
95 d2 += c; in poly1305_core_blocks()
96 c = (u64)(d2 >> 42); in poly1305_core_blocks()
97 h2 = (u64)d2 & 0x3ffffffffffULL; in poly1305_core_blocks()

1234567