Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/input/keyboard/
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()
Dadc-keys.c26 u32 num_keys; member
44 for (i = 0; i < st->num_keys; i++) { in adc_keys_poll()
72 st->num_keys = device_get_child_node_count(dev); in adc_keys_load_keymap()
73 if (st->num_keys == 0) { in adc_keys_load_keymap()
78 map = devm_kmalloc_array(dev, st->num_keys, sizeof(*map), GFP_KERNEL); in adc_keys_load_keymap()
163 for (i = 0; i < st->num_keys; i++) in adc_keys_probe()
/linux-6.6.21/drivers/nvme/host/
Dpr.c206 u32 rse_len, num_keys = keys_info->num_keys; in nvme_pr_read_keys() local
215 rse_len = struct_size(rse, regctl_eds, num_keys); in nvme_pr_read_keys()
225 keys_info->num_keys = get_unaligned_le16(&rse->regctl); in nvme_pr_read_keys()
227 num_keys = min(num_keys, keys_info->num_keys); in nvme_pr_read_keys()
228 for (i = 0; i < num_keys; i++) { in nvme_pr_read_keys()
/linux-6.6.21/include/linux/
Dpr.h9 u32 num_keys; member
/linux-6.6.21/arch/s390/kernel/
Dcert_store.c316 unsigned long num_keys, key_index; in invalidate_keyring_keys() local
323 num_keys = keyring_payload_len / sizeof(key_serial_t); in invalidate_keyring_keys()
324 key_array = kcalloc(num_keys, sizeof(key_serial_t), GFP_KERNEL); in invalidate_keyring_keys()
334 for (key_index = 0; key_index < num_keys; key_index++) { in invalidate_keyring_keys()
/linux-6.6.21/drivers/target/
Dtarget_core_iblock.c993 keys->num_keys = paths; in iblock_pr_read_keys()
995 if (keys->num_keys > paths) { in iblock_pr_read_keys()
1008 if (!keys->num_keys) { in iblock_pr_read_keys()
1013 put_unaligned_be32(8 * keys->num_keys, &param_data[4]); in iblock_pr_read_keys()
1016 for (i = 0; i < keys->num_keys; i++) { in iblock_pr_read_keys()
/linux-6.6.21/drivers/accessibility/speakup/
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()
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-6.6.21/drivers/net/ethernet/apm/xgene/
Dxgene_enet_cle.h229 u8 num_keys; member
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-6.6.21/drivers/net/wireless/intel/iwlwifi/fw/api/
Dsta.h476 u8 num_keys; member
/linux-6.6.21/drivers/scsi/
Dsd.c1827 u32 num_keys = keys_info->num_keys; in sd_pr_read_keys() local
1828 int data_len = num_keys * 8 + 8; in sd_pr_read_keys()
1840 keys_info->num_keys = get_unaligned_be32(&data[4]) / 8; in sd_pr_read_keys()
1843 num_copy_keys = min(num_keys, keys_info->num_keys); in sd_pr_read_keys()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Dd3.c130 .wep_key_cmd.num_keys = 1, in iwl_mvm_wowlan_program_keys()
1786 int num_keys; member
1831 data->num_keys++; in iwl_mvm_d3_find_last_keys()
2077 if (!gtkdata.num_keys) in iwl_mvm_setup_connection_keep()
/linux-6.6.21/include/net/bluetooth/
Dhci.h1152 __le16 num_keys; member
1162 __le16 num_keys; member
/linux-6.6.21/net/bluetooth/
Dhci_event.c325 hdev->stored_num_keys = le16_to_cpu(rp->num_keys); in hci_cc_read_stored_link_key()
335 u16 num_keys; in hci_cc_delete_stored_link_key() local
342 num_keys = le16_to_cpu(rp->num_keys); in hci_cc_delete_stored_link_key()
344 if (num_keys <= hdev->stored_num_keys) in hci_cc_delete_stored_link_key()
345 hdev->stored_num_keys -= num_keys; in hci_cc_delete_stored_link_key()
/linux-6.6.21/drivers/net/wireless/intel/iwlegacy/
Dcommands.h1111 u8 num_keys; member
D4965-mac.c3154 wep_cmd->num_keys = WEP_KEYS_MAX; in il4965_static_wepkey_cmd()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/dvm/
Dsta.c969 wep_cmd->num_keys = WEP_KEYS_MAX; in iwl_send_static_wepkey_cmd()
Dcommands.h969 u8 num_keys; member
/linux-6.6.21/drivers/scsi/mpi3mr/mpi/
Dmpi30_cnfg.h1518 u8 num_keys; member
/linux-6.6.21/drivers/net/wireless/ath/wcn36xx/
Dhal.h2316 u8 num_keys; member
Dsmd.c2130 msg_body.num_keys = 1; in wcn36xx_smd_set_bsskey()