Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/platform/x86/
Dpanasonic-laptop.c259 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()
Dthinkpad_acpi.c557 TPACPI_HANDLE(hkey, ec, "\\_SB.HKEY", /* 600e/x, 770e, 770x */
3476 TPACPI_ACPIHANDLE_INIT(hkey); in hotkey_init()
3868 static bool hotkey_notify_hotkey(const u32 hkey, in hotkey_notify_hotkey() argument
3873 unsigned int scancode = hkey & 0xfff; in hotkey_notify_hotkey()
3882 switch ((hkey >> 8) & 0xf) { in hotkey_notify_hotkey()
3918 static bool hotkey_notify_wakeup(const u32 hkey, in hotkey_notify_wakeup() argument
3926 switch (hkey) { in hotkey_notify_wakeup()
3958 static bool hotkey_notify_dockevent(const u32 hkey, in hotkey_notify_dockevent() argument
3966 switch (hkey) { in hotkey_notify_dockevent()
3986 static bool hotkey_notify_usrevent(const u32 hkey, in hotkey_notify_usrevent() argument
[all …]
/kernel/linux/linux-5.10/drivers/crypto/
Datmel-sha.c1617 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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c578 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c596 u8 *hkey, u8 *hfunc) in otx2_get_rxfh() argument
609 if (hkey) in otx2_get_rxfh()
610 memcpy(hkey, rss->key, sizeof(rss->key)); in otx2_get_rxfh()
620 const u8 *hkey, const u8 hfunc) in otx2_set_rxfh() argument
641 if (hkey) { in otx2_set_rxfh()
642 memcpy(rss->key, hkey, sizeof(rss->key)); in otx2_set_rxfh()
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/
Dnicvf_ethtool.c649 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c1268 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()
/kernel/linux/linux-5.10/drivers/crypto/ccree/
Dcc_aead.h57 u8 hkey[AES_BLOCK_SIZE] ____cacheline_aligned; member
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()
Dcc_aead.c1845 memset(req_ctx->hkey, 0, AES_BLOCK_SIZE); in config_gcm_context()
/kernel/linux/linux-5.10/drivers/net/phy/mscc/
Dmscc_macsec.c505 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()
/kernel/linux/linux-5.10/fs/xfs/scrub/
Dbtree.c131 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()
/kernel/linux/linux-5.10/net/ethtool/
Dioctl.c1167 u8 *hkey = NULL; in ethtool_get_rxfh() local
1209 hkey = rss_config + indir_bytes; in ethtool_get_rxfh()
1212 ret = dev->ethtool_ops->get_rxfh_context(dev, indir, hkey, in ethtool_get_rxfh()
1216 ret = dev->ethtool_ops->get_rxfh(dev, indir, hkey, &dev_hfunc); in ethtool_get_rxfh()
1243 u8 *hkey = NULL; in ethtool_set_rxfh() local
1313 hkey = rss_config + indir_bytes; in ethtool_set_rxfh()
1314 if (copy_from_user(hkey, in ethtool_set_rxfh()
1323 ret = ops->set_rxfh_context(dev, indir, hkey, rxfh.hfunc, in ethtool_set_rxfh()
1326 ret = ops->set_rxfh(dev, indir, hkey, rxfh.hfunc); in ethtool_set_rxfh()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_btree.c1984 union xfs_btree_key hkey; in xfs_btree_get_leaf_keys() local
1997 cur->bc_ops->init_high_key_from_rec(&hkey, rec); in xfs_btree_get_leaf_keys()
1998 if (cur->bc_ops->diff_two_keys(cur, &hkey, &max_hkey) in xfs_btree_get_leaf_keys()
2000 max_hkey = hkey; in xfs_btree_get_leaf_keys()
2015 union xfs_btree_key *hkey; in xfs_btree_get_node_keys() local
2026 hkey = xfs_btree_high_key_addr(cur, n, block); in xfs_btree_get_node_keys()
2027 if (cur->bc_ops->diff_two_keys(cur, hkey, max_hkey) > 0) in xfs_btree_get_node_keys()
2028 max_hkey = hkey; in xfs_btree_get_node_keys()
2082 union xfs_btree_key *hkey; in __xfs_btree_updkeys() local
2097 hkey = xfs_btree_high_key_from_key(cur, lkey); in __xfs_btree_updkeys()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c132 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_main.c9922 static const u32 hkey[] = { in i40e_fdir_sb_setup() local
9930 wr32(&pf->hw, I40E_GLQF_HKEY(i), hkey[i]); in i40e_fdir_sb_setup()
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch45600 +int higmac_get_rxfh(struct net_device *ndev, u32 *indir, u8 *hkey,
45609 + if (hkey != NULL)
45610 + memcpy(hkey, rss->key, RSS_HASH_KEY_SIZE);
45625 + u32 hkey;
45629 + hkey = readl(priv->gmac_iobase + RSS_HASH_KEY);
45630 + *((u32 *)rss->key) = hkey;
45693 + const u8 *hkey, const u8 hfunc)
45708 + if (hkey != NULL) {
45709 + memcpy(rss->key, hkey, RSS_HASH_KEY_SIZE);
46091 +int higmac_get_rxfh(struct net_device *ndev, u32 *indir, u8 *hkey, u8 *hfunc);
[all …]
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch338572 +int higmac_get_rxfh(struct net_device *ndev, u32 *indir, u8 *hkey,
338581 + if (hkey != NULL)
338582 + memcpy(hkey, rss->key, RSS_HASH_KEY_SIZE);
338597 + u32 hkey;
338601 + hkey = readl(priv->gmac_iobase + RSS_HASH_KEY);
338602 + *((u32 *)rss->key) = hkey;
338665 + const u8 *hkey, const u8 hfunc)
338680 + if (hkey != NULL) {
338681 + memcpy(rss->key, hkey, RSS_HASH_KEY_SIZE);
339063 +int higmac_get_rxfh(struct net_device *ndev, u32 *indir, u8 *hkey, u8 *hfunc);
[all …]