| /linux/arch/riscv/kernel/tests/kprobes/ | 
| H A D | test-kprobes-asm.S | 13 	add a0, a1, x018 	li a0, 0
 26 1:	li a0, KPROBE_TEST_MAGIC_UPPER
 34 	add a0, a0, a2
 39 	la a0, 1f
 44 	jalr a0
 47 	add a0, a0, t0
 49 1:	li a0, KPROBE_TEST_MAGIC_LOWER
 55 	auipc a0, KPROBE_TEST_MAGIC_LOWER
 57 	sub a0, a0, a1
 [all …]
 
 | 
| /linux/arch/m68k/math-emu/ | 
| H A D | fp_util.S | 15  * 3. The name of the author may not be used to endorse or promote50  * only the lower half) most function have to return the %a0
 69 1:	printf	,"oops:%p,%p,%p\n",3,%a2@(TASK_MM-8),%a2@(TASK_MM-4),%a2@(TASK_MM)
 95 	|	%a0 = destination (ptr to struct fp_ext)
 98 	printf	PCONV,"l2e: %p -> %p(",2,%d0,%a0
 107 	move.l	%d1,(%a0)+		| set sign / exp
 108 	move.l	%d0,(%a0)+		| set mantissa
 109 	clr.l	(%a0)
 110 	subq.l	#8,%a0			| restore %a0
 111 	printx	PCONV,%a0@
 [all …]
 
 | 
