Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/nfpcore/
A Dnfp_cpplib.c164 u8 byte_mask; in nfp_cpp_explicit_read() local
181 byte_mask = nfp_bytemask(width_read, addr); in nfp_cpp_explicit_read()
184 incr / width_read - 1, byte_mask); in nfp_cpp_explicit_read()
217 u8 byte_mask; in nfp_cpp_explicit_write() local
234 byte_mask = nfp_bytemask(width_write, addr); in nfp_cpp_explicit_write()
237 incr / width_write - 1, byte_mask); in nfp_cpp_explicit_write()
A Dnfp_arm.h166 byte_mask, token, signal_master) \ argument
170 NFP_ARM_GCSR_EXPL2_BAR_BYTE_MASK(byte_mask) | \
A Dnfp_cpp.h298 u8 byte_mask; member
A Dnfp_cppcore.c1348 expl->cmd.byte_mask = mask; in nfp_cpp_explicit_set_target()
A Dnfp6000_pcie.c1167 NFP_PCIE_BAR_EXPLICIT_BAR2_ByteMask(cmd->byte_mask) | in nfp6000_explicit_do()
/linux-6.3-rc2/sound/soc/tegra/
A Dtegra210_amx.c63 regmap_write(amx->regmap, TEGRA210_AMX_OUT_BYTE_EN0, amx->byte_mask[0]); in tegra210_amx_write_map_ram()
64 regmap_write(amx->regmap, TEGRA210_AMX_OUT_BYTE_EN1, amx->byte_mask[1]); in tegra210_amx_write_map_ram()
202 enabled = amx->byte_mask[1] & (1 << (reg - 32)); in tegra210_amx_get_byte_map()
204 enabled = amx->byte_mask[0] & (1 << reg); in tegra210_amx_get_byte_map()
232 amx->byte_mask[1] |= (1 << (reg - 32)); in tegra210_amx_put_byte_map()
234 amx->byte_mask[0] |= (1 << reg); in tegra210_amx_put_byte_map()
239 amx->byte_mask[1] &= ~(1 << (reg - 32)); in tegra210_amx_put_byte_map()
241 amx->byte_mask[0] &= ~(1 << reg); in tegra210_amx_put_byte_map()
A Dtegra210_adx.c49 regmap_write(adx->regmap, TEGRA210_ADX_IN_BYTE_EN0, adx->byte_mask[0]); in tegra210_adx_write_map_ram()
50 regmap_write(adx->regmap, TEGRA210_ADX_IN_BYTE_EN1, adx->byte_mask[1]); in tegra210_adx_write_map_ram()
176 enabled = adx->byte_mask[mc->reg / 32] & (1 << (mc->reg % 32)); in tegra210_adx_get_byte_map()
202 adx->byte_mask[mc->reg / 32] |= (1 << (mc->reg % 32)); in tegra210_adx_put_byte_map()
206 adx->byte_mask[mc->reg / 32] &= ~(1 << (mc->reg % 32)); in tegra210_adx_put_byte_map()
A Dtegra210_adx.h69 unsigned int byte_mask[2]; member
A Dtegra210_amx.h90 unsigned int byte_mask[2]; member
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Ddr_ste_v0.c264 static void dr_ste_v0_set_byte_mask(u8 *hw_ste_p, u16 byte_mask) in dr_ste_v0_set_byte_mask() argument
266 MLX5_SET(ste_general, hw_ste_p, byte_mask, byte_mask); in dr_ste_v0_set_byte_mask()
271 return MLX5_GET(ste_general, hw_ste_p, byte_mask); in dr_ste_v0_get_byte_mask()
787 sb->byte_mask = mlx5dr_ste_conv_bit_to_byte_mask(sb->bit_mask); in dr_ste_v0_build_eth_l2_src_dst_init()
813 sb->byte_mask = mlx5dr_ste_conv_bit_to_byte_mask(sb->bit_mask); in dr_ste_v0_build_eth_l3_ipv6_dst_init()
839 sb->byte_mask = mlx5dr_ste_conv_bit_to_byte_mask(sb->bit_mask); in dr_ste_v0_build_eth_l3_ipv6_src_init()
876 sb->byte_mask = mlx5dr_ste_conv_bit_to_byte_mask(sb->bit_mask); in dr_ste_v0_build_eth_l3_ipv4_5_tuple_init()
1023 sb->byte_mask = mlx5dr_ste_conv_bit_to_byte_mask(sb->bit_mask); in dr_ste_v0_build_eth_l2_src_init()
1060 sb->byte_mask = mlx5dr_ste_conv_bit_to_byte_mask(sb->bit_mask); in dr_ste_v0_build_eth_l2_dst_init()
1145 sb->byte_mask = mlx5dr_ste_conv_bit_to_byte_mask(sb->bit_mask); in dr_ste_v0_build_eth_l2_tnl_init()
[all …]
A Ddr_ste_v1.c298 void dr_ste_v1_set_byte_mask(u8 *hw_ste_p, u16 byte_mask) in dr_ste_v1_set_byte_mask() argument
300 MLX5_SET(ste_match_bwc_v1, hw_ste_p, byte_mask, byte_mask); in dr_ste_v1_set_byte_mask()
305 return MLX5_GET(ste_match_bwc_v1, hw_ste_p, byte_mask); in dr_ste_v1_get_byte_mask()
1116 sb->byte_mask = mlx5dr_ste_conv_bit_to_byte_mask(sb->bit_mask); in dr_ste_v1_build_eth_l2_src_dst_init()
1140 sb->byte_mask = mlx5dr_ste_conv_bit_to_byte_mask(sb->bit_mask); in dr_ste_v1_build_eth_l3_ipv6_dst_init()
1164 sb->byte_mask = mlx5dr_ste_conv_bit_to_byte_mask(sb->bit_mask); in dr_ste_v1_build_eth_l3_ipv6_src_init()
1199 sb->byte_mask = mlx5dr_ste_conv_bit_to_byte_mask(sb->bit_mask); in dr_ste_v1_build_eth_l3_ipv4_5_tuple_init()
1340 sb->byte_mask = mlx5dr_ste_conv_bit_to_byte_mask(sb->bit_mask); in dr_ste_v1_build_eth_l2_src_init()
1373 sb->byte_mask = mlx5dr_ste_conv_bit_to_byte_mask(sb->bit_mask); in dr_ste_v1_build_eth_l2_dst_init()
1453 sb->byte_mask = mlx5dr_ste_conv_bit_to_byte_mask(sb->bit_mask); in dr_ste_v1_build_eth_l2_tnl_init()
[all …]
A Ddr_ste.c36 if (num_entries == 1 || htbl->byte_mask == 0) in mlx5dr_ste_calc_hash_index()
42 if (htbl->byte_mask & bit) in mlx5dr_ste_calc_hash_index()
56 u16 byte_mask = 0; in mlx5dr_ste_conv_bit_to_byte_mask() local
60 byte_mask = byte_mask << 1; in mlx5dr_ste_conv_bit_to_byte_mask()
62 byte_mask |= 1; in mlx5dr_ste_conv_bit_to_byte_mask()
64 return byte_mask; in mlx5dr_ste_conv_bit_to_byte_mask()
458 u16 byte_mask; in mlx5dr_ste_create_next_htbl() local
466 byte_mask); in mlx5dr_ste_create_next_htbl()
497 u16 lu_type, u16 byte_mask) in mlx5dr_ste_htbl_alloc() argument
514 htbl->byte_mask = byte_mask; in mlx5dr_ste_htbl_alloc()
[all …]
A Dmlx5_ifc_dr.h15 u8 byte_mask[0x10]; member
35 u8 byte_mask[0x10]; member
79 u8 byte_mask[0x10]; member
117 u8 byte_mask[0x10]; member
A Ddr_rule.c425 cur_htbl->byte_mask); in dr_rule_rehash_htbl()
675 static u16 dr_get_bits_per_mask(u16 byte_mask) in dr_get_bits_per_mask() argument
679 while (byte_mask) { in dr_get_bits_per_mask()
680 byte_mask = byte_mask & (byte_mask - 1); in dr_get_bits_per_mask()
700 if (dr_get_bits_per_mask(htbl->byte_mask) * BITS_PER_BYTE <= htbl->chunk->size) in dr_rule_need_enlarge_hash()
A Ddr_ste_v1.h13 void dr_ste_v1_set_byte_mask(u8 *hw_ste_p, u16 byte_mask);
A Ddr_types.h185 u16 byte_mask; member
214 u16 byte_mask; member
224 u16 lu_type, u16 byte_mask);
1231 if (htbl->chunk->size == DR_CHUNK_SIZE_MAX - 1 || !htbl->byte_mask) in mlx5dr_ste_htbl_may_grow()
A Ddr_ste.h158 void (*set_byte_mask)(u8 *hw_ste_p, u16 byte_mask);
A Dmlx5_ifc_dr_ste_v1.h134 u8 byte_mask[0x10]; member
A Ddr_matcher.c861 nic_matcher->ste_builder[0].byte_mask); in dr_matcher_init_nic()
/linux-6.3-rc2/tools/testing/selftests/breakpoints/
A Dbreakpoint_test_arm64.c85 const unsigned int byte_mask = ((1 << size) - 1) << offset; in set_watchpoint() local
88 const unsigned int control = byte_mask << 5 | type << 3 | enable; in set_watchpoint()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_acl_bloom_filter.c316 u8 byte_mask = 0xff >> shift_bits; in right_shift_array() local
328 arr[i + 1] &= byte_mask; in right_shift_array()

Completed in 69 milliseconds