/linux/drivers/firmware/arm_scmi/ |
H A D | quirks.c | 99 unsigned int hkey; member 269 quirk->hkey = scmi_quirk_signature(quirk->vendor, in scmi_quirks_initialize() 272 hash_add(scmi_quirks_ht, &quirk->hash, quirk->hkey); in scmi_quirks_initialize() 275 quirk->name, quirk, quirk->hkey, in scmi_quirks_initialize() 288 unsigned int hkey; in scmi_quirks_enable() local 290 hkey = scmi_quirk_signature(i > 1 ? vend : NULL, in scmi_quirks_enable() 299 hash_for_each_possible(scmi_quirks_ht, quirk, hash, hkey) { in scmi_quirks_enable() 300 if (quirk->enabled || quirk->hkey != hkey || in scmi_quirks_enable()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | vporttbl.c | 88 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/crypto/ |
H A D | atmel-sha.c | 1616 static inline void atmel_sha_hmac_key_init(struct atmel_sha_hmac_key *hkey) in atmel_sha_hmac_key_init() argument 1618 memset(hkey, 0, sizeof(*hkey)); in atmel_sha_hmac_key_init() 1621 static inline void atmel_sha_hmac_key_release(struct atmel_sha_hmac_key *hkey) in atmel_sha_hmac_key_release() argument 1623 kfree(hkey->keydup); in atmel_sha_hmac_key_release() 1624 memset(hkey, 0, sizeof(*hkey)); in atmel_sha_hmac_key_release() 1627 static inline int atmel_sha_hmac_key_set(struct atmel_sha_hmac_key *hkey, in atmel_sha_hmac_key_set() argument 1631 atmel_sha_hmac_key_release(hkey); in atmel_sha_hmac_key_set() 1633 if (keylen > sizeof(hkey in atmel_sha_hmac_key_set() 1647 atmel_sha_hmac_key_get(const struct atmel_sha_hmac_key * hkey,const u8 ** key,unsigned int * keylen) atmel_sha_hmac_key_get() argument 1663 struct atmel_sha_hmac_key hkey; global() member [all...] |
/linux/drivers/platform/x86/ |
H A D | panasonic-laptop.c | 334 union acpi_object *hkey = NULL; in acpi_pcc_retrieve_biosdata() local 344 hkey = buffer.pointer; in acpi_pcc_retrieve_biosdata() 345 if (!hkey || (hkey->type != ACPI_TYPE_PACKAGE)) { in acpi_pcc_retrieve_biosdata() 351 if (pcc->num_sifr < hkey->package.count) { in acpi_pcc_retrieve_biosdata() 353 pcc->num_sifr, hkey->package.count); in acpi_pcc_retrieve_biosdata() 358 for (i = 0; i < hkey->package.count; i++) { in acpi_pcc_retrieve_biosdata() 359 union acpi_object *element = &(hkey->package.elements[i]); in acpi_pcc_retrieve_biosdata() 365 pcc->sinf[hkey->package.count] = -1; in acpi_pcc_retrieve_biosdata()
|
/linux/drivers/platform/x86/lenovo/ |
H A D | thinkpad_acpi.c | 180 * hkey -> scancode translation for 602 TPACPI_HANDLE(hkey, ec, "\\_SB.HKEY", /* 600e/x, 770e, 770x */ 2274 static bool tpacpi_input_send_key(const u32 hkey, bool *send_acpi_ev) in tpacpi_input_send_key() argument 2279 if (tpacpi_driver_event(hkey)) in tpacpi_input_send_key() 2284 * map the hkey event codes to 0x00 - 0x4d scancodes so that a straight scancode in tpacpi_input_send_key() 2294 if (hkey >= TP_HKEY_EV_ORIG_KEY_START && in tpacpi_input_send_key() 2295 hkey <= TP_HKEY_EV_ORIG_KEY_END) { in tpacpi_input_send_key() 2296 scancode = hkey - TP_HKEY_EV_ORIG_KEY_START; in tpacpi_input_send_key() 2299 } else if (hkey >= TP_HKEY_EV_ADAPTIVE_KEY_START && in tpacpi_input_send_key() 2300 hkey < in tpacpi_input_send_key() 3662 hotkey_notify_hotkey(const u32 hkey,bool * send_acpi_ev) hotkey_notify_hotkey() argument 3678 hotkey_notify_wakeup(const u32 hkey,bool * send_acpi_ev) hotkey_notify_wakeup() argument 3713 hotkey_notify_dockevent(const u32 hkey,bool * send_acpi_ev) hotkey_notify_dockevent() argument 3752 hotkey_notify_usrevent(const u32 hkey,bool * send_acpi_ev) hotkey_notify_usrevent() argument 3782 hotkey_notify_6xxx(const u32 hkey,bool * send_acpi_ev) hotkey_notify_6xxx() argument 3862 hotkey_notify_8xxx(const u32 hkey,bool * send_acpi_ev) hotkey_notify_8xxx() argument 3877 u32 hkey; hotkey_notify() local [all...] |
/linux/net/ethtool/ |
H A D | rss.c | 22 u8 *hkey; member 138 data->hkey = rss_config + indir_bytes; in rss_get_data_alloc() 168 rxfh.key = data->hkey; in rss_prepare_get() 197 memcpy(data->hkey, ethtool_rxfh_context_key(ctx), in __rss_prepare_ctx() 230 data->hkey = rss_config + indir_bytes; in rss_prepare_ctx() 317 nla_put(skb, ETHTOOL_A_RSS_HKEY, data->hkey_size, data->hkey)))) in rss_fill_reply() 713 rxfh->key = kmemdup(data->hkey, data->hkey_size, GFP_KERNEL); in rss_set_prep_hkey()
|
/linux/drivers/crypto/ccree/ |
H A D | cc_aead.h | 57 u8 hkey[AES_BLOCK_SIZE] ____cacheline_aligned; member 80 dma_addr_t hkey_dma_addr; /* Phys. address of hkey */
|
H A D | cc_buffer_mgr.c | 1009 dma_addr = dma_map_single(dev, areq_ctx->hkey, AES_BLOCK_SIZE, in cc_map_aead_request() 1012 dev_err(dev, "Mapping hkey %u B at va=%p for DMA failed\n", in cc_map_aead_request() 1013 AES_BLOCK_SIZE, areq_ctx->hkey); in cc_map_aead_request()
|
H A D | cc_aead.c | 1632 /* process one zero block to generate hkey */ in cc_set_ghash_desc() 1845 memset(req_ctx->hkey, 0, AES_BLOCK_SIZE); in config_gcm_context()
|
/linux/drivers/net/phy/mscc/ |
H A D | mscc_macsec.c | 504 static int vsc8584_macsec_derive_key(const u8 *key, u16 key_len, u8 hkey[16]) in vsc8584_macsec_derive_key() 514 aes_encrypt(&ctx, 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/fs/xfs/scrub/ |
H A D | btree.c | 143 union xfs_btree_key hkey; in xchk_btree_rec() local 175 cur->bc_ops->init_high_key_from_rec(&hkey, rec); in xchk_btree_rec() 177 if (xfs_btree_keycmp_lt(cur, keyp, &hkey)) in xchk_btree_rec()
|
/linux/drivers/net/ethernet/emulex/benet/ |
H A D | be_ethtool.c | 1293 u8 *hkey = rxfh->key; in be_set_rxfh() local 1315 if (!hkey) in be_set_rxfh() 1316 hkey = adapter->rss_info.rss_hkey; in be_set_rxfh() 1320 RSS_INDIR_TABLE_LEN, hkey); in be_set_rxfh() 1325 memcpy(adapter->rss_info.rss_hkey, hkey, RSS_HASH_KEY_LEN); in be_set_rxfh()
|
/linux/drivers/nvme/common/ |
H A D | auth.c | 307 static int nvme_auth_hash_skey(int hmac_id, u8 *skey, size_t skey_len, u8 *hkey) in nvme_auth_hash_skey() argument 323 ret = crypto_shash_tfm_digest(tfm, skey, skey_len, hkey); in nvme_auth_hash_skey()
|
/linux/fs/xfs/libxfs/ |
H A D | xfs_btree.c | 2165 union xfs_btree_key hkey; in xfs_btree_get_leaf_keys() local 2178 cur->bc_ops->init_high_key_from_rec(&hkey, rec); in xfs_btree_get_leaf_keys() 2179 if (xfs_btree_keycmp_gt(cur, &hkey, &max_hkey)) in xfs_btree_get_leaf_keys() 2180 max_hkey = hkey; in xfs_btree_get_leaf_keys() 2195 union xfs_btree_key *hkey; in xfs_btree_get_node_keys() local 2206 hkey = xfs_btree_high_key_addr(cur, n, block); in xfs_btree_get_node_keys() 2207 if (xfs_btree_keycmp_gt(cur, hkey, max_hkey)) in xfs_btree_get_node_keys() 2208 max_hkey = hkey; in xfs_btree_get_node_keys() 2262 union xfs_btree_key *hkey; in __xfs_btree_updkeys() local 2277 hkey in __xfs_btree_updkeys() [all...] |
/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_main.c | 10510 static const u32 hkey[] = { in i40e_fdir_sb_setup() local 10518 wr32(&pf->hw, I40E_GLQF_HKEY(i), hkey[i]); in i40e_fdir_sb_setup()
|