Home
last modified time | relevance | path

Searched refs:k1 (Results 1 – 25 of 87) sorted by relevance

1234

/linux-6.6.21/arch/mips/kernel/
Dgenex.S35 mfc0 k1, CP0_CAUSE
36 andi k1, k1, 0x7c
38 dsll k1, k1, 1
40 PTR_L k0, exception_handlers(k1)
55 mfc0 k1, CP0_CAUSE
57 andi k1, k1, 0x7c
61 beq k1, k0, handle_vced
63 beq k1, k0, handle_vcei
65 dsll k1, k1, 1
68 PTR_L k0, exception_handlers(k1)
[all …]
Dbmips_vec.S42 li k1, CKSEG1
43 or k0, k1
58 mfc0 k1, $22, 3
59 srl k1, 16
60 andi k1, 0x8000
61 or k1, CKSEG1 | BMIPS_RELO_VECTOR_CONTROL_0
62 or k0, k1
63 li k1, 0xa0080000
64 sw k1, 0(k0)
70 li k1, CKSEG1
[all …]
Docteon_switch.S436 v3mulu k1, $0, $0
439 sd k1, PT_MTP+8(sp) /* PT_MTP+8 has P1 */
440 ori k1, $0, 1
441 v3mulu k1, k1, $0
444 sd k1, PT_MPL(sp) /* PT_MPL has MPL0 */
445 v3mulu k1, $0, $0
448 sd k1, PT_MPL+16(sp) /* PT_MPL+16 has MPL2 */
505 ld k1, PT_MTP+16(sp) /* P2 */
511 mtp2 k1 /* P2 */
Dbmips_5xxx_init.S356 lui k1, 0x2000
357 or k0, k1, k0
382 lui k1, 0x2000
383 or k0, k1, k0
384 xor k0, k1, k0
/linux-6.6.21/include/linux/
Dbtree-128.h22 static inline void *btree_lookup128(struct btree_head128 *head, u64 k1, u64 k2) in btree_lookup128() argument
24 u64 key[2] = {k1, k2}; in btree_lookup128()
29 u64 *k1, u64 *k2) in btree_get_prev128() argument
31 u64 key[2] = {*k1, *k2}; in btree_get_prev128()
36 *k1 = key[0]; in btree_get_prev128()
41 static inline int btree_insert128(struct btree_head128 *head, u64 k1, u64 k2, in btree_insert128() argument
44 u64 key[2] = {k1, k2}; in btree_insert128()
49 static inline int btree_update128(struct btree_head128 *head, u64 k1, u64 k2, in btree_update128() argument
52 u64 key[2] = {k1, k2}; in btree_update128()
57 static inline void *btree_remove128(struct btree_head128 *head, u64 k1, u64 k2) in btree_remove128() argument
[all …]
/linux-6.6.21/arch/mips/mm/
Dcex-sb1.S49 sd k1,0x178($0)
59 mfc0 k1,C0_ERRCTL
60 bgtz k1,attempt_recovery
61 sll k0,k1,1
98 li k1,1 << 26 /* ICACHE_EXTERNAL */
99 and k1,k0
100 bnez k1,unrecoverable
118 ld k1,0x178($0)
131 li k1,~CONF_CM_CMASK
132 and k0,k0,k1
[all …]
Dcex-oct.S31 PTR_LA k1, cache_err_dcache
33 PTR_ADDU k1, k0, k1 /* k1 = &cache_err_dcache[core_id] */
36 sd k0, (k1)
40 mfc0 k1, CP0_STATUS
41 andi k1, k1, ST0_EXL
42 beqz k1, 1f
Dcex-gen.S31 li k1,~CONF_CM_CMASK
32 and k0,k0,k1
/linux-6.6.21/arch/sh/boards/mach-hp6xx/
Dpm_wakeup.S17 #define k1 r1 macro
21 mov #-126, k1
23 mov.b k0, @k1
25 mov.l 5f, k1
27 mov.w k0, @k1
29 mov.l 4f, k1
30 jmp @k1
/linux-6.6.21/arch/mips/include/asm/
Dstackframe.h121 lui k1, %hi(kernelsp)
123 lui k1, %highest(kernelsp)
124 daddiu k1, %higher(kernelsp)
125 dsll k1, 16
126 daddiu k1, %hi(kernelsp)
127 dsll k1, 16
130 LONG_ADDU k1, k0
136 LONG_L sp, %lo(kernelsp)(k1)
138 LONG_L k1, %lo(kernelsp)(k1)
170 lui k1, %hi(kernelsp)
[all …]
Dregdef.h54 #define k1 $27 macro
97 #define k1 $27 macro
/linux-6.6.21/arch/arm/crypto/
Dsha1-ce-core.S17 k1 .req q1
68 vld1.32 {k0-k1}, [ip, :128]!
94 add_update c, 0, k1, 8, 9, 10, 11
96 add_update p, 1, k1, 9, 10, 11, 8
97 add_update p, 0, k1, 10, 11, 8, 9
98 add_update p, 1, k1, 11, 8, 9, 10
99 add_update p, 0, k1, 8, 9, 10, 11
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_dccg.c61 enum pixel_rate_div *k1, in dccg32_get_pixel_rate_div() argument
67 *k1 = PIXEL_RATE_DIV_NA; in dccg32_get_pixel_rate_div()
96 *k1 = (enum pixel_rate_div)val_k1; in dccg32_get_pixel_rate_div()
103 enum pixel_rate_div k1, in dccg32_set_pixel_rate_div() argument
112 if (k1 == PIXEL_RATE_DIV_NA || k2 == PIXEL_RATE_DIV_NA) { in dccg32_set_pixel_rate_div()
118 if (k1 == cur_k1 && k2 == cur_k2) in dccg32_set_pixel_rate_div()
124 OTG0_PIXEL_RATE_DIVK1, k1, in dccg32_set_pixel_rate_div()
129 OTG1_PIXEL_RATE_DIVK1, k1, in dccg32_set_pixel_rate_div()
134 OTG2_PIXEL_RATE_DIVK1, k1, in dccg32_set_pixel_rate_div()
139 OTG3_PIXEL_RATE_DIVK1, k1, in dccg32_set_pixel_rate_div()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn314/
Ddcn314_dccg.c61 enum pixel_rate_div *k1, in dccg314_get_pixel_rate_div() argument
67 *k1 = PIXEL_RATE_DIV_NA; in dccg314_get_pixel_rate_div()
96 *k1 = (enum pixel_rate_div)val_k1; in dccg314_get_pixel_rate_div()
103 enum pixel_rate_div k1, in dccg314_set_pixel_rate_div() argument
111 if (k1 == PIXEL_RATE_DIV_NA || k2 == PIXEL_RATE_DIV_NA) { in dccg314_set_pixel_rate_div()
117 if (k1 == cur_k1 && k2 == cur_k2) in dccg314_set_pixel_rate_div()
123 OTG0_PIXEL_RATE_DIVK1, k1, in dccg314_set_pixel_rate_div()
128 OTG1_PIXEL_RATE_DIVK1, k1, in dccg314_set_pixel_rate_div()
133 OTG2_PIXEL_RATE_DIVK1, k1, in dccg314_set_pixel_rate_div()
138 OTG3_PIXEL_RATE_DIVK1, k1, in dccg314_set_pixel_rate_div()
/linux-6.6.21/arch/sh/kernel/cpu/sh3/
Dentry.S68 #define k1 r1 macro
257 mov #0xfffffff0, k1
258 extu.b k1, k1
259 not k1, k1
260 and k1, k2 ! Mask original SR value
303 ! k1 trashed
314 stc spc, k1
316 cmp/hs k0, k1 ! test k1 (saved PC) >= k0 (saved r0)
318 stc r1_bank, k1
323 2: mov k1, r15 ! SP = r1
/linux-6.6.21/arch/arm64/crypto/
Dsha1-ce-core.S15 k1 .req v1
71 loadrc k1.4s, 0x6ed9eba1, w6
99 add_update c, ev, k1, 8, 9, 10, 11
101 add_update p, od, k1, 9, 10, 11, 8
102 add_update p, ev, k1, 10, 11, 8, 9
103 add_update p, od, k1, 11, 8, 9, 10
104 add_update p, ev, k1, 8, 9, 10, 11
/linux-6.6.21/fs/xfs/libxfs/
Dxfs_alloc_btree.c262 const union xfs_btree_key *k1, in xfs_bnobt_diff_two_keys() argument
268 return (int64_t)be32_to_cpu(k1->alloc.ar_startblock) - in xfs_bnobt_diff_two_keys()
275 const union xfs_btree_key *k1, in xfs_cntbt_diff_two_keys() argument
284 diff = be32_to_cpu(k1->alloc.ar_blockcount) - in xfs_cntbt_diff_two_keys()
289 return be32_to_cpu(k1->alloc.ar_startblock) - in xfs_cntbt_diff_two_keys()
389 const union xfs_btree_key *k1, in xfs_bnobt_keys_inorder() argument
392 return be32_to_cpu(k1->alloc.ar_startblock) < in xfs_bnobt_keys_inorder()
410 const union xfs_btree_key *k1, in xfs_cntbt_keys_inorder() argument
413 return be32_to_cpu(k1->alloc.ar_blockcount) < in xfs_cntbt_keys_inorder()
415 (k1->alloc.ar_blockcount == k2->alloc.ar_blockcount && in xfs_cntbt_keys_inorder()
[all …]
/linux-6.6.21/crypto/
Dtea.c60 u32 k0, k1, k2, k3; in tea_encrypt() local
69 k1 = ctx->KEY[1]; 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
97 k1 = ctx->KEY[1]; in tea_decrypt()
107 y -= ((z << 4) + k0) ^ (z + sum) ^ ((z >> 5) + k1); in tea_decrypt()
Dvmac.c283 #define k1 (*(((u32 *)kl)+INDEX_HIGH)) in poly_step_func() macro
294 p += MUL32(a1, k1); in poly_step_func()
300 p += MUL32(a2, k1); in poly_step_func()
308 q += MUL32(a3, k1); in poly_step_func()
314 p += MUL32(a0, k1); in poly_step_func()
329 #undef k1 in poly_step_func()
359 static u64 l3hash(u64 p1, u64 p2, u64 k1, u64 k2, u64 len) in l3hash() argument
380 p1 += k1; in l3hash()
381 p1 += (0 - (p1 < k1)) & 257; in l3hash()
/linux-6.6.21/arch/mips/dec/prom/
Dlocore.S21 la k1, mem_err
23 sw k0, 0(k1)
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/flower/
Dconntrack.h18 char *k1, *m1, *k2, *m2; \
20 k1 = (char *)_match1.key; \
25 if ((k1[i] & m1[i] & m2[i]) ^ \
/linux-6.6.21/arch/sh/kernel/cpu/shmobile/
Dsleep.S22 #define k1 r1 macro
249 sts pr, k1
251 and k0, k1
254 ldc k1, vbr
257 mov.l @(SH_SLEEP_SR, k1), k0
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dhashmap.c341 long k1 = 0, k2 = 1; in test_hashmap_multimap() local
356 err = hashmap__append(map, k1, 1); in test_hashmap_multimap()
359 err = hashmap__append(map, k1, 2); in test_hashmap_multimap()
362 err = hashmap__append(map, k1, 4); in test_hashmap_multimap()
391 hashmap__for_each_key_entry(map, entry, k1) { in test_hashmap_multimap()
/linux-6.6.21/drivers/crypto/ccp/
Dccp-crypto-aes-cmac.c306 gk = (__be64 *)ctx->u.aes.k1; in ccp_aes_cmac_setkey()
313 if (ctx->u.aes.k1[0] & 0x80) { in ccp_aes_cmac_setkey()
322 ctx->u.aes.kn_len = sizeof(ctx->u.aes.k1); in ccp_aes_cmac_setkey()
323 sg_init_one(&ctx->u.aes.k1_sg, ctx->u.aes.k1, sizeof(ctx->u.aes.k1)); in ccp_aes_cmac_setkey()
/linux-6.6.21/arch/sparc/crypto/
Ddes_glue.c185 u64 k1[DES_EXPKEY_WORDS / 2]; in des3_ede_set_key() local
194 des_sparc64_key_expand((const u32 *)key, k1); in des3_ede_set_key()
200 memcpy(&dctx->encrypt_expkey[0], &k1[0], sizeof(k1)); in des3_ede_set_key()
209 &k1[0]); in des3_ede_set_key()

1234