Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.S40 PTR_L k0, exception_handlers(k1)
41 jr k0
56 li k0, 31<<2
61 beq k1, k0, handle_vced
62 li k0, 14<<2
63 beq k1, k0, handle_vcei
68 PTR_L k0, exception_handlers(k1)
69 jr k0
78 MFC0 k0, CP0_BADVADDR
80 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.S100 mfc0 k0, CP0_STATUS
101 and k0, k0, ST0_NMI
102 beqz k0, not_nmi
106 PTR_LA k0, nmi_handler
107 jr k0
220 PTR_LA k0, ejtag_debug_handler
221 jr k0
Docteon_switch.S435 v3mulu k0, $0, $0
437 sd k0, PT_MTP(sp) /* PT_MTP has P0 */
438 v3mulu k0, $0, $0
442 sd k0, PT_MTP+16(sp) /* PT_MTP+16 has P2 */
443 v3mulu k0, $0, $0
446 sd k0, PT_MPL+8(sp) /* PT_MPL+8 has MPL1 */
503 ld k0, PT_MPL+16(sp) /* MPL2 */
510 mtm2 k0 /* MPL2 */
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/arch/sh/kernel/cpu/sh3/
Dentry.S67 #define k0 r0 macro
196 mov.l 2f, k0
197 mov.l @k0, k0
198 jmp @k0
262 mov k3, k0 ! Calculate IMASK-bits
263 shlr2 k0
264 and #0x3c, k0
265 cmp/eq #0x3c, k0
267 shll2 k0
268 mov g_imask, k0
[all …]
/linux-6.6.21/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-6.6.21/drivers/watchdog/
Docteon-wdt-nmi.S19 dmfc0 k0, $11, 7
21 dins k0, $0, 0, 6
23 ori k0, k0, 0x1c0 | 54
25 dmtc0 k0, $11, 7
30 dmfc0 k0, $31
/linux-6.6.21/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-6.6.21/arch/x86/crypto/
Dnh-sse2-x86_64.S34 .macro _nh_stride k0, k1, k2, k3, offset
45 paddd T1, \k0 // reuse k0 to avoid a move
51 pshufd $0x10, \k0, T4
52 pshufd $0x32, \k0, \k0
59 pmuludq T4, \k0
63 paddq \k0, PASS0_SUMS
/linux-6.6.21/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
Dnh-neon-core.S49 .macro _nh_stride k0, k1, k2, k3
58 vadd.u32 T0, T3, \k0
/linux-6.6.21/arch/arm64/crypto/
Dsha1-ce-core.S14 k0 .req v0
70 loadrc k0.4s, 0x5a827999, w6
92 1: add t0.4s, v8.4s, k0.4s
95 add_update c, ev, k0, 8, 9, 10, 11, dgb
96 add_update c, od, k0, 9, 10, 11, 8
97 add_update c, ev, k0, 10, 11, 8, 9
98 add_update c, od, k0, 11, 8, 9, 10
Dnh-neon-core.S35 .macro _nh_stride k0, k1, k2, k3
44 add T0.4s, T3.4s, \k0\().4s
/linux-6.6.21/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-6.6.21/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-6.6.21/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