Home
last modified time | relevance | path

Searched refs:k1 (Results 1 - 25 of 131) sorted by relevance

123456

/kernel/linux/linux-5.10/arch/mips/kernel/
H A Dgenex.S36 mfc0 k1, CP0_CAUSE
37 andi k1, k1, 0x7c
39 dsll k1, k1, 1
41 PTR_L k0, exception_handlers(k1)
56 mfc0 k1, CP0_CAUSE
58 andi k1, k1, 0x7c
62 beq k1, k
[all...]
H A 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, CKSEG
[all...]
H A Docteon_switch.S421 * safely modify v1,k0, k1,$10-$15, and $24. It will
438 v3mulu k1, $0, $0
441 sd k1, PT_MTP+8(sp) /* PT_MTP+8 has P1 */
442 ori k1, $0, 1
443 v3mulu k1, k1, $0
446 sd k1, PT_MPL(sp) /* PT_MPL has MPL0 */
447 v3mulu k1, $0, $0
450 sd k1, PT_MPL+16(sp) /* PT_MPL+16 has MPL2 */
510 ld k1, PT_MT
[all...]
/kernel/linux/linux-6.6/arch/mips/kernel/
H A 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, k
[all...]
H A 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, CKSEG
[all...]
H A Docteon_switch.S420 * safely modify v1,k0, k1,$10-$15, and $24. It will
436 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_MT
[all...]
/kernel/linux/linux-5.10/include/linux/
H A 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()
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, u6 argument
28 btree_get_prev128(struct btree_head128 *head, u64 *k1, u64 *k2) btree_get_prev128() argument
63 btree_last128(struct btree_head128 *head, u64 *k1, u64 *k2) btree_last128() argument
[all...]
/kernel/linux/linux-6.6/include/linux/
H A 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()
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, u6 argument
28 btree_get_prev128(struct btree_head128 *head, u64 *k1, u64 *k2) btree_get_prev128() argument
63 btree_last128(struct btree_head128 *head, u64 *k1, u64 *k2) btree_last128() argument
[all...]
/kernel/linux/linux-5.10/arch/mips/mm/
H A Dcex-sb1.S35 * (0x170-0x17f) are used to preserve k0, k1, and ra.
42 * save/restore k0 and k1 from low memory (Useg is direct
49 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,
[all...]
/kernel/linux/linux-6.6/arch/mips/mm/
H A Dcex-sb1.S35 * (0x170-0x17f) are used to preserve k0, k1, and ra.
42 * save/restore k0 and k1 from low memory (Useg is direct
49 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,
[all...]
/kernel/linux/linux-5.10/arch/sh/boards/mach-hp6xx/
H A Dpm_wakeup.S12 * k1 scratch
17 #define k1 r1 define
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
/kernel/linux/linux-6.6/arch/sh/boards/mach-hp6xx/
H A Dpm_wakeup.S12 * k1 scratch
17 #define k1 r1 define
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
/kernel/linux/linux-5.10/arch/mips/include/asm/
H A Dstackframe.h113 * stores the new value in k1, leaving sp unaffected.
121 lui k1, %hi(kernelsp) variable
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 variable
136 LONG_L sp, %lo(kernelsp)(k1)
138 LONG_L k1, variable
[all...]
/kernel/linux/linux-6.6/arch/mips/include/asm/
H A Dstackframe.h113 * stores the new value in k1, leaving sp unaffected.
121 lui k1, %hi(kernelsp) variable
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 variable
136 LONG_L sp, %lo(kernelsp)(k1)
138 LONG_L k1, variable
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn314/
H A Ddcn314_dccg.c61 enum pixel_rate_div *k1, in dccg314_get_pixel_rate_div()
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()
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()
58 dccg314_get_pixel_rate_div( struct dccg *dccg, uint32_t otg_inst, enum pixel_rate_div *k1, enum pixel_rate_div *k2) dccg314_get_pixel_rate_div() argument
100 dccg314_set_pixel_rate_div( struct dccg *dccg, uint32_t otg_inst, enum pixel_rate_div k1, enum pixel_rate_div k2) dccg314_set_pixel_rate_div() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn32/
H A Ddcn32_dccg.c61 enum pixel_rate_div *k1, in dccg32_get_pixel_rate_div()
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()
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()
58 dccg32_get_pixel_rate_div( struct dccg *dccg, uint32_t otg_inst, enum pixel_rate_div *k1, enum pixel_rate_div *k2) dccg32_get_pixel_rate_div() argument
100 dccg32_set_pixel_rate_div( struct dccg *dccg, uint32_t otg_inst, enum pixel_rate_div k1, enum pixel_rate_div k2) dccg32_set_pixel_rate_div() argument
[all...]
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh3/
H A Dentry.S35 * ldc k1, ssr ! delay slot
69 #define k1 r1 define
83 * k1 scratch
258 mov #0xfffffff0, k1
259 extu.b k1, k1
260 not k1, k1
261 and k1, k2 ! Mask original SR value
304 ! k1 trashe
[all...]
/kernel/linux/linux-6.6/arch/sh/kernel/cpu/sh3/
H A Dentry.S34 * ldc k1, ssr ! delay slot
68 #define k1 r1 define
82 * k1 scratch
257 mov #0xfffffff0, k1
258 extu.b k1, k1
259 not k1, k1
260 and k1, k2 ! Mask original SR value
303 ! k1 trashe
[all...]
/kernel/linux/linux-5.10/arch/mips/netlogic/common/
H A Dreset.S145 * We use scratch reg 6/7 to save k0/k1 and check for NMI first.
161 dmtc0 k1, $22, 7
163 li k1, 0x80000
164 and k1, k0, k1
165 beqz k1, 1f /* go to real reset entry */
167 li k1, CKSEG1ADDR(RESET_DATA_PHYS) /* NMI */
168 ld k0, BOOT_NMI_HANDLER(k1)
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_alloc_btree.c263 union xfs_btree_key *k1, in xfs_bnobt_diff_two_keys()
266 return (int64_t)be32_to_cpu(k1->alloc.ar_startblock) - in xfs_bnobt_diff_two_keys()
273 union xfs_btree_key *k1, in xfs_cntbt_diff_two_keys()
278 diff = be32_to_cpu(k1->alloc.ar_blockcount) - in xfs_cntbt_diff_two_keys()
283 return be32_to_cpu(k1->alloc.ar_startblock) - in xfs_cntbt_diff_two_keys()
383 union xfs_btree_key *k1, in xfs_bnobt_keys_inorder()
386 return be32_to_cpu(k1->alloc.ar_startblock) < in xfs_bnobt_keys_inorder()
404 union xfs_btree_key *k1, in xfs_cntbt_keys_inorder()
407 return be32_to_cpu(k1->alloc.ar_blockcount) < in xfs_cntbt_keys_inorder()
409 (k1 in xfs_cntbt_keys_inorder()
261 xfs_bnobt_diff_two_keys( struct xfs_btree_cur *cur, union xfs_btree_key *k1, union xfs_btree_key *k2) xfs_bnobt_diff_two_keys() argument
271 xfs_cntbt_diff_two_keys( struct xfs_btree_cur *cur, union xfs_btree_key *k1, union xfs_btree_key *k2) xfs_cntbt_diff_two_keys() argument
381 xfs_bnobt_keys_inorder( struct xfs_btree_cur *cur, union xfs_btree_key *k1, union xfs_btree_key *k2) xfs_bnobt_keys_inorder() argument
402 xfs_cntbt_keys_inorder( struct xfs_btree_cur *cur, union xfs_btree_key *k1, union xfs_btree_key *k2) xfs_cntbt_keys_inorder() argument
[all...]
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_alloc_btree.c262 const union xfs_btree_key *k1, in xfs_bnobt_diff_two_keys()
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()
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()
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()
413 return be32_to_cpu(k1->alloc.ar_blockcount) < in xfs_cntbt_keys_inorder()
415 (k1 in xfs_cntbt_keys_inorder()
260 xfs_bnobt_diff_two_keys( struct xfs_btree_cur *cur, const union xfs_btree_key *k1, const union xfs_btree_key *k2, const union xfs_btree_key *mask) xfs_bnobt_diff_two_keys() argument
273 xfs_cntbt_diff_two_keys( struct xfs_btree_cur *cur, const union xfs_btree_key *k1, const union xfs_btree_key *k2, const union xfs_btree_key *mask) xfs_cntbt_diff_two_keys() argument
387 xfs_bnobt_keys_inorder( struct xfs_btree_cur *cur, const union xfs_btree_key *k1, const union xfs_btree_key *k2) xfs_bnobt_keys_inorder() argument
408 xfs_cntbt_keys_inorder( struct xfs_btree_cur *cur, const union xfs_btree_key *k1, const union xfs_btree_key *k2) xfs_cntbt_keys_inorder() argument
[all...]
/kernel/linux/linux-5.10/crypto/
H A 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()
/kernel/linux/linux-6.6/crypto/
H A 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/
H A Dconntrack.h18 char *k1, *m1, *k2, *m2; \
20 k1 = (char *)_match1.key; \
25 if ((k1[i] & m1[i] & m2[i]) ^ \
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dhashmap.c262 void *k1 = (void *)0, *k2 = (void *)1; in test_hashmap_multimap() local
278 err = hashmap__append(map, k1, (void *)1); in test_hashmap_multimap()
281 err = hashmap__append(map, k1, (void *)2); in test_hashmap_multimap()
284 err = hashmap__append(map, k1, (void *)4); in test_hashmap_multimap()
313 hashmap__for_each_key_entry(map, entry, k1) { in test_hashmap_multimap()
317 "invalid k1 values: %lx\n", found_msk)) in test_hashmap_multimap()

Completed in 13 milliseconds

123456