Searched refs:hkey (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/drivers/platform/x86/ |
D | topstar-laptop.c | 64 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()
|
D | panasonic-laptop.c | 276 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()
|
D | thinkpad_acpi.c | 534 TPACPI_HANDLE(hkey, ec, "\\_SB.HKEY", /* 600e/x, 770e, 770x */ 3305 TPACPI_ACPIHANDLE_INIT(hkey); in hotkey_init() 3683 static bool hotkey_notify_hotkey(const u32 hkey, in hotkey_notify_hotkey() argument 3688 unsigned int scancode = hkey & 0xfff; in hotkey_notify_hotkey() 3708 static bool hotkey_notify_wakeup(const u32 hkey, in hotkey_notify_wakeup() argument 3716 switch (hkey) { in hotkey_notify_wakeup() 3748 static bool hotkey_notify_dockevent(const u32 hkey, in hotkey_notify_dockevent() argument 3756 switch (hkey) { in hotkey_notify_dockevent() 3776 static bool hotkey_notify_usrevent(const u32 hkey, in hotkey_notify_usrevent() argument 3784 switch (hkey) { in hotkey_notify_usrevent() [all …]
|
/linux-4.1.27/drivers/net/ethernet/cisco/enic/ |
D | enic_ethtool.c | 456 static int enic_get_rxfh(struct net_device *netdev, u32 *indir, u8 *hkey, in enic_get_rxfh() argument 461 if (hkey) in enic_get_rxfh() 462 memcpy(hkey, enic->rss_key, ENIC_RSS_LEN); in enic_get_rxfh() 471 const u8 *hkey, const u8 hfunc) in enic_set_rxfh() argument 479 if (hkey) in enic_set_rxfh() 480 memcpy(enic->rss_key, hkey, ENIC_RSS_LEN); in enic_set_rxfh()
|
/linux-4.1.27/drivers/net/ethernet/emulex/benet/ |
D | be_ethtool.c | 1176 static int be_get_rxfh(struct net_device *netdev, u32 *indir, u8 *hkey, in be_get_rxfh() argument 1188 if (hkey) in be_get_rxfh() 1189 memcpy(hkey, rss->rss_hkey, RSS_HASH_KEY_LEN); in be_get_rxfh() 1198 const u8 *hkey, const u8 hfunc) in be_set_rxfh() argument 1222 if (!hkey) in be_set_rxfh() 1223 hkey = adapter->rss_info.rss_hkey; in be_set_rxfh() 1227 RSS_INDIR_TABLE_LEN, hkey); in be_set_rxfh() 1232 memcpy(adapter->rss_info.rss_hkey, hkey, RSS_HASH_KEY_LEN); in be_set_rxfh()
|
/linux-4.1.27/net/core/ |
D | ethtool.c | 714 u8 *hkey = NULL; in ethtool_get_rxfh() local 754 hkey = rss_config + indir_bytes; in ethtool_get_rxfh() 756 ret = dev->ethtool_ops->get_rxfh(dev, indir, hkey, &dev_hfunc); in ethtool_get_rxfh() 783 u8 *hkey = NULL; in ethtool_set_rxfh() local 845 hkey = rss_config + indir_bytes; in ethtool_set_rxfh() 846 if (copy_from_user(hkey, in ethtool_set_rxfh() 854 ret = ops->set_rxfh(dev, indir, hkey, rxfh.hfunc); in ethtool_set_rxfh()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 6219 static const u32 hkey[] = { in i40e_fdir_sb_setup() local 6226 wr32(&pf->hw, I40E_GLQF_HKEY(i), hkey[i]); in i40e_fdir_sb_setup()
|