Home
last modified time | relevance | path

Searched refs:byte_mask (Results 1 – 10 of 10) sorted by relevance

/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_cpplib.c159 u8 byte_mask; in nfp_cpp_explicit_read() local
176 byte_mask = nfp_bytemask(width_read, addr); in nfp_cpp_explicit_read()
179 incr / width_read - 1, byte_mask); in nfp_cpp_explicit_read()
212 u8 byte_mask; in nfp_cpp_explicit_write() local
229 byte_mask = nfp_bytemask(width_write, addr); in nfp_cpp_explicit_write()
232 incr / width_write - 1, byte_mask); in nfp_cpp_explicit_write()
Dnfp_arm.h166 byte_mask, token, signal_master) \ argument
170 NFP_ARM_GCSR_EXPL2_BAR_BYTE_MASK(byte_mask) | \
Dnfp_cpp.h302 u8 byte_mask; member
Dnfp_cppcore.c1349 expl->cmd.byte_mask = mask; in nfp_cpp_explicit_set_target()
Dnfp6000_pcie.c1173 NFP_PCIE_BAR_EXPLICIT_BAR2_ByteMask(cmd->byte_mask) | in nfp6000_explicit_do()
/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_ste.c128 if (htbl->chunk->num_of_entries == 1 || htbl->byte_mask == 0) in mlx5dr_ste_calc_hash_index()
134 if (htbl->byte_mask & bit) in mlx5dr_ste_calc_hash_index()
148 u16 byte_mask = 0; in dr_ste_conv_bit_to_byte_mask() local
152 byte_mask = byte_mask << 1; in dr_ste_conv_bit_to_byte_mask()
154 byte_mask |= 1; in dr_ste_conv_bit_to_byte_mask()
156 return byte_mask; in dr_ste_conv_bit_to_byte_mask()
327 MLX5_SET(ste_general, hw_ste, byte_mask, next_htbl->byte_mask); in dr_ste_always_hit_htbl()
609 u16 byte_mask; in mlx5dr_ste_create_next_htbl() local
612 byte_mask = MLX5_GET(ste_general, hw_ste, byte_mask); in mlx5dr_ste_create_next_htbl()
617 byte_mask); in mlx5dr_ste_create_next_htbl()
[all …]
Dmlx5_ifc_dr.h106 u8 byte_mask[0x10]; member
126 u8 byte_mask[0x10]; member
170 u8 byte_mask[0x10]; member
208 u8 byte_mask[0x10]; member
Ddr_rule.c385 cur_htbl->byte_mask); in dr_rule_rehash_htbl()
597 static u16 dr_get_bits_per_mask(u16 byte_mask) in dr_get_bits_per_mask() argument
601 while (byte_mask) { in dr_get_bits_per_mask()
602 byte_mask = byte_mask & (byte_mask - 1); in dr_get_bits_per_mask()
621 if (dr_get_bits_per_mask(htbl->byte_mask) * BITS_PER_BYTE <= htbl->chunk_size) in dr_rule_need_enlarge_hash()
Ddr_types.h157 u16 byte_mask; member
193 u16 byte_mask; member
203 u8 lu_type, u16 byte_mask);
Ddr_matcher.c584 nic_matcher->ste_builder[0].byte_mask); in dr_matcher_init_nic()