Home
last modified time | relevance | path

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

123456789

/linux/drivers/net/wan/
H A 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/lib/crypto/arm64/
H A Dpoly1305-armv8.pl47 my ($h0,$h1,$h2,$r0,$r1,$s1,$t0,$t1,$d0,$d1,$d2) = map("x$_",(4..14));
99 adr $d1,.Lpoly1305_emit
104 stp w#$d0,w#$d1,[$len]
106 stp $d0,$d1,[$len]
127 mov w#$d1,w#$h0
133 lsr $d1,$h0,#32
139 add $d0,$d0,$d1,lsl#26 // base 2^26 -> base 2^64
140 lsr $d1,$d2,#12
142 add $d1,$d1,x15,lsl#14
143 adc $d1,$d1,xzr
[all …]
/linux/arch/m68k/math-emu/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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/arch/m68k/fpsp040/
H A 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 …]
H A Dscale.S51 clrl %d1
52 movew FPTEMP(%a6),%d1 |get dest exponent
54 andil #0x7fff,%d1 |strip sign
98 tstw %d1 |check for denorm
100 addl %d0,%d1 |add src to dest exp
102 cmpil #0x7fff,%d1 |test for overflow
106 orw #0x8000,%d1
108 movew %d1,FPTEMP(%a6) |result in FPTEMP
115 orw #0x8000,%d1
125 orw #0x8000,%d1
[all …]
H A Dx_snan.S45 moveml %d0-%d1/%a0-%a1,USER_DA(%a6)
72 moveml USER_DA(%a6),%d0-%d1/%a0-%a1
105 moveml USER_DA(%a6),%d0-%d1/%a0-%a1
133 moveml USER_DA(%a6),%d0-%d1/%a0-%a1
164 movel ETEMP_HI(%a6),%d1
169 bsetl #30,%d1
176 movel %d1,-(%a7) |move the snan onto the stack
180 movel (%a7)+,%d1 |clear off stack
186 movel ETEMP_HI(%a6),%d1
191 bsetl #30,%d1
[all …]
/linux/lib/math/
H A 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/arch/m68k/coldfire/
H A Dentry.S107 movel %sp,%d1 /* get thread_info pointer */
108 andl #-THREAD_SIZE,%d1 /* at base of kernel stack */
109 movel %d1,%a0
110 movel %a0@(TINFO_FLAGS),%d1 /* get thread_info->flags */
111 andl #(1<<TIF_NEED_RESCHED),%d1
114 movel %a0@(TINFO_PREEMPT),%d1
115 cmpl #0,%d1
123 moveml %sp@,%d1-%d5/%a0-%a2
131 movel %sp,%d1 /* get thread_info pointer */
132 andl #-THREAD_SIZE,%d1 /* at base of kernel stack */
[all …]
/linux/arch/m68k/lib/
H A 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 …]
H A 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
H A 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
H A 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/arch/m68k/kernel/
H A Dhead.S667 clrl %d1
674 bset #CPUTYPE_060,%d1
675 bset #CPUTYPE_0460,%d1
683 bset #CPUTYPE_040,%d1
684 bset #CPUTYPE_0460,%d1
692 bset #CPUTYPE_020,%d1
699 movel %d1,%a0@
717 clrl %d1
742 movel #_PAGE_CACHE040W,%d1
750 movel %d1,%a0@
[all …]
/linux/arch/m68k/ifpsp060/src/
H A 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 …]
H A Dfpsp.S943 mov.b 1+EXC_CMDREG(%a6),%d1
944 andi.w &0x007f,%d1 # extract extension
955 mov.l (tbl_unsupp.l,%pc,%d1.w*4),%d1 # fetch routine addr
956 jsr (tbl_unsupp.l,%pc,%d1.l*1)
983 movm.l EXC_DREGS(%a6),&0x0303 # restore d0-d1/a0-a1
1340 movm.l EXC_DREGS(%a6),&0x0303 # restore d0-d1/a0-a1
1407 movm.l EXC_DREGS(%a6),&0x0303 # restore d0-d1/a0-a1
1572 movm.l EXC_DREGS(%a6),&0x0303 # restore d0-d1/a0-a1
1679 movm.l EXC_DREGS(%a6),&0x0303 # restore d0-d1/a0-a1
1694 movm.l EXC_DREGS(%a6),&0x0303 # restore d0-d1/a0-a1
[all …]
/linux/arch/riscv/boot/dts/allwinner/
H A DMakefile2 dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-clockworkpi-v3.14.dtb
3 dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-devterm-v3.14.dtb
4 dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-dongshan-nezha-stu.dtb
5 dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-lichee-rv-86-panel-480p.dtb
6 dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-lichee-rv-86-panel-720p.dtb
7 dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-lichee-rv-dock.dtb
8 dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-lichee-rv.dtb
9 dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-mangopi-mq-pro.dtb
10 dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-nezha.dtb
/linux/lib/crypto/mips/
H A Dpoly1305-mips.pl224 my ($h0,$h1,$h2,$r0,$r1,$rs1,$d0,$d1,$d2) =
367 daddu $d1,$h1,$in1
369 sltu $tmp1,$d1,$h1
370 daddu $d1,$tmp0
374 sltu $tmp0,$d1,$tmp0
378 dmultu ($rs1,$d1) # h1*5*r1
381 mflo ($tmp0,$rs1,$d1)
382 mfhi ($tmp1,$rs1,$d1)
391 dmultu ($r0,$d1) # h1*r0
394 mflo ($tmp0,$r0,$d1)
[all …]
/linux/arch/nios2/kernel/
H A 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/arch/m68k/ifpsp060/
H A 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 …]
/linux/arch/powerpc/math-emu/
H A 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/drivers/comedi/drivers/
H A Dcomedi_8254.c400 unsigned int d1 = i8254->next_div1 ? i8254->next_div1 : I8254_MAX_COUNT; in comedi_8254_cascade_ns_to_timer() local
402 unsigned int div = d1 * d2; in comedi_8254_cascade_ns_to_timer()
416 d1 > 1 && d1 <= I8254_MAX_COUNT && in comedi_8254_cascade_ns_to_timer()
419 div > d1 && div > d2 && in comedi_8254_cascade_ns_to_timer()
429 for (d1 = start; d1 <= div / d1 + 1 && d1 <= I8254_MAX_COUNT; d1++) { 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()
435 d1_glb = d1; in comedi_8254_cascade_ns_to_timer()
440 d1_lub = d1; in comedi_8254_cascade_ns_to_timer()
[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()
592 b = (d1 * 1000) - (k - 1000) * x1; in twl6030_calibrate_channel()
598 dev_dbg(gpadc->dev, "GPADC d1 for Chn: %d = %d\n", channel, d1); in twl6030_calibrate_channel()
626 s8 d1, d2; in twl6030_calibration() local
646 d1 = trim_regs[0]; in twl6030_calibration()
654 d1 = trim_regs[4]; in twl6030_calibration()
658 d1 = trim_regs[12]; in twl6030_calibration()
662 d1 = trim_regs[6]; in twl6030_calibration()
666 d1 = trim_regs[2]; in twl6030_calibration()
[all …]

123456789