Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/platform/x86/
Dtopstar-laptop.c64 struct topstar_hkey *hkey = acpi_driver_data(device); in acpi_topstar_notify() local
76 if (!sparse_keymap_report_event(hkey->inputdev, event, 1, true)) in acpi_topstar_notify()
94 static int acpi_topstar_init_hkey(struct topstar_hkey *hkey) in acpi_topstar_init_hkey() argument
119 hkey->inputdev = input; in acpi_topstar_init_hkey()
Dpanasonic-laptop.c276 union acpi_object *hkey = NULL; in acpi_pcc_retrieve_biosdata() local
287 hkey = buffer.pointer; in acpi_pcc_retrieve_biosdata()
288 if (!hkey || (hkey->type != ACPI_TYPE_PACKAGE)) { in acpi_pcc_retrieve_biosdata()
294 if (pcc->num_sifr < hkey->package.count) { in acpi_pcc_retrieve_biosdata()
301 for (i = 0; i < hkey->package.count; i++) { in acpi_pcc_retrieve_biosdata()
302 union acpi_object *element = &(hkey->package.elements[i]); in acpi_pcc_retrieve_biosdata()
309 pcc->sinf[hkey->package.count] = -1; in acpi_pcc_retrieve_biosdata()
Dthinkpad_acpi.c535 TPACPI_HANDLE(hkey, ec, "\\_SB.HKEY", /* 600e/x, 770e, 770x */
3306 TPACPI_ACPIHANDLE_INIT(hkey); in hotkey_init()
3684 static bool hotkey_notify_hotkey(const u32 hkey, in hotkey_notify_hotkey() argument
3689 unsigned int scancode = hkey & 0xfff; in hotkey_notify_hotkey()
3709 static bool hotkey_notify_wakeup(const u32 hkey, in hotkey_notify_wakeup() argument
3717 switch (hkey) { in hotkey_notify_wakeup()
3749 static bool hotkey_notify_dockevent(const u32 hkey, in hotkey_notify_dockevent() argument
3757 switch (hkey) { in hotkey_notify_dockevent()
3777 static bool hotkey_notify_usrevent(const u32 hkey, in hotkey_notify_usrevent() argument
3785 switch (hkey) { in hotkey_notify_usrevent()
[all …]
/linux-4.4.14/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c473 static int enic_get_rxfh(struct net_device *netdev, u32 *indir, u8 *hkey, in enic_get_rxfh() argument
478 if (hkey) in enic_get_rxfh()
479 memcpy(hkey, enic->rss_key, ENIC_RSS_LEN); in enic_get_rxfh()
488 const u8 *hkey, const u8 hfunc) in enic_set_rxfh() argument
496 if (hkey) in enic_set_rxfh()
497 memcpy(enic->rss_key, hkey, ENIC_RSS_LEN); in enic_set_rxfh()
/linux-4.4.14/drivers/net/ethernet/cavium/thunder/
Dnicvf_ethtool.c562 static int nicvf_get_rxfh(struct net_device *dev, u32 *indir, u8 *hkey, in nicvf_get_rxfh() argument
574 if (hkey) in nicvf_get_rxfh()
575 memcpy(hkey, rss->key, RSS_HASH_KEY_SIZE * sizeof(u64)); in nicvf_get_rxfh()
584 const u8 *hkey, u8 hfunc) in nicvf_set_rxfh() argument
604 if (hkey) { in nicvf_set_rxfh()
605 memcpy(rss->key, hkey, RSS_HASH_KEY_SIZE * sizeof(u64)); in nicvf_set_rxfh()
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c1182 static int be_get_rxfh(struct net_device *netdev, u32 *indir, u8 *hkey, in be_get_rxfh() argument
1194 if (hkey) in be_get_rxfh()
1195 memcpy(hkey, rss->rss_hkey, RSS_HASH_KEY_LEN); in be_get_rxfh()
1204 const u8 *hkey, const u8 hfunc) in be_set_rxfh() argument
1228 if (!hkey) in be_set_rxfh()
1229 hkey = adapter->rss_info.rss_hkey; in be_set_rxfh()
1233 RSS_INDIR_TABLE_LEN, hkey); in be_set_rxfh()
1238 memcpy(adapter->rss_info.rss_hkey, hkey, RSS_HASH_KEY_LEN); in be_set_rxfh()
/linux-4.4.14/net/core/
Dethtool.c725 u8 *hkey = NULL; in ethtool_get_rxfh() local
765 hkey = rss_config + indir_bytes; in ethtool_get_rxfh()
767 ret = dev->ethtool_ops->get_rxfh(dev, indir, hkey, &dev_hfunc); in ethtool_get_rxfh()
794 u8 *hkey = NULL; in ethtool_set_rxfh() local
856 hkey = rss_config + indir_bytes; in ethtool_set_rxfh()
857 if (copy_from_user(hkey, in ethtool_set_rxfh()
865 ret = ops->set_rxfh(dev, indir, hkey, rxfh.hfunc); in ethtool_set_rxfh()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_main.c6572 static const u32 hkey[] = { in i40e_fdir_sb_setup() local
6579 wr32(&pf->hw, I40E_GLQF_HKEY(i), hkey[i]); in i40e_fdir_sb_setup()