| /Linux-v5.10/drivers/platform/x86/ |
| D | panasonic-laptop.c | 259 union acpi_object *hkey = NULL; in acpi_pcc_retrieve_biosdata() local 270 hkey = buffer.pointer; in acpi_pcc_retrieve_biosdata() 271 if (!hkey || (hkey->type != ACPI_TYPE_PACKAGE)) { in acpi_pcc_retrieve_biosdata() 277 if (pcc->num_sifr < hkey->package.count) { in acpi_pcc_retrieve_biosdata() 284 for (i = 0; i < hkey->package.count; i++) { in acpi_pcc_retrieve_biosdata() 285 union acpi_object *element = &(hkey->package.elements[i]); in acpi_pcc_retrieve_biosdata() 292 pcc->sinf[hkey->package.count] = -1; in acpi_pcc_retrieve_biosdata()
|
| D | thinkpad_acpi.c | 557 TPACPI_HANDLE(hkey, ec, "\\_SB.HKEY", /* 600e/x, 770e, 770x */ 3488 TPACPI_ACPIHANDLE_INIT(hkey); in hotkey_init() 3880 static bool hotkey_notify_hotkey(const u32 hkey, in hotkey_notify_hotkey() argument 3885 unsigned int scancode = hkey & 0xfff; in hotkey_notify_hotkey() 3894 switch ((hkey >> 8) & 0xf) { in hotkey_notify_hotkey() 3930 static bool hotkey_notify_wakeup(const u32 hkey, in hotkey_notify_wakeup() argument 3938 switch (hkey) { in hotkey_notify_wakeup() 3970 static bool hotkey_notify_dockevent(const u32 hkey, in hotkey_notify_dockevent() argument 3978 switch (hkey) { in hotkey_notify_dockevent() 3998 static bool hotkey_notify_usrevent(const u32 hkey, in hotkey_notify_usrevent() argument [all …]
|
| /Linux-v5.10/drivers/crypto/ |
| D | atmel-sha.c | 1617 static inline void atmel_sha_hmac_key_init(struct atmel_sha_hmac_key *hkey) in atmel_sha_hmac_key_init() argument 1619 memset(hkey, 0, sizeof(*hkey)); in atmel_sha_hmac_key_init() 1622 static inline void atmel_sha_hmac_key_release(struct atmel_sha_hmac_key *hkey) in atmel_sha_hmac_key_release() argument 1624 kfree(hkey->keydup); in atmel_sha_hmac_key_release() 1625 memset(hkey, 0, sizeof(*hkey)); in atmel_sha_hmac_key_release() 1628 static inline int atmel_sha_hmac_key_set(struct atmel_sha_hmac_key *hkey, in atmel_sha_hmac_key_set() argument 1632 atmel_sha_hmac_key_release(hkey); in atmel_sha_hmac_key_set() 1634 if (keylen > sizeof(hkey->buffer)) { in atmel_sha_hmac_key_set() 1635 hkey->keydup = kmemdup(key, keylen, GFP_KERNEL); in atmel_sha_hmac_key_set() 1636 if (!hkey->keydup) in atmel_sha_hmac_key_set() [all …]
|
| /Linux-v5.10/drivers/net/ethernet/cisco/enic/ |
| D | enic_ethtool.c | 578 static int enic_get_rxfh(struct net_device *netdev, u32 *indir, u8 *hkey, in enic_get_rxfh() argument 583 if (hkey) in enic_get_rxfh() 584 memcpy(hkey, enic->rss_key, ENIC_RSS_LEN); in enic_get_rxfh() 593 const u8 *hkey, const u8 hfunc) in enic_set_rxfh() argument 601 if (hkey) in enic_set_rxfh() 602 memcpy(enic->rss_key, hkey, ENIC_RSS_LEN); in enic_set_rxfh()
|
| /Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/nic/ |
| D | otx2_ethtool.c | 597 u8 *hkey, u8 *hfunc) in otx2_get_rxfh() argument 610 if (hkey) in otx2_get_rxfh() 611 memcpy(hkey, rss->key, sizeof(rss->key)); in otx2_get_rxfh() 621 const u8 *hkey, const u8 hfunc) in otx2_set_rxfh() argument 642 if (hkey) { in otx2_set_rxfh() 643 memcpy(rss->key, hkey, sizeof(rss->key)); in otx2_set_rxfh()
|
| /Linux-v5.10/drivers/net/ethernet/cavium/thunder/ |
| D | nicvf_ethtool.c | 649 static int nicvf_get_rxfh(struct net_device *dev, u32 *indir, u8 *hkey, in nicvf_get_rxfh() argument 661 if (hkey) in nicvf_get_rxfh() 662 memcpy(hkey, rss->key, RSS_HASH_KEY_SIZE * sizeof(u64)); in nicvf_get_rxfh() 671 const u8 *hkey, const u8 hfunc) in nicvf_set_rxfh() argument 691 if (hkey) { in nicvf_set_rxfh() 692 memcpy(rss->key, hkey, RSS_HASH_KEY_SIZE * sizeof(u64)); in nicvf_set_rxfh()
|
| /Linux-v5.10/drivers/net/ethernet/emulex/benet/ |
| D | be_ethtool.c | 1268 static int be_get_rxfh(struct net_device *netdev, u32 *indir, u8 *hkey, in be_get_rxfh() argument 1280 if (hkey) in be_get_rxfh() 1281 memcpy(hkey, rss->rss_hkey, RSS_HASH_KEY_LEN); in be_get_rxfh() 1290 const u8 *hkey, const u8 hfunc) in be_set_rxfh() argument 1314 if (!hkey) in be_set_rxfh() 1315 hkey = adapter->rss_info.rss_hkey; in be_set_rxfh() 1319 RSS_INDIR_TABLE_LEN, hkey); in be_set_rxfh() 1324 memcpy(adapter->rss_info.rss_hkey, hkey, RSS_HASH_KEY_LEN); in be_set_rxfh()
|
| /Linux-v5.10/drivers/crypto/ccree/ |
| D | cc_aead.h | 57 u8 hkey[AES_BLOCK_SIZE] ____cacheline_aligned; member
|
| D | cc_buffer_mgr.c | 1000 dma_addr = dma_map_single(dev, areq_ctx->hkey, AES_BLOCK_SIZE, in cc_map_aead_request() 1004 AES_BLOCK_SIZE, areq_ctx->hkey); in cc_map_aead_request()
|
| D | cc_aead.c | 1845 memset(req_ctx->hkey, 0, AES_BLOCK_SIZE); in config_gcm_context()
|
| /Linux-v5.10/drivers/net/phy/mscc/ |
| D | mscc_macsec.c | 505 u16 key_len, u8 hkey[16]) in vsc8584_macsec_derive_key() 515 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(flow->key, priv->secy->key_len, hkey); in vsc8584_macsec_transformation() 572 ((u32 *)hkey)[i]); in vsc8584_macsec_transformation()
|
| /Linux-v5.10/fs/xfs/scrub/ |
| D | btree.c | 131 union xfs_btree_key hkey; in xchk_btree_rec() local 162 cur->bc_ops->init_high_key_from_rec(&hkey, rec); in xchk_btree_rec() 164 if (cur->bc_ops->diff_two_keys(cur, keyp, &hkey) < 0) in xchk_btree_rec()
|
| /Linux-v5.10/net/ethtool/ |
| D | ioctl.c | 1063 u8 *hkey = NULL; in ethtool_get_rxfh() local 1105 hkey = rss_config + indir_bytes; in ethtool_get_rxfh() 1108 ret = dev->ethtool_ops->get_rxfh_context(dev, indir, hkey, in ethtool_get_rxfh() 1112 ret = dev->ethtool_ops->get_rxfh(dev, indir, hkey, &dev_hfunc); in ethtool_get_rxfh() 1139 u8 *hkey = NULL; in ethtool_set_rxfh() local 1209 hkey = rss_config + indir_bytes; in ethtool_set_rxfh() 1210 if (copy_from_user(hkey, in ethtool_set_rxfh() 1219 ret = ops->set_rxfh_context(dev, indir, hkey, rxfh.hfunc, in ethtool_set_rxfh() 1222 ret = ops->set_rxfh(dev, indir, hkey, rxfh.hfunc); in ethtool_set_rxfh()
|
| /Linux-v5.10/fs/xfs/libxfs/ |
| D | xfs_btree.c | 1987 union xfs_btree_key hkey; in xfs_btree_get_leaf_keys() local 2000 cur->bc_ops->init_high_key_from_rec(&hkey, rec); in xfs_btree_get_leaf_keys() 2001 if (cur->bc_ops->diff_two_keys(cur, &hkey, &max_hkey) in xfs_btree_get_leaf_keys() 2003 max_hkey = hkey; in xfs_btree_get_leaf_keys() 2018 union xfs_btree_key *hkey; in xfs_btree_get_node_keys() local 2029 hkey = xfs_btree_high_key_addr(cur, n, block); in xfs_btree_get_node_keys() 2030 if (cur->bc_ops->diff_two_keys(cur, hkey, max_hkey) > 0) in xfs_btree_get_node_keys() 2031 max_hkey = hkey; in xfs_btree_get_node_keys() 2085 union xfs_btree_key *hkey; in __xfs_btree_updkeys() local 2100 hkey = xfs_btree_high_key_from_key(cur, lkey); in __xfs_btree_updkeys() [all …]
|
| /Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | eswitch_offloads.c | 132 u32 hkey; in esw_vport_tbl_put() local 135 hkey = flow_attr_to_vport_key(esw, attr, &key); in esw_vport_tbl_put() 136 e = esw_vport_tbl_lookup(esw, &key, hkey); in esw_vport_tbl_put() 155 u32 hkey; in esw_vport_tbl_get() local 158 hkey = flow_attr_to_vport_key(esw, attr, &skey); in esw_vport_tbl_get() 159 e = esw_vport_tbl_lookup(esw, &skey, hkey); in esw_vport_tbl_get() 185 hash_add(esw->fdb_table.offloads.vports.table, &e->hlist, hkey); in esw_vport_tbl_get()
|
| /Linux-v5.10/drivers/net/ethernet/intel/i40e/ |
| D | i40e_main.c | 9704 static const u32 hkey[] = { in i40e_fdir_sb_setup() local 9712 wr32(&pf->hw, I40E_GLQF_HKEY(i), hkey[i]); in i40e_fdir_sb_setup()
|