| H A D | fp_decode.h | 15  * 3. The name of the author may not be used to endorse or promote53  * a0 - will point to source/dest operand for any indirect mode
 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
 141 	bfextu	%d2{#17,#3},%d0		| get the register nr
 149 	move.l	%a0,%d0
 [all …]
 
 | 
| H A D | fp_movem.S | 15  * 3. The name of the author may not be used to endorse or promote56 1:	bfextu	%d2{#25,#3},%d0		| dynamic register list
 142 	jra	3f
 143 1:	printf	PMOVEM,"(%p>%p)",2,%a0,%a1
 144 	getuser.l (%a0)+,%d2,fp_err_ua1,%a0
 149 	getuser.l (%a0)+,%d2,fp_err_ua1,%a0
 151 	getuser.l (%a0),%d2,fp_err_ua1,%a0
 153 	subq.l	#8,%a0
 155 	add.l	%d0,%a0
 157 3:	lsl.b	#1,%d1
 [all …]
 
 | 
| /linux/arch/csky/abiv2/ | 
| H A D | strcmp.S | 8 	mov	a3, a013 	andi	t1, a0, 0x3
 25 	/* If at the end, goto 3f (finish comparing).  */
 26 	bf	3f
 33 	bf	3f
 40 	bf	3f
 47 	bf	3f
 54 	bf	3f
 61 	bf	3f
 68 	bf	3f
 [all …]
 
 | 
| /linux/arch/mips/kvm/ | 
| H A D | msa.S | 20 	st_d	0,  VCPU_FPR0,  a021 	st_d	1,  VCPU_FPR1,  a0
 22 	st_d	2,  VCPU_FPR2,  a0
 23 	st_d	3,  VCPU_FPR3,  a0
 24 	st_d	4,  VCPU_FPR4,  a0
 25 	st_d	5,  VCPU_FPR5,  a0
 26 	st_d	6,  VCPU_FPR6,  a0
 27 	st_d	7,  VCPU_FPR7,  a0
 28 	st_d	8,  VCPU_FPR8,  a0
 29 	st_d	9,  VCPU_FPR9,  a0
 [all …]
 
 | 
| /linux/arch/riscv/lib/ | 
| H A D | strncmp.S | 16 	 *   a0 - comparison result, value like strncmp19 	 *   a0 - string1
 29 	lbu	t0, 0(a0)
 31 	addi	a0, a0, 1
 33 	bne	t0, t1, 3f
 37 	li	a0, 0
 39 3:
 44 	sub	a0, t0, t1
 58 	 *   a0 - comparison result, like strncmp
 61 	 *   a0 - string1
 [all …]
 
 | 
| H A D | uaccess.S | 61 	add	t5, a0, a265 	 * a0 - start of uncopied dst
 70 	add	t0, a0, a2
 81 	 * a0 - start of dst
 84 	addi	t1, a0, SZREG-1
 87 	beq	a0, t1, .Lskip_align_dst
 92 	fixup sb      a5, 0(a0), 10f
 93 	addi	a0, a0, 1	/* dst */
 94 	bltu	a0, t1, 1b	/* t1 - start of aligned dst */
 111 	 * a0 - start of aligned dst
 [all …]
 
 | 
| H A D | strcmp.S | 16 	 *   a0 - comparison result, value like strcmp19 	 *   a0 - string1
 26 	lbu	t0, 0(a0)
 28 	addi	a0, a0, 1
 32 	li	a0, 0
 39 	sub	a0, t0, t1
 55 	 *   a0 - comparison result, value like strcmp
 58 	 *   a0 - string1
 65 	or	t2, a0, a1
 68 	bnez	t2, 3f
 [all …]
 
 | 
| H A D | strlen.S | 16 	 *   a0 - string length19 	 *   a0 - String to measure
 24 	mv	t1, a0
 31 	sub	a0, t1, a0
 53 	 *   a0 - string length
 56 	 *   a0 - String to measure
 63 	andi	t2, a0, SZREG-1
 66 	andi	t0, a0, -SZREG
 70 	slli	t2, t2, 3
 98 	srli	a0, t1, 3
 [all …]
 
 | 
| /linux/arch/loongarch/lib/ | 
| H A D | copy_user.S | 28  * a0: to33 	beqz	a2, 3f
 36 2:	st.b	t0, a0, 0
 37 	addi.d	a0, a0, 1
 42 3:	move	a0, a2
 45 	_asm_extable 1b, 3b
 46 	_asm_extable 2b, 3b
 52  * a0: to
 61 1:	st.d	t0, a0, 0
 63 	add.d	a2, a0, a2
 [all …]
 
 | 
| H A D | unaligned.S | 15 	li.w	a0, -EFAULT21  * a0: addr
 31 	slli.d	t1, t0, 3
 32 	add.d 	a0, a0, t0
 35 1:	ld.b	t3, a0, 0
 36 	b	3f
 38 2:	ld.bu	t3, a0, 0
 39 3:	sll.d	t3, t3, t1
 42 	addi.d	a0, a0, -1
 47 	move	a0, a2
 [all …]
 
 | 
| H A D | clear_user.S | 28  * a0: addr34 1:	st.b	zero, a0, 0
 35 	addi.d	a0, a0, 1
 39 2:	move	a0, a1
 48  * a0: addr
 55 	add.d	a2, a0, a1
 56 0:	st.d	zero, a0, 0
 59 	addi.d	a0, a0, 8
 60 	bstrins.d	a0, zero, 2, 0
 63 	bgeu	a0, a3, .Llt64
 [all …]
 
 | 
| /linux/arch/mips/kernel/ | 
| H A D | r4k_fpu.S | 47 	fpu_save_double a0 t0 t1		# clobbers t159 	fpu_restore_double a0 t0 t1		# clobbers t1
 70 	msa_save_all	a0
 78 	msa_restore_all	a0
 93  * @a0 - pointer to fpregs field of sigcontext
 118 	EX	sdc1 $f1, 8(a0)
 119 	EX	sdc1 $f3, 24(a0)
 120 	EX	sdc1 $f5, 40(a0)
 121 	EX	sdc1 $f7, 56(a0)
 122 	EX	sdc1 $f9, 72(a0)
 [all …]
 
 | 
| H A D | bmips_5xxx_init.S | 65 #define CP0_D_SEC_CACHE_DATA_LO	$28, 375 #define CP0_BRCM_MODE_BrPRED_MASK 	(3 << 24)
 83 #define BRCM_ZSC_CONFIG_REG			0 << 3
 84 #define BRCM_ZSC_REQ_BUFFER_REG			2 << 3
 85 #define BRCM_ZSC_RBUS_ADDR_MAPPING_REG0		4 << 3
 86 #define BRCM_ZSC_RBUS_ADDR_MAPPING_REG1		6 << 3
 87 #define BRCM_ZSC_RBUS_ADDR_MAPPING_REG2		8 << 3
 89 #define BRCM_ZSC_SCB0_ADDR_MAPPING_REG0		0xa << 3
 90 #define BRCM_ZSC_SCB0_ADDR_MAPPING_REG1		0xc << 3
 92 #define BRCM_ZSC_SCB1_ADDR_MAPPING_REG0		0xe << 3
 [all …]
 
 | 
| H A D | octeon_switch.S | 27 	LONG_S	t1, THREAD_STATUS(a0)28 	cpu_save_nonscratch a0
 29 	LONG_S	ra, THREAD_REG31(a0)
 34 	bbit0	t0, 6, 3f	/* Is user access enabled? */
 42 	LONG_ADDI t2, a0, THREAD_CVMSEG /* Where to store CVMSEG to */
 61 3:
 87 	move	v0, a0
 92  * void octeon_cop2_save(struct octeon_cop2_state *a0)
 105 	sd	t0, OCTEON_CP2_CRC_IV(a0)
 106 	sd	t1, OCTEON_CP2_CRC_LENGTH(a0)
 [all …]
 
 | 
| /linux/include/linux/firmware/intel/ | 
| H A D | stratix10-smc.h | 15  * monitor software in Secure Monitor Exception Level 3 (EL3).35  * a0..a7 is used as register names in the descriptions below, on arm32
 85  * a0: INTEL_SIP_SMC_FPGA_CONFIG_START.
 91  * a0: INTEL_SIP_SMC_STATUS_OK, or INTEL_SIP_SMC_STATUS_ERROR.
 92  * a1-3: not used.
 105  * a0: INTEL_SIP_SMC_FPGA_CONFIG_WRITE.
 111  * a0: INTEL_SIP_SMC_STATUS_OK, INTEL_SIP_SMC_STATUS_BUSY or
 117  * a3: 64bit physical address of 3rd completed memory block if any completed
 132  * a0: INTEL_SIP_SMC_FPGA_CONFIG_COMPLETED_WRITE.
 136  * a0: INTEL_SIP_SMC_STATUS_OK, INTEL_SIP_SMC_FPGA_BUSY or
 [all …]
 
 | 
| /linux/arch/xtensa/kernel/ | 
| H A D | vectors.S | 28  *   a0:	trashed, original value saved on stack (PT_AREG0)77 	s32i	a0, a2, PT_AREG0	# save a0 to ESF
 78 	rsr	a0, exccause		# retrieve exception cause
 79 	s32i	a0, a2, PT_DEPC		# mark it as a regular exception
 80 	addx4	a0, a0, a3		# find entry in table
 81 	l32i	a0, a0, EXC_TABLE_FAST_USER	# load handler
 83 	jx	a0
 104 	s32i	a0, a2, PT_AREG0	# save a0 to ESF
 105 	rsr	a0, exccause		# retrieve exception cause
 106 	s32i	a0, a2, PT_DEPC		# mark it as a regular exception
 [all …]
 
 | 
| /linux/arch/m68k/fpsp040/ | 
| H A D | smovecr.S | 58 	cmpib	#0x3f,%d0		|check range $30 - $3f67 	beqs	PI_RP		|if 3, rp mode
 69 	leal	PIRZRM,%a0	|rmode is rz or rm, load PIRZRM in a0
 72 	leal	PIRN,%a0		|rmode is rn, load PIRN in a0
 75 	leal	PIRP,%a0		|rmode is rp, load PIRP in a0
 82 	beqs	SM_RP		|if 3, rp mode
 84 	leal	SMALRZRM,%a0	|rmode is rz or rm, load SMRZRM in a0
 87 	bra	no_finx		|if 3, it is exact
 89 	leal	SMALRN,%a0	|rmode is rn, load SMRN in a0
 92 	bra	no_finx		|if 3, it is exact
 [all …]
 
 | 
| /linux/arch/loongarch/kernel/ | 
| H A D | lbt.S | 28 	stptr.d		t1, a0, THREAD_SCR030 	stptr.d		t1, a0, THREAD_SCR1
 32 	stptr.d		t1, a0, THREAD_SCR2
 34 	stptr.d		t1, a0, THREAD_SCR3
 37 	stptr.d		t1, a0, THREAD_EFLAGS
 46 	ldptr.d		t1, a0, THREAD_SCR0	# restore scr
 48 	ldptr.d		t1, a0, THREAD_SCR1
 50 	ldptr.d		t1, a0, THREAD_SCR2
 52 	ldptr.d		t1, a0, THREAD_SCR3
 55 	ldptr.d		t1, a0, THREAD_EFLAGS	# restore eflags
 [all …]
 
 | 
| /linux/arch/riscv/kernel/ | 
| H A D | copy-unaligned.S | 20 	REG_L a7, 3*SZREG(a1)25 	REG_S a4,       0(a0)
 26 	REG_S a5,   SZREG(a0)
 27 	REG_S a6, 2*SZREG(a0)
 28 	REG_S a7, 3*SZREG(a0)
 29 	REG_S t0, 4*SZREG(a0)
 30 	REG_S t1, 5*SZREG(a0)
 31 	REG_S t2, 6*SZREG(a0)
 32 	REG_S t3, 7*SZREG(a0)
 33 	addi  a0, a0, 8*SZREG
 [all …]
 
 | 
| /linux/arch/m68k/kernel/ | 
| H A D | head.S | 51  * 3) Increase readability of the code288 /* #define FONT_6x11 */	/* 3rd choice */
 304 CPUTYPE_0460	= 3	/* if either above are set, this is set */
 471 func_define	console_plot_pixel,3
 542 #define is_040_or_060(lab)	btst &CPUTYPE_0460,%pc@(L(cputype)+3); jne lab
 543 #define is_not_040_or_060(lab)	btst &CPUTYPE_0460,%pc@(L(cputype)+3); jeq lab
 544 #define is_040(lab)		btst &CPUTYPE_040,%pc@(L(cputype)+3); jne lab
 545 #define is_060(lab)		btst &CPUTYPE_060,%pc@(L(cputype)+3); jne lab
 546 #define is_not_060(lab)		btst &CPUTYPE_060,%pc@(L(cputype)+3); jeq lab
 547 #define is_020(lab)		btst &CPUTYPE_020,%pc@(L(cputype)+3); jne lab
 [all …]
 
 | 
| /linux/lib/crypto/s390/ | 
| H A D | chacha-s390.S | 23 	.long	3,0,0,026 	.long	0,1,2,3
 102 	VREPF	XB3,K1,3
 107 	VREPF	XD3,K3,3
 113 	VREPF	XC3,K2,3
 440 #define A0		%v0  macro
 494 	VLR	A0,K0
 508 	VAF	D1,K3,T1		# K[3]+1
 509 	VAF	D2,K3,T2		# K[3]+2
 510 	VAF	D3,K3,T3		# K[3]+3
 [all …]
 
 | 
| /linux/drivers/net/ethernet/cisco/enic/ | 
| H A D | vnic_devcmd.h | 73 	 *   (u64)a0=paddr to struct vnic_devcmd_fw_info84 	 *   (u64)a0=paddr to struct vnic_devcmd_fw_info
 100 	 *    in: (u16)a0=offset,(u8)a1=size
 101 	 *    out: a0=value */
 105 	CMD_STATS_CLEAR         = _CMDCNW(_CMD_DIR_NONE, _CMD_VTYPE_ALL, 3),
 107 	/* stats dump in mem: (u64)a0=paddr to stats area,
 111 	/* set Rx packet filter: (u32)a0=filters (see CMD_PFILTER_*) */
 114 	/* set Rx packet filter for all: (u32)a0=filters (see CMD_PFILTER_*) */
 120 	/* MAC address in (u48)a0 */
 124 	/* add addr from (u48)a0 */
 [all …]
 
 | 
| /linux/arch/csky/abiv2/inc/abi/ | 
| H A D | entry.h | 47 	stw     a0, (sp, 20)48 	stw     a0, (sp, 24)
 72 	ldw	a0, (sp, 8)
 73 	mtcr	a0, epc
 74 	ldw	a0, (sp, 12)
 75 	mtcr	a0, epsr
 76 	btsti   a0, 31
 77 	ldw	a0, (sp, 16)
 78 	mtcr	a0, usp
 79 	mtcr	a0, ss0
 [all …]
 
 |