Home
last modified time | relevance | path

Searched refs:hkey (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dvporttbl.c88 u32 hkey; in mlx5_esw_vporttbl_get() local
92 hkey = flow_attr_to_vport_key(esw, attr, &skey); in mlx5_esw_vporttbl_get()
93 e = esw_vport_tbl_lookup(esw, &skey, hkey); in mlx5_esw_vporttbl_get()
119 hash_add(esw->fdb_table.offloads.vports.table, &e->hlist, hkey); in mlx5_esw_vporttbl_get()
136 u32 hkey; in mlx5_esw_vporttbl_put() local
140 hkey = flow_attr_to_vport_key(esw, attr, &key); in mlx5_esw_vporttbl_put()
141 e = esw_vport_tbl_lookup(esw, &key, hkey); in mlx5_esw_vporttbl_put()
/linux/drivers/platform/x86/
H A Dpanasonic-laptop.c332 union acpi_object *hkey = NULL; in acpi_pcc_retrieve_biosdata() local
342 hkey = buffer.pointer; in acpi_pcc_retrieve_biosdata()
343 if (!hkey || (hkey->type != ACPI_TYPE_PACKAGE)) { in acpi_pcc_retrieve_biosdata()
349 if (pcc->num_sifr < hkey->package.count) { in acpi_pcc_retrieve_biosdata()
351 pcc->num_sifr, hkey->package.count); in acpi_pcc_retrieve_biosdata()
356 for (i = 0; i < hkey->package.count; i++) { in acpi_pcc_retrieve_biosdata()
357 union acpi_object *element = &(hkey->package.elements[i]); in acpi_pcc_retrieve_biosdata()
363 pcc->sinf[hkey->package.count] = -1; in acpi_pcc_retrieve_biosdata()
/linux/tools/testing/selftests/drivers/net/hw/
H A Dtoeplitz.c535 if (!rsp->_len.hkey) in read_rss_dev_info_ynl()
538 if (rsp->_len.hkey < TOEPLITZ_KEY_MIN_LEN || in read_rss_dev_info_ynl()
539 rsp->_len.hkey > TOEPLITZ_KEY_MAX_LEN) in read_rss_dev_info_ynl()
541 rsp->_len.hkey, TOEPLITZ_KEY_MIN_LEN, in read_rss_dev_info_ynl()
544 memcpy(toeplitz_key, rsp->hkey, rsp->_len.hkey); in read_rss_dev_info_ynl()
/linux/drivers/platform/x86/lenovo/
H A Dthinkpad_acpi.c182 * hkey -> scancode translation for
602 TPACPI_HANDLE(hkey, ec, "\\_SB.HKEY", /* 600e/x, 770e, 770x */
2236 static bool tpacpi_input_send_key(const u32 hkey, bool *send_acpi_ev) in tpacpi_input_send_key()
2241 if (tpacpi_driver_event(hkey)) in tpacpi_input_send_key()
2246 * map the hkey event codes to 0x00 - 0x4d scancodes so that a straight scancode in tpacpi_input_send_key()
2256 if (hkey >= TP_HKEY_EV_ORIG_KEY_START && in tpacpi_input_send_key()
2257 hkey <= TP_HKEY_EV_ORIG_KEY_END) { in tpacpi_input_send_key()
2258 scancode = hkey - TP_HKEY_EV_ORIG_KEY_START; in tpacpi_input_send_key()
2261 } else if (hkey >= TP_HKEY_EV_ADAPTIVE_KEY_START && in tpacpi_input_send_key()
2262 hkey < in tpacpi_input_send_key()
2235 tpacpi_input_send_key(const u32 hkey,bool * send_acpi_ev) tpacpi_input_send_key() argument
3649 hotkey_notify_hotkey(const u32 hkey,bool * send_acpi_ev) hotkey_notify_hotkey() argument
3665 hotkey_notify_wakeup(const u32 hkey,bool * send_acpi_ev) hotkey_notify_wakeup() argument
3700 hotkey_notify_dockevent(const u32 hkey,bool * send_acpi_ev) hotkey_notify_dockevent() argument
3739 hotkey_notify_usrevent(const u32 hkey,bool * send_acpi_ev) hotkey_notify_usrevent() argument
3769 hotkey_notify_6xxx(const u32 hkey,bool * send_acpi_ev) hotkey_notify_6xxx() argument
3849 hotkey_notify_8xxx(const u32 hkey,bool * send_acpi_ev) hotkey_notify_8xxx() argument
3864 u32 hkey; hotkey_notify() local
[all...]
/linux/net/ethtool/
H A Drss.c23 u8 *hkey;
140 data->hkey = rss_config + indir_bytes; in rss_get_data_alloc()
170 rxfh.key = data->hkey; in rss_prepare_get()
201 memcpy(data->hkey, ethtool_rxfh_context_key(ctx), in __rss_prepare_ctx()
234 data->hkey = rss_config + indir_bytes; in rss_prepare_ctx()
321 nla_put(skb, ETHTOOL_A_RSS_HKEY, data->hkey_size, data->hkey)))) in rss_fill_reply()
712 rxfh->key = kmemdup(data->hkey, data->hkey_size, GFP_KERNEL); in rss_set_prep_hkey()
22 u8 *hkey; global() member
/linux/drivers/crypto/ccree/
H A Dcc_aead.h57 u8 hkey[AES_BLOCK_SIZE] ____cacheline_aligned; member
H A Dcc_buffer_mgr.c1009 dma_addr = dma_map_single(dev, areq_ctx->hkey, AES_BLOCK_SIZE, in cc_map_aead_request()
1013 AES_BLOCK_SIZE, areq_ctx->hkey); in cc_map_aead_request()
/linux/fs/xfs/scrub/
H A Drmap.c152 union xfs_btree_key *lkey, *hkey; in xchk_rmapbt_check_unwritten_in_keyflags() local
176 hkey = xfs_btree_high_key_addr(cur, ptr, keyblock); in xchk_rmapbt_check_unwritten_in_keyflags()
177 if (hkey->rmap.rm_offset & badflag) { in xchk_rmapbt_check_unwritten_in_keyflags()
H A Dbtree.c145 union xfs_btree_key hkey; in xchk_btree_rec() local
177 cur->bc_ops->init_high_key_from_rec(&hkey, rec); in xchk_btree_rec()
179 if (xfs_btree_keycmp_lt(cur, keyp, &hkey)) in xchk_btree_rec()
/linux/drivers/net/phy/mscc/
H A Dmscc_macsec.c504 static int vsc8584_macsec_derive_key(const u8 *key, u16 key_len, u8 hkey[16]) in vsc8584_macsec_derive_key()
514 aes_encrypt(&aes, hkey, input); in vsc8584_macsec_derive_key()
527 u8 hkey[16]; in vsc8584_macsec_transformation() local
530 ret = vsc8584_macsec_derive_key(key, priv->secy->key_len, hkey); in vsc8584_macsec_transformation()
572 ((u32 *)hkey)[i]); in vsc8584_macsec_transformation()
/linux/net/l2tp/
H A Dl2tp_core.c392 unsigned long hkey = l2tp_v3_session_hashkey(sk, session->session_id); in l2tp_v3_session_get_next() local
396 hlist, hkey) { in l2tp_v3_session_get_next()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c10544 static const u32 hkey[] = { in i40e_fdir_sb_setup()
10552 wr32(&pf->hw, I40E_GLQF_HKEY(i), hkey[i]); in i40e_fdir_sb_setup()
10541 static const u32 hkey[] = { i40e_fdir_sb_setup() local