Home
last modified time | relevance | path

Searched refs:mask_len (Results 1 – 19 of 19) sorted by relevance

/drivers/net/ethernet/netronome/nfp/flower/
Dmetadata.c195 nfp_add_mask_table(struct nfp_app *app, char *mask_data, u32 mask_len) in nfp_add_mask_table() argument
213 hash_key = jhash(mask_data, mask_len, priv->mask_id_seed); in nfp_add_mask_table()
222 nfp_search_mask_table(struct nfp_app *app, char *mask_data, u32 mask_len) in nfp_search_mask_table() argument
228 hash_key = jhash(mask_data, mask_len, priv->mask_id_seed); in nfp_search_mask_table()
238 nfp_find_in_mask_table(struct nfp_app *app, char *mask_data, u32 mask_len) in nfp_find_in_mask_table() argument
242 mask_entry = nfp_search_mask_table(app, mask_data, mask_len); in nfp_find_in_mask_table()
253 nfp_check_mask_add(struct nfp_app *app, char *mask_data, u32 mask_len, in nfp_check_mask_add() argument
258 id = nfp_find_in_mask_table(app, mask_data, mask_len); in nfp_check_mask_add()
260 id = nfp_add_mask_table(app, mask_data, mask_len); in nfp_check_mask_add()
271 nfp_check_mask_remove(struct nfp_app *app, char *mask_data, u32 mask_len, in nfp_check_mask_remove() argument
[all …]
Doffload.c98 u32 meta_len, key_len, mask_len, act_len, tot_len; in nfp_flower_xmit_flow() local
104 mask_len = nfp_flow->meta.mask_len; in nfp_flower_xmit_flow()
107 tot_len = meta_len + key_len + mask_len + act_len; in nfp_flower_xmit_flow()
113 nfp_flow->meta.mask_len >>= NFP_FL_LW_SIZ; in nfp_flower_xmit_flow()
123 memcpy(&msg[meta_len + key_len], nfp_flow->mask_data, mask_len); in nfp_flower_xmit_flow()
124 memcpy(&msg[meta_len + key_len + mask_len], in nfp_flower_xmit_flow()
131 nfp_flow->meta.mask_len <<= NFP_FL_LW_SIZ; in nfp_flower_xmit_flow()
557 flow_pay->meta.mask_len = key_layer->key_size; in nfp_flower_allocate_new()
1042 sub_flow1->meta.mask_len); in nfp_flower_merge_offloaded_flows()
Dmain.h300 u8 mask_len; member
/drivers/net/wireless/ath/ath9k/
Dwow.c145 int mask_len, ret = 0; in ath9k_wow_add_pattern() local
149 mask_len = DIV_ROUND_UP(patterns[i].pattern_len, 8); in ath9k_wow_add_pattern()
153 memcpy(wow_mask, patterns[i].mask, mask_len); in ath9k_wow_add_pattern()
/drivers/pinctrl/
Dpinctrl-axp209.c319 unsigned int mask_len, in axp20x_funcs_groups_from_mask() argument
336 for_each_set_bit(bit, &mask_cpy, mask_len) { in axp20x_funcs_groups_from_mask()
/drivers/net/wireless/realtek/rtw88/
Dwow.c172 u8 mask_len; in rtw_wow_pattern_generate() local
184 mask_len = DIV_ROUND_UP(len, 8); in rtw_wow_pattern_generate()
215 for (i = 0; i < mask_len - 1; i++) { in rtw_wow_pattern_generate()
/drivers/iio/magnetometer/
Drm3100-core.c475 unsigned int mask_len = indio_dev->masklength; in rm3100_trigger_handler() local
513 for_each_set_bit(bit, &scan_mask, mask_len) { in rm3100_trigger_handler()
/drivers/dma/ptdma/
Dptdma.h138 u32 mask_len; /* In bytes */ member
/drivers/net/wireless/intel/iwlwifi/dvm/
Dlib.c1021 int mask_len = DIV_ROUND_UP(wowlan->patterns[i].pattern_len, 8); in iwlagn_send_patterns() local
1024 wowlan->patterns[i].mask, mask_len); in iwlagn_send_patterns()
1028 pattern_cmd->patterns[i].mask_size = mask_len; in iwlagn_send_patterns()
/drivers/net/wireless/realtek/rtlwifi/
Dcore.c432 u8 i, mask_len; in _rtl_add_wowlan_patterns() local
445 mask_len = DIV_ROUND_UP(patterns[i].pattern_len, 8); in _rtl_add_wowlan_patterns()
451 "mask content\n", mask_os, mask_len); in _rtl_add_wowlan_patterns()
487 for (j = 0; j < mask_len - 1; j++) { in _rtl_add_wowlan_patterns()
496 "mask to hw\n", mask, mask_len); in _rtl_add_wowlan_patterns()
/drivers/net/wireless/intel/iwlwifi/mvm/
Dd3.c647 int mask_len = DIV_ROUND_UP(wowlan->patterns[i].pattern_len, 8); in iwl_mvm_send_patterns_v1() local
650 wowlan->patterns[i].mask, mask_len); in iwl_mvm_send_patterns_v1()
654 pattern_cmd->patterns[i].mask_size = mask_len; in iwl_mvm_send_patterns_v1()
695 int mask_len = DIV_ROUND_UP(wowlan->patterns[i].pattern_len, 8); in iwl_mvm_send_patterns() local
701 wowlan->patterns[i].mask, mask_len); in iwl_mvm_send_patterns()
705 pattern_cmd->patterns[i].u.bitmask.mask_size = mask_len; in iwl_mvm_send_patterns()
/drivers/crypto/ccp/
Dccp-ops.c1984 if (pt->mask_len != CCP_PASSTHRU_MASKSIZE) in ccp_run_passthru_cmd()
2007 ret = ccp_set_dm_area(&mask, 0, pt->mask, 0, pt->mask_len); in ccp_run_passthru_cmd()
2114 if (pt->mask_len != CCP_PASSTHRU_MASKSIZE) in ccp_run_passthru_nomap_cmd()
2130 mask.length = pt->mask_len; in ccp_run_passthru_nomap_cmd()
2132 mask.dma.length = pt->mask_len; in ccp_run_passthru_nomap_cmd()
/drivers/s390/net/
Dqeth_l3_main.c344 int mask_len = min_t(int, len, 32); in qeth_l3_set_ipv6_prefix() local
346 prefix->s6_addr32[i] = inet_make_mask(mask_len); in qeth_l3_set_ipv6_prefix()
347 len -= mask_len; in qeth_l3_set_ipv6_prefix()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c526 int mask_len = 0, i; in ipv6_mask_len() local
529 mask_len += inet_mask_len(mask->s6_addr32[i]); in ipv6_mask_len()
531 return mask_len; in ipv6_mask_len()
/drivers/infiniband/hw/mlx5/
Dfs.c1410 fs_matcher->mask_len); in _create_raw_flow_rule()
2105 obj->mask_len = uverbs_attr_get_len( in UVERBS_HANDLER()
Dmlx5_ib.h252 int mask_len; member
/drivers/misc/habanalabs/common/
Dhabanalabs.h1250 u8 mask_len, struct seq_file *s);
/drivers/misc/habanalabs/goya/
Dgoya.c5303 u8 mask_len, struct seq_file *s) in goya_is_device_idle() argument
/drivers/misc/habanalabs/gaudi/
Dgaudi.c8319 u8 mask_len, struct seq_file *s) in gaudi_is_device_idle() argument