Home
last modified time | relevance | path

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

/linux-4.1.27/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.S36 mfc0 k0, CP0_INDEX
43 PTR_L k0, exception_handlers(k1)
44 jr k0
59 li k0, 31<<2
64 beq k1, k0, handle_vced
65 li k0, 14<<2
66 beq k1, k0, handle_vcei
71 PTR_L k0, exception_handlers(k1)
72 jr k0
81 MFC0 k0, CP0_BADVADDR
[all …]
Dcps-vec.S57 mfc0 k0, CP0_STATUS
58 and k0, k0, ST0_NMI
59 beqz k0, not_nmi
63 la k0, nmi_handler
64 jr k0
220 la k0, ejtag_debug_handler
221 jr k0
Docteon_switch.S460 v3mulu k0, $0, $0
462 sd k0, PT_MTP(sp) /* PT_MTP has P0 */
463 v3mulu k0, $0, $0
467 sd k0, PT_MTP+16(sp) /* PT_MTP+16 has P2 */
468 v3mulu k0, $0, $0
471 sd k0, PT_MPL+8(sp) /* PT_MPL+8 has MPL1 */
531 ld k0, PT_MPL+16(sp) /* MPL2 */
538 mtm2 k0 /* MPL2 */
Dentry.S51 lw k0, TI_R2_EMUL_RET($28)
52 bnez k0, restore_all_from_r2_emul
Dtraps.c1895 unsigned int k0 = 26; in set_except_vector() local
1900 UASM_i_LA(&buf, k0, handler); in set_except_vector()
1901 uasm_i_jr(&buf, k0); in set_except_vector()
Dpm-cps.c85 t8, t9, k0, k1, gp, sp, fp, ra, enumerator
/linux-4.1.27/arch/mips/mm/
Dcex-sb1.S61 sd k0,0x170($0)
74 sll k0,k1,1
94 bltz k0,unrecoverable
95 sll k0,1
102 bgez k0,unrecoverable
110 mfc0 k0,C0_CERR_I /* delay slot */
112 and k1,k0
114 andi k0,0x1fe0
121 cache Index_Invalidate_I,(0<<13)(k0)
122 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-4.1.27/arch/mips/kvm/
Dlocore.S143 li k0, (ST0_EXL | KSU_USER | ST0_BEV)
144 mtc0 k0, CP0_STATUS
148 LONG_L k0, VCPU_GUEST_EBASE(k1)
149 mtc0 k0, CP0_EBASE
156 li k0, (ST0_EXL | KSU_USER | ST0_IE)
158 or k0, k0, v0
159 mtc0 k0, CP0_STATUS
180 LONG_L k0, (t3)
181 andi k0, k0, 0xff
182 mtc0 k0, CP0_ENTRYHI
[all …]
/linux-4.1.27/arch/mips/include/asm/
Dpm.h38 mfc0 k0, CP0_STATUS
39 LONG_S k0, PT_STATUS(sp)
47 LONG_L k0, PT_STATUS(sp)
48 mtc0 k0, CP0_STATUS
79 mfc0 k0, CP0_PAGEMASK, 2 /* SegCtl0 */
80 LONG_S k0, SSS_SEGCTL0(t1)
81 mfc0 k0, CP0_PAGEMASK, 3 /* SegCtl1 */
82 LONG_S k0, SSS_SEGCTL1(t1)
83 mfc0 k0, CP0_PAGEMASK, 4 /* SegCtl2 */
84 LONG_S k0, SSS_SEGCTL2(t1)
[all …]
Dstackframe.h88 ASM_CPUID_MFC0 k0, ASM_SMP_CPUID_REG
98 LONG_SRL k0, SMP_CPUID_PTRSHIFT
99 LONG_ADDU k1, k0
116 move k0, ra
125 1: move ra, k0
126 li k0, 3
127 mtc0 k0, $22
150 mfc0 k0, CP0_STATUS
151 sll k0, 3 /* extract cu0 bit */
153 bltz k0, 8f
[all …]
Dregdef.h53 #define k0 $26 /* kernel scratch */ macro
96 #define k0 $26 /* kernel temporary */ macro
/linux-4.1.27/arch/mips/alchemy/common/
Dsleeper.S49 mfc0 k0, CP0_STATUS
50 sw k0, 0x20(sp)
51 mfc0 k0, CP0_CONTEXT
52 sw k0, 0x1c(sp)
53 mfc0 k0, CP0_PAGEMASK
54 sw k0, 0x18(sp)
55 mfc0 k0, CP0_CONFIG
56 sw k0, 0x14(sp)
71 la k0, alchemy_sleep_wakeup /* resume path */
72 sw k0, 0x001c(t3)
[all …]
/linux-4.1.27/arch/sh/kernel/cpu/sh3/
Dentry.S71 #define k0 r0 macro
200 mov.l 2f, k0
201 mov.l @k0, k0
202 jmp @k0
266 mov k3, k0 ! Calculate IMASK-bits
267 shlr2 k0
268 and #0x3c, k0
269 cmp/eq #0x3c, k0
271 shll2 k0
272 mov g_imask, k0
[all …]
Dswsusp.S16 #define k0 r0 macro
116 stc r2_bank, k0 ! fetch old sp from r2_bank0
/linux-4.1.27/arch/mips/dec/prom/
Dlocore.S19 mfc0 k0, CP0_STATUS
22 sw k0, 0(k1)
24 mfc0 k0, CP0_EPC
26 addiu k0, 4 # skip the causing instruction
27 jr k0
/linux-4.1.27/arch/sh/boards/mach-hp6xx/
Dpm_wakeup.S20 #define k0 r0 macro
26 and #127, k0
27 mov.b k0, @k1
30 mov.w 6f, k0
31 mov.w k0, @k1
/linux-4.1.27/arch/arm/crypto/
Dsha1-ce-core.S18 k0 .req q0
70 vld1.32 {k0-k1}, [ip, :128]!
89 vadd.u32 ta0, q8, k0
92 add_update c, 0, k0, 8, 9, 10, 11, dgb
93 add_update c, 1, k0, 9, 10, 11, 8
94 add_update c, 0, k0, 10, 11, 8, 9
95 add_update c, 1, k0, 11, 8, 9, 10
Dsha2-ce-core.S18 k0 .req q7
93 vld1.32 {k0}, [rk, :128]!
95 vadd.u32 ta0, q0, k0
/linux-4.1.27/arch/mips/boot/compressed/
Dhead.S39 PTR_LA k0, decompress_kernel
40 jr k0
47 PTR_LI k0, KERNEL_ENTRY
48 jr k0
/linux-4.1.27/arch/arm64/crypto/
Dsha1-ce-core.S17 k0 .req v0
75 ld1r {k0.4s}, [x6], #4
96 1: add t0.4s, v8.4s, k0.4s
99 add_update c, ev, k0, 8, 9, 10, 11, dgb
100 add_update c, od, k0, 9, 10, 11, 8
101 add_update c, ev, k0, 10, 11, 8, 9
102 add_update c, od, k0, 11, 8, 9, 10
/linux-4.1.27/arch/mips/netlogic/common/
Dreset.S161 dmtc0 k0, $22, 6
163 mfc0 k0, CP0_STATUS
165 and k1, k0, k1
169 ld k0, BOOT_NMI_HANDLER(k1)
170 jr k0
/linux-4.1.27/crypto/
Dtea.c65 u32 k0, k1, k2, k3; in tea_encrypt() local
73 k0 = ctx->KEY[0]; in tea_encrypt()
82 y += ((z << 4) + k0) ^ (z + sum) ^ ((z >> 5) + k1); in tea_encrypt()
93 u32 k0, k1, k2, k3; in tea_decrypt() local
101 k0 = ctx->KEY[0]; in tea_decrypt()
112 y -= ((z << 4) + k0) ^ (z + sum) ^ ((z >> 5) + k1); in tea_decrypt()
Dvmac.c244 #define k0 (*(((u32 *)kl)+INDEX_LOW)) in poly_step_func() macro
257 p += MUL32(a2, k0); in poly_step_func()
263 p += MUL32(a3, k0); in poly_step_func()
267 p += MUL32(a0, k0); in poly_step_func()
277 p += MUL32(a1, k0); in poly_step_func()
290 #undef k0 in poly_step_func()
/linux-4.1.27/drivers/staging/skein/
Dthreefish_block.c8 u64 k0 = key_ctx->key[0], k1 = key_ctx->key[1], in threefish_encrypt_256() local
15 b0 += b1 + k0; in threefish_encrypt_256()
71 b3 += k0 + 2; in threefish_encrypt_256()
98 b2 += b3 + k0 + t1; in threefish_encrypt_256()
120 b1 += k0 + t1; in threefish_encrypt_256()
147 b0 += b1 + k0; in threefish_encrypt_256()
203 b3 += k0 + 7; in threefish_encrypt_256()
231 b2 += b3 + k0 + t0; in threefish_encrypt_256()
252 b1 += k0 + t0; in threefish_encrypt_256()
280 b0 += b1 + k0; in threefish_encrypt_256()
[all …]
/linux-4.1.27/arch/sh/kernel/cpu/shmobile/
Dsleep.S24 #define k0 r0 macro
253 mov.l 1f, k0
254 and k0, k1
260 mov.l @(SH_SLEEP_SR, k1), k0
261 ldc k0, sr
/linux-4.1.27/Documentation/sh/
Dregister-banks.txt24 - r0_bank, r1_bank (referenced as k0 and k1, used for scratch