/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | core_acl_flex_keys.c | 130 return key_info; in mlxsw_afk_key_info_find() 209 key_info->element_to_block[element] = key_info->blocks_count; in mlxsw_afk_picker_key_info_add() 213 key_info->blocks[key_info->blocks_count] = in mlxsw_afk_picker_key_info_add() 275 key_info = kzalloc(struct_size(key_info, blocks, mlxsw_afk->max_blocks), in mlxsw_afk_key_info_create() 277 if (!key_info) in mlxsw_afk_key_info_create() 284 return key_info; in mlxsw_afk_key_info_create() 287 kfree(key_info); in mlxsw_afk_key_info_create() 294 kfree(key_info); in mlxsw_afk_key_info_destroy() 304 if (key_info) { in mlxsw_afk_key_info_get() 305 key_info->ref_count++; in mlxsw_afk_key_info_get() [all …]
|
A D | core_acl_flex_keys.h | 190 void mlxsw_afk_key_info_put(struct mlxsw_afk_key_info *key_info); 191 bool mlxsw_afk_key_info_subset(struct mlxsw_afk_key_info *key_info, 195 mlxsw_afk_key_info_block_encoding_get(const struct mlxsw_afk_key_info *key_info, 198 mlxsw_afk_key_info_blocks_count_get(const struct mlxsw_afk_key_info *key_info); 216 struct mlxsw_afk_key_info *key_info,
|
A D | spectrum_acl_bloom_filter.c | 123 struct mlxsw_afk_key_info *key_info = aregion->region->key_info; in mlxsw_sp_acl_bf_key_encode() local 128 block_count = mlxsw_afk_key_info_blocks_count_get(key_info); in mlxsw_sp_acl_bf_key_encode()
|
A D | spectrum_acl_tcam.c | 210 struct mlxsw_afk_key_info *key_info; member 566 issubset = mlxsw_afk_key_info_subset(vregion->key_info, in mlxsw_sp_acl_tcam_vgroup_vregion_find() 629 struct mlxsw_afk_key_info *key_info = region->key_info; in mlxsw_sp_acl_tcam_region_alloc() local 639 encodings_count = mlxsw_afk_key_info_blocks_count_get(key_info); in mlxsw_sp_acl_tcam_region_alloc() 643 encoding = mlxsw_afk_key_info_block_encoding_get(key_info, i); in mlxsw_sp_acl_tcam_region_alloc() 702 region->key_info = vregion->key_info; in mlxsw_sp_acl_tcam_region_create() 834 vregion->key_info = mlxsw_afk_key_info_get(afk, elusage); in mlxsw_sp_acl_tcam_vregion_create() 835 if (IS_ERR(vregion->key_info)) { in mlxsw_sp_acl_tcam_vregion_create() 836 err = PTR_ERR(vregion->key_info); in mlxsw_sp_acl_tcam_vregion_create() 867 mlxsw_afk_key_info_put(vregion->key_info); in mlxsw_sp_acl_tcam_vregion_create() [all …]
|
A D | spectrum_acl_ctcam.c | 65 mlxsw_afk_encode(afk, region->key_info, &rulei->values, key, mask); in mlxsw_sp_acl_ctcam_region_entry_insert()
|
A D | spectrum_acl_atcam.c | 300 blocks_count = mlxsw_afk_key_info_blocks_count_get(region->key_info); in mlxsw_sp_acl_atcam_region_type_init() 482 mlxsw_afk_encode(afk, region->key_info, &rulei->values, in __mlxsw_sp_acl_atcam_entry_add()
|
A D | spectrum_acl_tcam.h | 88 struct mlxsw_afk_key_info *key_info; member
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
A D | sta_cmd.c | 677 key_info = KEY_UNICAST; in mwifiex_cmd_802_11_key_material_v2() 679 key_info = KEY_MCAST; in mwifiex_cmd_802_11_key_material_v2() 682 key_info |= KEY_IGTK; in mwifiex_cmd_802_11_key_material_v2() 684 km->key_param_set.key_info = cpu_to_le16(key_info); in mwifiex_cmd_802_11_key_material_v2() 702 km->key_param_set.key_info = cpu_to_le16(key_info); in mwifiex_cmd_802_11_key_material_v2() 713 key_info = KEY_ENABLED; in mwifiex_cmd_802_11_key_material_v2() 732 key_info |= KEY_MCAST; in mwifiex_cmd_802_11_key_material_v2() 737 km->key_param_set.key_info = cpu_to_le16(key_info); in mwifiex_cmd_802_11_key_material_v2() 768 km->key_param_set.key_info = cpu_to_le16(key_info); in mwifiex_cmd_802_11_key_material_v2() 778 key_info |= KEY_DEFAULT; in mwifiex_cmd_802_11_key_material_v2() [all …]
|
A D | sta_cmdresp.c | 591 if ((le16_to_cpu(key->key_param_set.key_info) & KEY_MCAST)) { in mwifiex_ret_802_11_key_material_v1() 627 if ((le16_to_cpu(key_v2->key_param_set.key_info) & KEY_MCAST)) { in mwifiex_ret_802_11_key_material_v2()
|
A D | fw.h | 931 __le16 key_info; member 978 __le16 key_info; member
|
A D | sta_ioctl.c | 1037 ibss_key->key_param_set.key_info = cpu_to_le16(KEY_ENABLED); in mwifiex_sec_ioctl_set_wpa_key()
|
/linux/drivers/staging/ks7010/ |
A D | eap_packet.h | 42 __be16 key_info; member
|
A D | ks_hostif.c | 1156 keyinfo = ntohs(eap_key->key_info); in hostif_data_request()
|
/linux/drivers/net/wireless/microchip/wilc1000/ |
A D | cfg80211.c | 517 static int wilc_wfi_cfg_copy_wpa_info(struct wilc_wfi_key *key_info, in wilc_wfi_cfg_copy_wpa_info() argument 520 kfree(key_info->key); in wilc_wfi_cfg_copy_wpa_info() 522 key_info->key = kmemdup(params->key, params->key_len, GFP_KERNEL); in wilc_wfi_cfg_copy_wpa_info() 523 if (!key_info->key) in wilc_wfi_cfg_copy_wpa_info() 526 kfree(key_info->seq); in wilc_wfi_cfg_copy_wpa_info() 529 key_info->seq = kmemdup(params->seq, params->seq_len, in wilc_wfi_cfg_copy_wpa_info() 531 if (!key_info->seq) in wilc_wfi_cfg_copy_wpa_info() 535 key_info->cipher = params->cipher; in wilc_wfi_cfg_copy_wpa_info() 536 key_info->key_len = params->key_len; in wilc_wfi_cfg_copy_wpa_info() 537 key_info->seq_len = params->seq_len; in wilc_wfi_cfg_copy_wpa_info()
|
/linux/drivers/accessibility/speakup/ |
A D | speakup.h | 50 int spk_set_key_info(const u_char *key_info, u_char *k_buffer);
|
A D | main.c | 1219 int spk_set_key_info(const u_char *key_info, u_char *k_buffer) in spk_set_key_info() argument 1222 const u_char *cp = key_info; in spk_set_key_info() 2099 u_char *key_info; in speakup_key() local 2125 key_info = spk_our_keys[keycode]; in speakup_key() 2126 if (!key_info) in speakup_key() 2146 new_key = key_info[offset]; in speakup_key() 2165 if (offset && key_info[offset]) in speakup_key() 2166 new_key = key_info[offset]; in speakup_key()
|
/linux/drivers/net/wireless/ath/wil6210/ |
A D | txrx.c | 725 u16 key_info; in wil_is_ptk_eapol_key() local 750 key_info = be16_to_cpu(key->key_info); in wil_is_ptk_eapol_key() 751 if (!(key_info & WIL_KEY_INFO_KEY_TYPE)) /* check if pairwise */ in wil_is_ptk_eapol_key() 760 u16 key_info; in wil_skb_is_eap_3() local 766 key_info = be16_to_cpu(key->key_info); in wil_skb_is_eap_3() 767 if (key_info & (WIL_KEY_INFO_MIC | in wil_skb_is_eap_3()
|
A D | txrx.h | 446 __be16 key_info; member
|
/linux/drivers/net/wireless/marvell/libertas/ |
A D | cfg.c | 975 int key_type, int key_info, in lbs_set_key_material() argument 1002 cmd.param.keyinfo = cpu_to_le16(key_info); in lbs_set_key_material() 1464 u16 key_info; in lbs_cfg_add_key() local 1499 key_info = KEY_INFO_WPA_ENABLED | ((idx == 0) in lbs_cfg_add_key() 1507 key_info, in lbs_cfg_add_key()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
A D | hclge_main.h | 622 struct key_info { struct
|
A D | hclge_main.c | 411 static const struct key_info meta_data_key_info[] = { 422 static const struct key_info tuple_key_info[] = {
|
/linux/drivers/net/wireless/marvell/ |
A D | mwl8k.c | 4225 __le32 key_info; member 4304 cmd->key_info = cpu_to_le32(MWL8K_KEY_FLAG_WEP_TXKEY); in mwl8k_encryption_set_cmd_info() 4309 cmd->key_info = (key->flags & IEEE80211_KEY_FLAG_PAIRWISE) in mwl8k_encryption_set_cmd_info() 4312 cmd->key_info |= cpu_to_le32(MWL8K_KEY_FLAG_MICKEY_VALID in mwl8k_encryption_set_cmd_info() 4317 cmd->key_info = (key->flags & IEEE80211_KEY_FLAG_PAIRWISE) in mwl8k_encryption_set_cmd_info()
|