/openbmc/linux/arch/m68k/lib/ |
H A D | udivsi3.S | 69 #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 D | divsi3.S | 71 #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
|
/openbmc/linux/drivers/block/ |
H A D | swim_asm.S | 65 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 …]
|
/openbmc/linux/arch/m68k/math-emu/ |
H A D | fp_movem.S | 52 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 D | fp_decode.h | 73 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 D | fp_move.S | 84 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 …]
|
/openbmc/linux/include/asm-generic/ |
H A D | xor.h | 109 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 …]
|
/openbmc/linux/arch/arm64/crypto/ |
H A D | poly1305-armv8.pl | 47 my ($h0,$h1,$h2,$r0,$r1,$s1,$t0,$t1,$d0,$d1,$d2) = map("x$_",(4..14)); 125 lsr $d2,$h1,#32 131 mov w#$d2,w#$h1 137 lsr $d1,$d2,#12 138 adds $d0,$d0,$d2,lsl#52 141 lsr $d2,x16,#24 143 adc $d2,$d2,xzr 149 csel $h2,$h2,$d2,eq 171 umulh $d2,$h0,$r1 175 adc $d2,$d2,xzr [all …]
|
/openbmc/linux/drivers/net/wan/ |
H A D | wanxlfw.S | 319 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 …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/uw-imap/uw-imap/ |
H A D | 0001-Fix-Wincompatible-function-pointer-types.patch | 35 -int mh_numsort (const void *d1,const void *d2); 37 +int mh_numsort (const struct dirent **d1,const struct dirent **d2); 51 * Returns: negative if d1 < d2, 0 if d1 == d2, postive if d1 > d2 54 -int mh_numsort (const void *d1,const void *d2) 55 +int mh_numsort (const struct dirent **d1,const struct dirent **d2) 58 atoi ((*(struct direct **) d2)->d_name); 77 -int mix_msgfsort (const void *d1,const void *d2); 79 +int mix_msgfsort (const struct dirent **d1,const struct dirent **d2); 102 * Returns: -1 if d1 < d2, 0 if d1 == d2, 1 d1 > d2 105 -int mix_msgfsort (const void *d1,const void *d2) [all …]
|
/openbmc/linux/arch/x86/lib/ |
H A D | string_32.c | 21 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() 122 int d0, d1, d2; in strncmp() local 135 : "=a" (res), "=&S" (d0), "=&D" (d1), "=&c" (d2) in strncmp()
|
/openbmc/linux/arch/mips/crypto/ |
H A D | poly1305-mips.pl | 226 my ($h0,$h1,$h2,$r0,$r1,$rs1,$d0,$d1,$d2) = 375 daddu $d2,$h2,$padbit 381 daddu $d2,$tmp1 382 daddu $d2,$tmp0 399 dmultu ($rs1,$d2) # h2*5*r1 402 mflo ($tmp2,$rs1,$d2) 404 dmultu ($r0,$d2) # h2*r0 407 mflo ($tmp3,$r0,$d2) 735 my ($d0,$d1,$d2,$d3) = 800 lw $d2,8($inp) [all …]
|
/openbmc/linux/arch/m68k/ifpsp060/src/ |
H A D | itest.S | 170 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 …]
|
/openbmc/linux/arch/m68k/fpsp040/ |
H A D | stwotox.S | 233 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 D | binstr.S | 7 | 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 D | round.S | 144 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 …]
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | comedi_8254.c | 356 unsigned int d2 = i8254->next_div2 ? i8254->next_div2 : I8254_MAX_COUNT; in comedi_8254_cascade_ns_to_timer() local 357 unsigned int div = d1 * d2; in comedi_8254_cascade_ns_to_timer() 372 d2 > 1 && d2 <= I8254_MAX_COUNT && in comedi_8254_cascade_ns_to_timer() 374 div > d1 && div > d2 && in comedi_8254_cascade_ns_to_timer() 380 d2 = I8254_MAX_COUNT; in comedi_8254_cascade_ns_to_timer() 381 start = div / d2; 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() 391 d2_glb = d2; in comedi_8254_cascade_ns_to_timer() [all …]
|
/openbmc/u-boot/fs/yaffs2/ |
H A D | yaffs_ecc.c | 138 unsigned char d0, d1, d2; /* deltas */ in yaffs_ecc_correct() local 142 d2 = read_ecc[2] ^ test_ecc[2]; in yaffs_ecc_correct() 144 if ((d0 | d1 | d2) == 0) in yaffs_ecc_correct() 149 ((d2 ^ (d2 >> 1)) & 0x54) == 0x54) { in yaffs_ecc_correct() 174 if (d2 & 0x80) in yaffs_ecc_correct() 176 if (d2 & 0x20) in yaffs_ecc_correct() 178 if (d2 & 0x08) in yaffs_ecc_correct() 186 if ((hweight8(d0) + hweight8(d1) + hweight8(d2)) == 1) { in yaffs_ecc_correct()
|
/openbmc/linux/drivers/iio/adc/ |
H A D | twl6030-gpadc.c | 573 int channel, int d1, int d2) in twl6030_calibrate_channel() argument 588 k = 1000 + (((d2 - d1) * 1000) / (x2 - x1)); in twl6030_calibrate_channel() 598 dev_dbg(gpadc->dev, "GPADC d2 for Chn: %d = %d\n", channel, d2); in twl6030_calibrate_channel() 625 s8 d1, d2; in twl6030_calibration() local 646 d2 = trim_regs[1]; in twl6030_calibration() 654 d2 = trim_regs[5]; in twl6030_calibration() 658 d2 = trim_regs[13]; in twl6030_calibration() 662 d2 = trim_regs[7]; in twl6030_calibration() 666 d2 = trim_regs[3]; in twl6030_calibration() 670 d2 = trim_regs[9]; in twl6030_calibration() [all …]
|
/openbmc/u-boot/lib/ |
H A D | vsprintf.c | 53 unsigned d3, d2, d1, d0; in put_dec_trunc() local 55 d2 = (q>>8) & 0xf; in put_dec_trunc() 58 d0 = 6*(d3 + d2 + d1) + (q & 0xf); in put_dec_trunc() 62 d1 = q + 9*d3 + 5*d2 + d1; in put_dec_trunc() 68 d2 = q + 2*d2; in put_dec_trunc() 69 if ((d2 != 0) || (d3 != 0)) { in put_dec_trunc() 70 q = (d2 * 0xd) >> 7; in put_dec_trunc() 71 d2 = d2 - 10*q; in put_dec_trunc() 72 *buf++ = d2 + '0'; /* next digit */ in put_dec_trunc() 91 unsigned d3, d2, d1, d0; in put_dec_full() local [all …]
|
H A D | tiny-printf.c | 90 unsigned int d3, d2, d1, d0; in put_dec_trunc() local 92 d2 = (q >> 8) & 0xf; in put_dec_trunc() 95 d0 = 6 * (d3 + d2 + d1) + (q & 0xf); in put_dec_trunc() 99 d1 = q + 9 * d3 + 5 * d2 + d1; in put_dec_trunc() 105 d2 = q + 2 * d2; in put_dec_trunc() 106 if ((d2 != 0) || (d3 != 0)) { in put_dec_trunc() 107 q = (d2 * 0xd) >> 7; in put_dec_trunc() 108 d2 = d2 - 10 * q; in put_dec_trunc() 109 *buf++ = d2 + '0'; /* next digit */ in put_dec_trunc()
|
/openbmc/qemu/tests/tcg/tricore/c/ |
H A D | crt0-tc2x.S | 146 mov.a %a14,%d2 # move exit code to match trap handler 167 movh %d2,hi:__CSA_END #; %d2 = end of CSA 168 addi %d2,%d2,lo:__CSA_END 169 andn %d2,%d2,63 #; force alignment (2^6) 170 sub %d2,%d2,%d0 171 sh %d2,%d2,-6 #; %d2 = number of CSAs 183 add %d2,%d2,-2 #; CSAs to initialize -= 2 184 mov.a %a5,%d2 #; %a5 = loop counter 300 mov.d %d2, %a14 301 st.w [%a15], %d2 # write exit code to testdevice
|
/openbmc/linux/arch/arm/crypto/ |
H A D | crc32-ce-core.S | 139 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
|
H A D | blake2b-neon-core.S | 81 vadd.u64 d2, d2, M_\s4 115 vadd.u64 d2, d2, M_\s5 157 vadd.u64 d2, d2, d7 161 vadd.u64 d2, d2, M_\s12 167 veor d13, d13, d2 197 vadd.u64 d2, d2, d7 201 vadd.u64 d2, d2, M_\s13 208 veor d13, d13, d2
|
/openbmc/linux/drivers/scsi/snic/ |
H A D | snic_trc.h | 48 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), \
|