Home
last modified time | relevance | path

Searched refs:k2 (Results 1 – 25 of 39) sorted by relevance

12

/linux/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() argument
31 u64 key[2] = {*k1, *k2}; in btree_get_prev128()
37 *k2 = key[1]; 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/lib/crypto/arm/
H A Dsha1-ce-core.S18 k2 .req q2
69 vld1.32 {k2-k3}, [ip, :128]
100 add_update p, 1, k2, 9, 10, 11, 8
102 add_update m, 0, k2, 10, 11, 8, 9
103 add_update m, 1, k2, 11, 8, 9, 10
104 add_update m, 0, k2, 8, 9, 10, 11
105 add_update m, 1, k2, 9, 10, 11, 8
/linux/drivers/gpu/drm/amd/display/dc/dccg/dcn32/
H A Ddcn32_dccg.c63 uint32_t *k2) in dccg32_get_pixel_rate_div() argument
69 *k2 = PIXEL_RATE_DIV_NA; in dccg32_get_pixel_rate_div()
98 *k2 = val_k2; in dccg32_get_pixel_rate_div()
105 enum pixel_rate_div k2) in dccg32_set_pixel_rate_div() argument
113 if (k1 == PIXEL_RATE_DIV_NA || k2 == PIXEL_RATE_DIV_NA) { in dccg32_set_pixel_rate_div()
119 if (k1 == cur_k1 && k2 == cur_k2) in dccg32_set_pixel_rate_div()
126 OTG0_PIXEL_RATE_DIVK2, k2); in dccg32_set_pixel_rate_div()
131 OTG1_PIXEL_RATE_DIVK2, k2); in dccg32_set_pixel_rate_div()
136 OTG2_PIXEL_RATE_DIVK2, k2); in dccg32_set_pixel_rate_div()
141 OTG3_PIXEL_RATE_DIVK2, k2); in dccg32_set_pixel_rate_div()
/linux/drivers/gpu/drm/amd/display/dc/dccg/dcn314/
H A Ddcn314_dccg.c63 uint32_t *k2) in dccg314_get_pixel_rate_div() argument
69 *k2 = PIXEL_RATE_DIV_NA; in dccg314_get_pixel_rate_div()
98 *k2 = val_k2; in dccg314_get_pixel_rate_div()
105 enum pixel_rate_div k2) in dccg314_set_pixel_rate_div() argument
113 if (k1 == PIXEL_RATE_DIV_NA || k2 == PIXEL_RATE_DIV_NA) { in dccg314_set_pixel_rate_div()
119 if (k1 == cur_k1 && k2 == cur_k2) in dccg314_set_pixel_rate_div()
126 OTG0_PIXEL_RATE_DIVK2, k2); in dccg314_set_pixel_rate_div()
131 OTG1_PIXEL_RATE_DIVK2, k2); in dccg314_set_pixel_rate_div()
136 OTG2_PIXEL_RATE_DIVK2, k2); in dccg314_set_pixel_rate_div()
141 OTG3_PIXEL_RATE_DIVK2, k2); in dccg314_set_pixel_rate_div()
/linux/lib/crypto/arm64/
H A Dsha1-ce-core.S16 k2 .req v2
72 loadrc k2.4s, 0x8f1bbcdc, w6
101 add_update p, od, k2, 9, 10, 11, 8
103 add_update m, ev, k2, 10, 11, 8, 9
104 add_update m, od, k2, 11, 8, 9, 10
105 add_update m, ev, k2, 8, 9, 10, 11
106 add_update m, od, k2, 9, 10, 11, 8
/linux/arch/sh/kernel/cpu/sh3/
H A Dentry.S69 #define k2 r2 macro
193 lds k2, pr ! restore pr
210 ! k2 returns original pr
240 mov.l @r15+, k2 ! original PR
253 lds k2, pr ! restore pr
256 mov k3, k2 ! original SR value
260 and k1, k2 ! Mask original SR value
270 6: or k0, k2 ! Set the IMASK-bits
271 ldc k2, ssr
304 ! k2 trashed
H A Dswsusp.S15 #define k2 r2 macro
66 lds k2, pr
/linux/sound/soc/intel/boards/
H A Dsof_board_helpers.h66 #define SOF_LINK_ORDER(k1, k2, k3, k4, k5, k6, k7) \ argument
68 (((k2) & SOF_LINK_ORDER_MASK) << (SOF_LINK_ORDER_SHIFT * 1)) | \
78 #define SOF_LINK_IDS(k1, k2, k3, k4, k5, k6, k7) \ argument
80 (((k2) & SOF_LINK_IDS_MASK) << (SOF_LINK_IDS_SHIFT * 1)) | \
/linux/arch/arm64/crypto/
H A Daes-ce.S81 .macro fin_round_Nx, de, k, k2, i0, i1, i2, i3, i4
93 eor \i0\().16b, \i0\().16b, \k2\().16b
95 eor \i1\().16b, \i1\().16b, \k2\().16b
97 eor \i2\().16b, \i2\().16b, \k2\().16b
98 eor \i3\().16b, \i3\().16b, \k2\().16b
100 eor \i4\().16b, \i4\().16b, \k2\().16b
/linux/lib/crypto/powerpc/
H A Daes.h114 u32 k2 = swab32(in[2]); in rndkey_from_vsx() local
120 k2 = inv_mix_columns(k2); in rndkey_from_vsx()
124 out[1] = be ? k1 : k2; in rndkey_from_vsx()
125 out[2] = be ? k2 : k1; in rndkey_from_vsx()
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dconntrack.h18 char *k1, *m1, *k2, *m2; \
22 k2 = (char *)_match2.key; \
26 (k2[i] & m1[i] & m2[i])) { \
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dhashmap.c341 long k1 = 0, k2 = 1; in test_hashmap_multimap() local
366 err = hashmap__append(map, k2, 8); in test_hashmap_multimap()
369 err = hashmap__append(map, k2, 16); in test_hashmap_multimap()
372 err = hashmap__append(map, k2, 32); in test_hashmap_multimap()
400 hashmap__for_each_key_entry(map, entry, k2) { in test_hashmap_multimap()
/linux/drivers/clk/sprd/
H A Dpll.c105 u16 k1, k2; in _sprd_pll_recalc_rate() local
134 k2 = pll->k2; in _sprd_pll_recalc_rate()
137 k2 + refin * nint * CLK_PLL_1M; in _sprd_pll_recalc_rate()
H A Dpll.h57 u16 k2; member
74 .k2 = _k2, \
/linux/fs/hfsplus/
H A Dcatalog.c17 const hfsplus_btree_key *k2) in hfsplus_cat_case_cmp_key() argument
22 k2p = k2->cat.parent; in hfsplus_cat_case_cmp_key()
26 return hfsplus_strcasecmp(&k1->cat.name, &k2->cat.name); in hfsplus_cat_case_cmp_key()
30 const hfsplus_btree_key *k2) in hfsplus_cat_bin_cmp_key() argument
35 k2p = k2->cat.parent; in hfsplus_cat_bin_cmp_key()
39 return hfsplus_strcmp(&k1->cat.name, &k2->cat.name); in hfsplus_cat_bin_cmp_key()
H A Dextents.c21 const hfsplus_btree_key *k2) in hfsplus_ext_cmp_key() argument
27 k2id = k2->ext.cnid; in hfsplus_ext_cmp_key()
31 if (k1->ext.fork_type != k2->ext.fork_type) in hfsplus_ext_cmp_key()
32 return k1->ext.fork_type < k2->ext.fork_type ? -1 : 1; in hfsplus_ext_cmp_key()
35 k2s = k2->ext.start_block; in hfsplus_ext_cmp_key()
/linux/tools/testing/selftests/bpf/progs/
H A Drbtree.c136 long k1 = -1, k2 = -1, k3 = -1; in rbtree_add_and_remove_array() local
166 k2 = n->key; in rbtree_add_and_remove_array()
174 if (k1 != 0 || k2 != 2 || k3 != 4) in rbtree_add_and_remove_array()
/linux/drivers/media/usb/gspca/
H A Dsonixj.c1802 u8 k2; in setbrightness() local
1804 k2 = (brightness - 0x80) >> 2; in setbrightness()
1807 if (k2 > 0x1f) in setbrightness()
1808 k2 = 0; /* only positive Y offset */ in setbrightness()
1841 reg_w1(gspca_dev, 0x96, k2); /* color matrix Y offset */ in setbrightness()
1847 u8 k2; in setcontrast() local
1850 k2 = sd->contrast->val * 37 / (CONTRAST_MAX + 1) in setcontrast()
1852 contrast[0] = (k2 + 1) / 2; /* red */ in setcontrast()
1854 contrast[2] = k2; /* green */ in setcontrast()
1856 contrast[4] = k2 / 5; /* blue */ in setcontrast()
/linux/drivers/gpu/drm/amd/display/dc/dccg/dcn35/
H A Ddcn35_dccg.c1229 uint32_t *k2) in dccg35_get_pixel_rate_div() argument
1235 *k2 = PIXEL_RATE_DIV_NA; in dccg35_get_pixel_rate_div()
1264 *k2 = val_k2; in dccg35_get_pixel_rate_div()
1271 enum pixel_rate_div k2) in dccg35_set_pixel_rate_div() argument
1280 if (k1 == PIXEL_RATE_DIV_NA || k2 == PIXEL_RATE_DIV_NA) { in dccg35_set_pixel_rate_div()
1286 if (k1 == cur_k1 && k2 == cur_k2) in dccg35_set_pixel_rate_div()
1293 OTG0_PIXEL_RATE_DIVK2, k2); in dccg35_set_pixel_rate_div()
1298 OTG1_PIXEL_RATE_DIVK2, k2); in dccg35_set_pixel_rate_div()
1303 OTG2_PIXEL_RATE_DIVK2, k2); in dccg35_set_pixel_rate_div()
1308 OTG3_PIXEL_RATE_DIVK2, k2); in dccg35_set_pixel_rate_div()
/linux/lib/crypto/riscv/
H A Dsha256-riscv64-zvknha_or_zvknhb-zvkb.S102 .macro sha256_16rounds last, k0, k1, k2, k3
105 sha256_4rounds \last, \k2, W2, W3, W0, W1
/linux/drivers/crypto/ccp/
H A Dccp-crypto-aes-cmac.c317 gk = (__be64 *)ctx->u.aes.k2; in ccp_aes_cmac_setkey()
324 sg_init_one(&ctx->u.aes.k2_sg, ctx->u.aes.k2, sizeof(ctx->u.aes.k2)); in ccp_aes_cmac_setkey()
H A Dccp-crypto.h110 u8 k2[AES_BLOCK_SIZE]; member
/linux/fs/ntfs3/
H A Dindex.c73 const u32 *k2 = key2; in cmp_uint() local
78 if (*k1 < *k2) in cmp_uint()
80 if (*k1 > *k2) in cmp_uint()
92 const struct SECURITY_KEY *k2 = key2; in cmp_sdh() local
99 t2 = le32_to_cpu(k2->hash); in cmp_sdh()
110 t2 = le32_to_cpu(k2->sec_id); in cmp_sdh()
127 const __le32 *k2 = key2; in cmp_uints() local
138 k2 += 1; // Skip REPARSE_KEY.ReparseTag in cmp_uints()
150 for (count = min(l1, l2) >> 2; count > 0; --count, ++k1, ++k2) { in cmp_uints()
152 u32 t2 = le32_to_cpu(*k2); in cmp_uints()
/linux/arch/powerpc/platforms/52xx/
H A DKconfig34 bool "bPlan Efika 5k2. MPC5200B based computer"
/linux/scripts/
H A Ddev-needs.sh313 dev_to_detail | sort -k2 -k1 | uniq -f 1 | sort | cut -f2-

12