Home
last modified time | relevance | path

Searched refs:k0 (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v5.10/arch/mips/kernel/
Dbmips_vec.S41 la k0, 1f
43 or k0, k1
44 jr k0
51 li k0, ST0_IE | ST0_BEV | STATUSF_IP1
52 mtc0 k0, CP0_STATUS
55 li k0, 0xff400000
56 mtc0 k0, $22, 6
62 or k0, k1
64 sw k1, 0(k0)
69 la k0, bmips_reset_nmi_vec
[all …]
Dgenex.S41 PTR_L k0, exception_handlers(k1)
42 jr k0
57 li k0, 31<<2
62 beq k1, k0, handle_vced
63 li k0, 14<<2
64 beq k1, k0, handle_vcei
69 PTR_L k0, exception_handlers(k1)
70 jr k0
79 MFC0 k0, CP0_BADVADDR
81 and k0, k1 # ... really needed?
[all …]
Dbmips_5xxx_init.S355 la k0, 1f
357 or k0, k1, k0
358 jr k0
381 la k0, 1f
383 or k0, k1, k0
384 xor k0, k1, k0
385 jr k0
Dcps-vec.S105 mfc0 k0, CP0_STATUS
106 and k0, k0, ST0_NMI
107 beqz k0, not_nmi
111 PTR_LA k0, nmi_handler
112 jr k0
223 PTR_LA k0, ejtag_debug_handler
224 jr k0
Docteon_switch.S437 v3mulu k0, $0, $0
439 sd k0, PT_MTP(sp) /* PT_MTP has P0 */
440 v3mulu k0, $0, $0
444 sd k0, PT_MTP+16(sp) /* PT_MTP+16 has P2 */
445 v3mulu k0, $0, $0
448 sd k0, PT_MPL+8(sp) /* PT_MPL+8 has MPL1 */
508 ld k0, PT_MPL+16(sp) /* MPL2 */
515 mtm2 k0 /* MPL2 */
/Linux-v5.10/arch/mips/mm/
Dcex-sb1.S48 sd k0,0x170($0)
61 sll k0,k1,1
81 bltz k0,unrecoverable
82 sll k0,1
89 bgez k0,unrecoverable
97 mfc0 k0,C0_CERR_I /* delay slot */
99 and k1,k0
101 andi k0,0x1fe0
108 cache Index_Invalidate_I,(0<<13)(k0)
109 cache Index_Invalidate_I,(1<<13)(k0)
[all …]
Dcex-gen.S30 mfc0 k0,CP0_CONFIG
32 and k0,k0,k1
33 ori k0,k0,CONF_CM_UNCACHED
34 mtc0 k0,CP0_CONFIG
Dcex-oct.S30 rdhwr k0, $0 /* get core_id */
32 sll k0, k0, 3
33 PTR_ADDU k1, k0, k1 /* k1 = &cache_err_dcache[core_id] */
35 dmfc0 k0, CP0_CACHEERR, 1
36 sd k0, (k1)
/Linux-v5.10/arch/mips/include/asm/
Dpm.h34 mfc0 k0, CP0_STATUS
35 LONG_S k0, PT_STATUS(sp)
43 LONG_L k0, PT_STATUS(sp)
44 mtc0 k0, CP0_STATUS
75 mfc0 k0, CP0_PAGEMASK, 2 /* SegCtl0 */
76 LONG_S k0, SSS_SEGCTL0(t1)
77 mfc0 k0, CP0_PAGEMASK, 3 /* SegCtl1 */
78 LONG_S k0, SSS_SEGCTL1(t1)
79 mfc0 k0, CP0_PAGEMASK, 4 /* SegCtl2 */
80 LONG_S k0, SSS_SEGCTL2(t1)
[all …]
Dstackframe.h119 ASM_CPUID_MFC0 k0, ASM_SMP_CPUID_REG
129 LONG_SRL k0, SMP_CPUID_PTRSHIFT
130 LONG_ADDU k1, k0
132 move k0, sp
134 .cfi_register sp, k0
156 move k0, ra
165 1: move ra, k0
166 li k0, 3
167 mtc0 k0, $22
179 move k0, sp
[all …]
Dregdef.h53 #define k0 $26 /* kernel scratch */ macro
96 #define k0 $26 /* kernel temporary */ macro
/Linux-v5.10/arch/mips/alchemy/common/
Dsleeper.S45 mfc0 k0, CP0_STATUS
46 sw k0, 0x20(sp)
47 mfc0 k0, CP0_CONTEXT
48 sw k0, 0x1c(sp)
49 mfc0 k0, CP0_PAGEMASK
50 sw k0, 0x18(sp)
51 mfc0 k0, CP0_CONFIG
52 sw k0, 0x14(sp)
67 la k0, alchemy_sleep_wakeup /* resume path */
68 sw k0, 0x001c(t3)
[all …]
/Linux-v5.10/arch/sh/kernel/cpu/sh3/
Dentry.S68 #define k0 r0 macro
197 mov.l 2f, k0
198 mov.l @k0, k0
199 jmp @k0
263 mov k3, k0 ! Calculate IMASK-bits
264 shlr2 k0
265 and #0x3c, k0
266 cmp/eq #0x3c, k0
268 shll2 k0
269 mov g_imask, k0
[all …]
/Linux-v5.10/arch/mips/dec/prom/
Dlocore.S20 mfc0 k0, CP0_STATUS
23 sw k0, 0(k1)
25 mfc0 k0, CP0_EPC
27 addiu k0, 4 # skip the causing instruction
28 jr k0
/Linux-v5.10/drivers/watchdog/
Docteon-wdt-nmi.S22 dmfc0 k0, $11, 7
24 dins k0, $0, 0, 6
26 ori k0, k0, 0x1c0 | 54
28 dmtc0 k0, $11, 7
33 dmfc0 k0, $31
/Linux-v5.10/arch/sh/boards/mach-hp6xx/
Dpm_wakeup.S16 #define k0 r0 macro
22 and #127, k0
23 mov.b k0, @k1
26 mov.w 6f, k0
27 mov.w k0, @k1
/Linux-v5.10/arch/x86/crypto/
Dnh-sse2-x86_64.S33 .macro _nh_stride k0, k1, k2, k3, offset
44 paddd T1, \k0 // reuse k0 to avoid a move
50 pshufd $0x10, \k0, T4
51 pshufd $0x32, \k0, \k0
58 pmuludq T4, \k0
62 paddq \k0, PASS0_SUMS
/Linux-v5.10/arch/arm/crypto/
Dsha1-ce-core.S16 k0 .req q0
68 vld1.32 {k0-k1}, [ip, :128]!
87 vadd.u32 ta0, q8, k0
90 add_update c, 0, k0, 8, 9, 10, 11, dgb
91 add_update c, 1, k0, 9, 10, 11, 8
92 add_update c, 0, k0, 10, 11, 8, 9
93 add_update c, 1, k0, 11, 8, 9, 10
Dsha2-ce-core.S16 k0 .req q7
91 vld1.32 {k0}, [rk, :128]!
93 vadd.u32 ta0, q0, k0
/Linux-v5.10/arch/mips/boot/compressed/
Dhead.S39 PTR_LA k0, decompress_kernel
40 jr k0
47 PTR_LI k0, KERNEL_ENTRY
48 jr k0
/Linux-v5.10/arch/arm64/crypto/
Dsha1-ce-core.S14 k0 .req v0
76 0: loadrc k0.4s, 0x5a827999, w6
98 2: add t0.4s, v8.4s, k0.4s
101 add_update c, ev, k0, 8, 9, 10, 11, dgb
102 add_update c, od, k0, 9, 10, 11, 8
103 add_update c, ev, k0, 10, 11, 8, 9
104 add_update c, od, k0, 11, 8, 9, 10
/Linux-v5.10/drivers/soc/bcm/brcmstb/pm/
Ds3-mips.S106 li k0, PM_DEFAULT_MASK
107 mtc0 k0, CP0_PAGEMASK
110 la k0, plat_wired_tlb_setup
111 jalr k0
/Linux-v5.10/arch/mips/netlogic/common/
Dreset.S160 dmtc0 k0, $22, 6
162 mfc0 k0, CP0_STATUS
164 and k1, k0, k1
168 ld k0, BOOT_NMI_HANDLER(k1)
169 jr k0
/Linux-v5.10/crypto/
Dtea.c60 u32 k0, k1, k2, k3; in tea_encrypt() local
68 k0 = ctx->KEY[0]; in tea_encrypt()
77 y += ((z << 4) + k0) ^ (z + sum) ^ ((z >> 5) + k1); in tea_encrypt()
88 u32 k0, k1, k2, k3; in tea_decrypt() local
96 k0 = ctx->KEY[0]; in tea_decrypt()
107 y -= ((z << 4) + k0) ^ (z + sum) ^ ((z >> 5) + k1); in tea_decrypt()
/Linux-v5.10/arch/sh/kernel/cpu/shmobile/
Dsleep.S21 #define k0 r0 macro
250 mov.l 1f, k0
251 and k0, k1
257 mov.l @(SH_SLEEP_SR, k1), k0
258 ldc k0, sr

12