Home
last modified time | relevance | path

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

/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 */
3294 TPACPI_ACPIHANDLE_INIT(hkey); in hotkey_init()
3672 static bool hotkey_notify_hotkey(const u32 hkey, in hotkey_notify_hotkey() argument
3677 unsigned int scancode = hkey & 0xfff; in hotkey_notify_hotkey()
3697 static bool hotkey_notify_wakeup(const u32 hkey, in hotkey_notify_wakeup() argument
3705 switch (hkey) { in hotkey_notify_wakeup()
3737 static bool hotkey_notify_dockevent(const u32 hkey, in hotkey_notify_dockevent() argument
3745 switch (hkey) { in hotkey_notify_dockevent()
3765 static bool hotkey_notify_usrevent(const u32 hkey, in hotkey_notify_usrevent() argument
3773 switch (hkey) { in hotkey_notify_usrevent()
[all …]
/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()
/drivers/net/ethernet/cavium/thunder/
Dnicvf_ethtool.c565 static int nicvf_get_rxfh(struct net_device *dev, u32 *indir, u8 *hkey, in nicvf_get_rxfh() argument
577 if (hkey) in nicvf_get_rxfh()
578 memcpy(hkey, rss->key, RSS_HASH_KEY_SIZE * sizeof(u64)); in nicvf_get_rxfh()
587 const u8 *hkey, u8 hfunc) in nicvf_set_rxfh() argument
607 if (hkey) { in nicvf_set_rxfh()
608 memcpy(rss->key, hkey, RSS_HASH_KEY_SIZE * sizeof(u64)); in nicvf_set_rxfh()
/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c1198 static int be_get_rxfh(struct net_device *netdev, u32 *indir, u8 *hkey, in be_get_rxfh() argument
1210 if (hkey) in be_get_rxfh()
1211 memcpy(hkey, rss->rss_hkey, RSS_HASH_KEY_LEN); in be_get_rxfh()
1220 const u8 *hkey, const u8 hfunc) in be_set_rxfh() argument
1244 if (!hkey) in be_set_rxfh()
1245 hkey = adapter->rss_info.rss_hkey; in be_set_rxfh()
1249 RSS_INDIR_TABLE_LEN, hkey); in be_set_rxfh()
1254 memcpy(adapter->rss_info.rss_hkey, hkey, RSS_HASH_KEY_LEN); in be_set_rxfh()
/drivers/net/ethernet/intel/i40e/
Di40e_main.c6640 static const u32 hkey[] = { in i40e_fdir_sb_setup() local
6647 wr32(&pf->hw, I40E_GLQF_HKEY(i), hkey[i]); in i40e_fdir_sb_setup()