Searched refs:key_info (Results 1 – 12 of 12) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | core_acl_flex_keys.c | 121 mlxsw_afk_key_info_elements_eq(struct mlxsw_afk_key_info *key_info, in mlxsw_afk_key_info_elements_eq() argument 124 return memcmp(&key_info->elusage, elusage, sizeof(*elusage)) == 0; in mlxsw_afk_key_info_elements_eq() 131 struct mlxsw_afk_key_info *key_info; in mlxsw_afk_key_info_find() local 133 list_for_each_entry(key_info, &mlxsw_afk->key_info_list, list) { in mlxsw_afk_key_info_find() 134 if (mlxsw_afk_key_info_elements_eq(key_info, elusage)) in mlxsw_afk_key_info_find() 135 return key_info; in mlxsw_afk_key_info_find() 206 struct mlxsw_afk_key_info *key_info) in mlxsw_afk_picker_key_info_add() argument 210 if (key_info->blocks_count == mlxsw_afk->max_blocks) in mlxsw_afk_picker_key_info_add() 215 key_info->element_to_block[element] = key_info->blocks_count; in mlxsw_afk_picker_key_info_add() 216 mlxsw_afk_element_usage_add(&key_info->elusage, element); in mlxsw_afk_picker_key_info_add() [all …]
|
| H A D | spectrum_acl_bloom_filter.c | 252 struct mlxsw_afk_key_info *key_info = aregion->region->key_info; in __mlxsw_sp_acl_bf_key_encode() local 258 block_count = mlxsw_afk_key_info_blocks_count_get(key_info); in __mlxsw_sp_acl_bf_key_encode() 394 struct mlxsw_afk_key_info *key_info = aregion->region->key_info; in mlxsw_sp4_acl_bf_key_encode() local 395 u8 block_count = mlxsw_afk_key_info_blocks_count_get(key_info); in mlxsw_sp4_acl_bf_key_encode()
|
| H A D | spectrum_acl_tcam.c | 154 struct mlxsw_afk_key_info *key_info; member 510 issubset = mlxsw_afk_key_info_subset(vregion->key_info, in mlxsw_sp_acl_tcam_vgroup_vregion_find() 573 struct mlxsw_afk_key_info *key_info = region->key_info; in mlxsw_sp_acl_tcam_region_alloc() local 583 encodings_count = mlxsw_afk_key_info_blocks_count_get(key_info); in mlxsw_sp_acl_tcam_region_alloc() 587 encoding = mlxsw_afk_key_info_block_encoding_get(key_info, i); in mlxsw_sp_acl_tcam_region_alloc() 646 region->key_info = vregion->key_info; in mlxsw_sp_acl_tcam_region_create() 791 vregion->key_info = mlxsw_afk_key_info_get(afk, elusage); in mlxsw_sp_acl_tcam_vregion_create() 792 if (IS_ERR(vregion->key_info)) { in mlxsw_sp_acl_tcam_vregion_create() 793 err = PTR_ERR(vregion->key_info); in mlxsw_sp_acl_tcam_vregion_create() 824 mlxsw_afk_key_info_put(vregion->key_info); in mlxsw_sp_acl_tcam_vregion_create() [all …]
|
| H 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()
|
| H 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() 483 mlxsw_afk_encode(afk, region->key_info, &rulei->values, in __mlxsw_sp_acl_atcam_entry_add()
|
| H A D | spectrum_acl_tcam.h | 84 struct mlxsw_afk_key_info *key_info; member
|
| /linux/drivers/accessibility/speakup/ |
| H A D | main.c | 1220 int spk_set_key_info(const u_char *key_info, u_char *k_buffer) in spk_set_key_info() argument 1223 const u_char *cp = key_info; in spk_set_key_info() 2113 u_char *key_info; in speakup_key() local 2139 key_info = spk_our_keys[keycode]; in speakup_key() 2140 if (!key_info) in speakup_key() 2160 new_key = key_info[offset]; in speakup_key() 2179 if (offset && key_info[offset]) in speakup_key() 2180 new_key = key_info[offset]; in speakup_key()
|
| /linux/drivers/net/wireless/ath/wil6210/ |
| H 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()
|
| /linux/drivers/net/wireless/realtek/rtw89/ |
| H A D | cam.c | 938 u8 *ptk_tx_iv = rtw_wow->key_info.ptk_tx_iv; in rtw89_cam_fill_dctl_sec_cam_info_v1() 1023 u8 *ptk_tx_iv = rtw_wow->key_info.ptk_tx_iv; in rtw89_cam_fill_dctl_sec_cam_info_v2() 1156 u8 *ptk_tx_iv = rtw_wow->key_info.ptk_tx_iv; in rtw89_cam_fill_dctl_sec_cam_info_v3()
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | sta_cmdresp.c | 579 if ((le16_to_cpu(key->key_param_set.key_info) & KEY_MCAST)) { in mwifiex_ret_802_11_key_material_v1() 615 if ((le16_to_cpu(key_v2->key_param_set.key_info) & KEY_MCAST)) { in mwifiex_ret_802_11_key_material_v2()
|
| H A D | fw.h | 965 __le16 key_info; member 1012 __le16 key_info; member
|
| H A D | sta_ioctl.c | 1077 ibss_key->key_param_set.key_info = cpu_to_le16(KEY_ENABLED); in mwifiex_sec_ioctl_set_wpa_key()
|