Home
last modified time | relevance | path

Searched refs:num_keys (Results 1 – 21 of 21) sorted by relevance

/linux/drivers/input/keyboard/
H A Dcypress-sf.c28 int num_keys; member
48 touchkey->num_keys); in cypress_sf_irq_handler()
50 for_each_set_bit(key, &changed, touchkey->num_keys) { in cypress_sf_irq_handler()
95 touchkey->num_keys = device_property_read_u32_array(&client->dev, in cypress_sf_probe()
98 if (touchkey->num_keys < 0) { in cypress_sf_probe()
100 touchkey->num_keys = 2; in cypress_sf_probe()
104 touchkey->num_keys, in cypress_sf_probe()
112 touchkey->num_keys); in cypress_sf_probe()
147 for (key = 0; key < touchkey->num_keys; ++key) in cypress_sf_probe()
H A Dadc-keys.c26 u32 num_keys; member
44 for (i = 0; i < st->num_keys; i++) { in adc_keys_poll()
71 st->num_keys = device_get_child_node_count(dev); in adc_keys_load_keymap()
72 if (st->num_keys == 0) { in adc_keys_load_keymap()
77 map = devm_kmalloc_array(dev, st->num_keys, sizeof(*map), GFP_KERNEL); in adc_keys_load_keymap()
160 for (i = 0; i < st->num_keys; i++) in adc_keys_probe()
/linux/drivers/nvme/host/
H A Dpr.c205 u32 rse_len, num_keys = keys_info->num_keys; in nvme_pr_read_keys() local
214 rse_len = struct_size(rse, regctl_eds, num_keys); in nvme_pr_read_keys()
224 keys_info->num_keys = get_unaligned_le16(&rse->regctl); in nvme_pr_read_keys()
226 num_keys = min(num_keys, keys_info->num_keys); in nvme_pr_read_keys()
227 for (i = 0; i < num_keys; i++) { in nvme_pr_read_keys()
/linux/include/linux/
H A Dpr.h9 u32 num_keys; member
/linux/drivers/target/
H A Dtarget_core_iblock.c999 keys->num_keys = paths; in iblock_pr_read_keys()
1001 if (keys->num_keys > paths) { in iblock_pr_read_keys()
1014 if (!keys->num_keys) { in iblock_pr_read_keys()
1019 put_unaligned_be32(8 * keys->num_keys, &param_data[4]); in iblock_pr_read_keys()
1022 for (i = 0; i < keys->num_keys; i++) { in iblock_pr_read_keys()
/linux/drivers/accessibility/speakup/
H A Dkobjects.c235 int num_keys; in keymap_show() local
243 num_keys = (int)(*cp1); in keymap_show()
245 cp += sprintf(cp, "%d, %d, %d,\n", KEY_MAP_VER, num_keys, nstates); in keymap_show()
250 for (n = 0; n <= num_keys; n++) { in keymap_show()
H A Dmain.c1225 u_char ch, version, num_keys; in spk_set_key_info() local
1233 num_keys = *cp; in spk_set_key_info()
1235 key_data_len = (states + 1) * (num_keys + 1); in spk_set_key_info()
/linux/drivers/net/ethernet/apm/xgene/
H A Dxgene_enet_cle.h229 u8 num_keys; member
H A Dxgene_enet_cle.c56 for (i = 0; i < kn->num_keys; i++) { in xgene_cle_kn_to_hw()
808 kn.num_keys = 1; in xgene_enet_cle_init()
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dsta.h478 u8 num_keys; member
/linux/drivers/scsi/
H A Dsd.c1975 u32 num_keys = keys_info->num_keys; in sd_pr_read_keys() local
1976 int data_len = num_keys * 8 + 8; in sd_pr_read_keys()
1988 keys_info->num_keys = get_unaligned_be32(&data[4]) / 8; in sd_pr_read_keys()
1991 num_copy_keys = min(num_keys, keys_info->num_keys); in sd_pr_read_keys()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dd3.c130 .wep_key_cmd.num_keys = 1, in iwl_mvm_wowlan_program_keys()
1819 int num_keys; member
1871 data->num_keys++; in iwl_mvm_d3_find_last_keys()
2315 if (!gtkdata.num_keys) in iwl_mvm_setup_connection_keep()
/linux/include/net/bluetooth/
H A Dhci.h1110 __le16 num_keys; member
1120 __le16 num_keys; member
/linux/net/bluetooth/
H A Dhci_event.c318 hdev->stored_num_keys = le16_to_cpu(rp->num_keys); in hci_cc_read_stored_link_key()
328 u16 num_keys; in hci_cc_delete_stored_link_key() local
335 num_keys = le16_to_cpu(rp->num_keys); in hci_cc_delete_stored_link_key()
337 if (num_keys <= hdev->stored_num_keys) in hci_cc_delete_stored_link_key()
338 hdev->stored_num_keys -= num_keys; in hci_cc_delete_stored_link_key()
/linux/drivers/net/wireless/intel/iwlegacy/
H A Dcommands.h1108 u8 num_keys; member
H A D4965-mac.c3154 wep_cmd->num_keys = WEP_KEYS_MAX; in il4965_static_wepkey_cmd()
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dsta.c969 wep_cmd->num_keys = WEP_KEYS_MAX; in iwl_send_static_wepkey_cmd()
H A Dcommands.h972 u8 num_keys; member
/linux/drivers/scsi/mpi3mr/mpi/
H A Dmpi30_cnfg.h1546 u8 num_keys; member
/linux/drivers/net/wireless/ath/wcn36xx/
H A Dhal.h2316 u8 num_keys; member
H A Dsmd.c2130 msg_body.num_keys = 1; in wcn36xx_smd_set_bsskey()