Home
last modified time | relevance | path

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

/drivers/net/ethernet/netronome/nfp/flower/
Dmetadata.c207 nfp_add_mask_table(struct nfp_app *app, char *mask_data, u32 mask_len) in nfp_add_mask_table() argument
225 hash_key = jhash(mask_data, mask_len, priv->mask_id_seed); in nfp_add_mask_table()
234 nfp_search_mask_table(struct nfp_app *app, char *mask_data, u32 mask_len) in nfp_search_mask_table() argument
240 hash_key = jhash(mask_data, mask_len, priv->mask_id_seed); in nfp_search_mask_table()
250 nfp_find_in_mask_table(struct nfp_app *app, char *mask_data, u32 mask_len) in nfp_find_in_mask_table() argument
254 mask_entry = nfp_search_mask_table(app, mask_data, mask_len); in nfp_find_in_mask_table()
265 nfp_check_mask_add(struct nfp_app *app, char *mask_data, u32 mask_len, in nfp_check_mask_add() argument
270 id = nfp_find_in_mask_table(app, mask_data, mask_len); in nfp_check_mask_add()
272 id = nfp_add_mask_table(app, mask_data, mask_len); in nfp_check_mask_add()
283 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.h390 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.c326 unsigned int mask_len, in axp20x_funcs_groups_from_mask() argument
343 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.c467 unsigned int mask_len = indio_dev->masklength; in rm3100_trigger_handler() local
505 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.c1016 int mask_len = DIV_ROUND_UP(wowlan->patterns[i].pattern_len, 8); in iwlagn_send_patterns() local
1019 wowlan->patterns[i].mask, mask_len); in iwlagn_send_patterns()
1023 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.c646 int mask_len = DIV_ROUND_UP(wowlan->patterns[i].pattern_len, 8); in iwl_mvm_send_patterns_v1() local
649 wowlan->patterns[i].mask, mask_len); in iwl_mvm_send_patterns_v1()
653 pattern_cmd->patterns[i].mask_size = mask_len; in iwl_mvm_send_patterns_v1()
693 int mask_len = DIV_ROUND_UP(wowlan->patterns[i].pattern_len, 8); in iwl_mvm_send_patterns() local
699 wowlan->patterns[i].mask, mask_len); in iwl_mvm_send_patterns()
703 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/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/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/infiniband/hw/mlx5/
Dfs.c1540 fs_matcher->mask_len); in _create_raw_flow_rule()
2355 obj->mask_len = uverbs_attr_get_len( in UVERBS_HANDLER()
Dmlx5_ib.h264 int mask_len; member
/drivers/misc/habanalabs/common/
Dhabanalabs.h1610 bool (*is_device_idle)(struct hl_device *hdev, u64 *mask_arr, u8 mask_len,
/drivers/misc/habanalabs/goya/
Dgoya.c5126 static bool goya_is_device_idle(struct hl_device *hdev, u64 *mask_arr, u8 mask_len, in goya_is_device_idle() argument
/drivers/misc/habanalabs/gaudi/
Dgaudi.c8083 static bool gaudi_is_device_idle(struct hl_device *hdev, u64 *mask_arr, u8 mask_len, in gaudi_is_device_idle() argument
/drivers/misc/habanalabs/gaudi2/
Dgaudi2.c6286 static bool gaudi2_is_device_idle(struct hl_device *hdev, u64 *mask_arr, u8 mask_len, in gaudi2_is_device_idle() argument