/Linux-v4.19/drivers/platform/x86/ |
D | panasonic-laptop.c | 272 union acpi_object *hkey = NULL; in acpi_pcc_retrieve_biosdata() local 283 hkey = buffer.pointer; in acpi_pcc_retrieve_biosdata() 284 if (!hkey || (hkey->type != ACPI_TYPE_PACKAGE)) { in acpi_pcc_retrieve_biosdata() 290 if (pcc->num_sifr < hkey->package.count) { in acpi_pcc_retrieve_biosdata() 297 for (i = 0; i < hkey->package.count; i++) { in acpi_pcc_retrieve_biosdata() 298 union acpi_object *element = &(hkey->package.elements[i]); in acpi_pcc_retrieve_biosdata() 305 pcc->sinf[hkey->package.count] = -1; in acpi_pcc_retrieve_biosdata()
|
D | thinkpad_acpi.c | 566 TPACPI_HANDLE(hkey, ec, "\\_SB.HKEY", /* 600e/x, 770e, 770x */ 3501 TPACPI_ACPIHANDLE_INIT(hkey); in hotkey_init() 3896 static bool hotkey_notify_hotkey(const u32 hkey, in hotkey_notify_hotkey() argument 3901 unsigned int scancode = hkey & 0xfff; in hotkey_notify_hotkey() 3910 switch ((hkey >> 8) & 0xf) { in hotkey_notify_hotkey() 3946 static bool hotkey_notify_wakeup(const u32 hkey, in hotkey_notify_wakeup() argument 3954 switch (hkey) { in hotkey_notify_wakeup() 3986 static bool hotkey_notify_dockevent(const u32 hkey, in hotkey_notify_dockevent() argument 3994 switch (hkey) { in hotkey_notify_dockevent() 4014 static bool hotkey_notify_usrevent(const u32 hkey, in hotkey_notify_usrevent() argument [all …]
|
/Linux-v4.19/drivers/crypto/ |
D | atmel-sha.c | 1686 static inline void atmel_sha_hmac_key_init(struct atmel_sha_hmac_key *hkey) in atmel_sha_hmac_key_init() argument 1688 memset(hkey, 0, sizeof(*hkey)); in atmel_sha_hmac_key_init() 1691 static inline void atmel_sha_hmac_key_release(struct atmel_sha_hmac_key *hkey) in atmel_sha_hmac_key_release() argument 1693 kfree(hkey->keydup); in atmel_sha_hmac_key_release() 1694 memset(hkey, 0, sizeof(*hkey)); in atmel_sha_hmac_key_release() 1697 static inline int atmel_sha_hmac_key_set(struct atmel_sha_hmac_key *hkey, in atmel_sha_hmac_key_set() argument 1701 atmel_sha_hmac_key_release(hkey); in atmel_sha_hmac_key_set() 1703 if (keylen > sizeof(hkey->buffer)) { in atmel_sha_hmac_key_set() 1704 hkey->keydup = kmemdup(key, keylen, GFP_KERNEL); in atmel_sha_hmac_key_set() 1705 if (!hkey->keydup) in atmel_sha_hmac_key_set() [all …]
|
/Linux-v4.19/drivers/net/ethernet/cisco/enic/ |
D | enic_ethtool.c | 599 static int enic_get_rxfh(struct net_device *netdev, u32 *indir, u8 *hkey, in enic_get_rxfh() argument 604 if (hkey) in enic_get_rxfh() 605 memcpy(hkey, enic->rss_key, ENIC_RSS_LEN); in enic_get_rxfh() 614 const u8 *hkey, const u8 hfunc) in enic_set_rxfh() argument 622 if (hkey) in enic_set_rxfh() 623 memcpy(enic->rss_key, hkey, ENIC_RSS_LEN); in enic_set_rxfh()
|
/Linux-v4.19/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_ethtool.c | 654 static int nicvf_get_rxfh(struct net_device *dev, u32 *indir, u8 *hkey, in nicvf_get_rxfh() argument 666 if (hkey) in nicvf_get_rxfh() 667 memcpy(hkey, rss->key, RSS_HASH_KEY_SIZE * sizeof(u64)); in nicvf_get_rxfh() 676 const u8 *hkey, const u8 hfunc) in nicvf_set_rxfh() argument 696 if (hkey) { in nicvf_set_rxfh() 697 memcpy(rss->key, hkey, RSS_HASH_KEY_SIZE * sizeof(u64)); in nicvf_set_rxfh()
|
/Linux-v4.19/drivers/net/ethernet/emulex/benet/ |
D | be_ethtool.c | 1256 static int be_get_rxfh(struct net_device *netdev, u32 *indir, u8 *hkey, in be_get_rxfh() argument 1268 if (hkey) in be_get_rxfh() 1269 memcpy(hkey, rss->rss_hkey, RSS_HASH_KEY_LEN); in be_get_rxfh() 1278 const u8 *hkey, const u8 hfunc) in be_set_rxfh() argument 1302 if (!hkey) in be_set_rxfh() 1303 hkey = adapter->rss_info.rss_hkey; in be_set_rxfh() 1307 RSS_INDIR_TABLE_LEN, hkey); in be_set_rxfh() 1312 memcpy(adapter->rss_info.rss_hkey, hkey, RSS_HASH_KEY_LEN); in be_set_rxfh()
|
/Linux-v4.19/drivers/crypto/ccree/ |
D | cc_aead.h | 57 u8 hkey[AES_BLOCK_SIZE] ____cacheline_aligned; member
|
D | cc_buffer_mgr.c | 1246 dma_addr = dma_map_single(dev, areq_ctx->hkey, AES_BLOCK_SIZE, in cc_map_aead_request() 1250 AES_BLOCK_SIZE, areq_ctx->hkey); in cc_map_aead_request()
|
D | cc_aead.c | 1835 memset(req_ctx->hkey, 0, AES_BLOCK_SIZE); in config_gcm_context()
|
/Linux-v4.19/fs/xfs/scrub/ |
D | btree.c | 138 union xfs_btree_key hkey; in xchk_btree_rec() local 169 cur->bc_ops->init_high_key_from_rec(&hkey, rec); in xchk_btree_rec() 171 if (cur->bc_ops->diff_two_keys(cur, keyp, &hkey) < 0) in xchk_btree_rec()
|
/Linux-v4.19/net/core/ |
D | ethtool.c | 1233 u8 *hkey = NULL; in ethtool_get_rxfh() local 1275 hkey = rss_config + indir_bytes; in ethtool_get_rxfh() 1278 ret = dev->ethtool_ops->get_rxfh_context(dev, indir, hkey, in ethtool_get_rxfh() 1282 ret = dev->ethtool_ops->get_rxfh(dev, indir, hkey, &dev_hfunc); in ethtool_get_rxfh() 1309 u8 *hkey = NULL; in ethtool_set_rxfh() local 1379 hkey = rss_config + indir_bytes; in ethtool_set_rxfh() 1380 if (copy_from_user(hkey, in ethtool_set_rxfh() 1389 ret = ops->set_rxfh_context(dev, indir, hkey, rxfh.hfunc, in ethtool_set_rxfh() 1392 ret = ops->set_rxfh(dev, indir, hkey, rxfh.hfunc); in ethtool_set_rxfh()
|
/Linux-v4.19/fs/xfs/libxfs/ |
D | xfs_btree.c | 2041 union xfs_btree_key hkey; in xfs_btree_get_leaf_keys() local 2054 cur->bc_ops->init_high_key_from_rec(&hkey, rec); in xfs_btree_get_leaf_keys() 2055 if (cur->bc_ops->diff_two_keys(cur, &hkey, &max_hkey) in xfs_btree_get_leaf_keys() 2057 max_hkey = hkey; in xfs_btree_get_leaf_keys() 2072 union xfs_btree_key *hkey; in xfs_btree_get_node_keys() local 2083 hkey = xfs_btree_high_key_addr(cur, n, block); in xfs_btree_get_node_keys() 2084 if (cur->bc_ops->diff_two_keys(cur, hkey, max_hkey) > 0) in xfs_btree_get_node_keys() 2085 max_hkey = hkey; in xfs_btree_get_node_keys() 2139 union xfs_btree_key *hkey; in __xfs_btree_updkeys() local 2154 hkey = xfs_btree_high_key_from_key(cur, lkey); in __xfs_btree_updkeys() [all …]
|
/Linux-v4.19/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 9048 static const u32 hkey[] = { in i40e_fdir_sb_setup() local 9056 wr32(&pf->hw, I40E_GLQF_HKEY(i), hkey[i]); in i40e_fdir_sb_setup()
|