/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_cpplib.c | 164 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()
|
D | nfp_arm.h | 166 byte_mask, token, signal_master) \ argument 170 NFP_ARM_GCSR_EXPL2_BAR_BYTE_MASK(byte_mask) | \
|
D | nfp_cpp.h | 298 u8 byte_mask; member
|
D | nfp_cppcore.c | 1348 expl->cmd.byte_mask = mask; in nfp_cpp_explicit_set_target()
|
D | nfp6000_pcie.c | 1169 NFP_PCIE_BAR_EXPLICIT_BAR2_ByteMask(cmd->byte_mask) | in nfp6000_explicit_do()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_ste_v0.c | 264 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 …]
|
D | dr_ste_v1.c | 298 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() 1168 sb->byte_mask = mlx5dr_ste_conv_bit_to_byte_mask(sb->bit_mask); in dr_ste_v1_build_eth_l2_src_dst_init() 1192 sb->byte_mask = mlx5dr_ste_conv_bit_to_byte_mask(sb->bit_mask); in dr_ste_v1_build_eth_l3_ipv6_dst_init() 1216 sb->byte_mask = mlx5dr_ste_conv_bit_to_byte_mask(sb->bit_mask); in dr_ste_v1_build_eth_l3_ipv6_src_init() 1251 sb->byte_mask = mlx5dr_ste_conv_bit_to_byte_mask(sb->bit_mask); in dr_ste_v1_build_eth_l3_ipv4_5_tuple_init() 1392 sb->byte_mask = mlx5dr_ste_conv_bit_to_byte_mask(sb->bit_mask); in dr_ste_v1_build_eth_l2_src_init() 1425 sb->byte_mask = mlx5dr_ste_conv_bit_to_byte_mask(sb->bit_mask); in dr_ste_v1_build_eth_l2_dst_init() 1505 sb->byte_mask = mlx5dr_ste_conv_bit_to_byte_mask(sb->bit_mask); in dr_ste_v1_build_eth_l2_tnl_init() [all …]
|
D | dr_ste.c | 37 if (num_entries == 1 || htbl->byte_mask == 0) in mlx5dr_ste_calc_hash_index() 43 if (htbl->byte_mask & bit) in mlx5dr_ste_calc_hash_index() 57 u16 byte_mask = 0; in mlx5dr_ste_conv_bit_to_byte_mask() local 61 byte_mask = byte_mask << 1; in mlx5dr_ste_conv_bit_to_byte_mask() 63 byte_mask |= 1; in mlx5dr_ste_conv_bit_to_byte_mask() 65 return byte_mask; in mlx5dr_ste_conv_bit_to_byte_mask() 159 ste_ctx->set_byte_mask(hw_ste, next_htbl->byte_mask); in dr_ste_always_hit_htbl() 459 u16 byte_mask; in mlx5dr_ste_create_next_htbl() local 462 byte_mask = ste_ctx->get_byte_mask(cur_hw_ste); in mlx5dr_ste_create_next_htbl() 467 byte_mask); in mlx5dr_ste_create_next_htbl() [all …]
|
D | mlx5_ifc_dr.h | 15 u8 byte_mask[0x10]; member 35 u8 byte_mask[0x10]; member 79 u8 byte_mask[0x10]; member 117 u8 byte_mask[0x10]; member
|
D | dr_rule.c | 425 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()
|
D | dr_ste_v1.h | 13 void dr_ste_v1_set_byte_mask(u8 *hw_ste_p, u16 byte_mask);
|
D | dr_types.h | 192 u16 byte_mask; member 221 u16 byte_mask; member 231 u16 lu_type, u16 byte_mask); 1270 if (htbl->chunk->size == DR_CHUNK_SIZE_MAX - 1 || !htbl->byte_mask) in mlx5dr_ste_htbl_may_grow()
|
D | dr_ste.h | 158 void (*set_byte_mask)(u8 *hw_ste_p, u16 byte_mask);
|
D | mlx5_ifc_dr_ste_v1.h | 134 u8 byte_mask[0x10]; member
|
D | dr_matcher.c | 861 nic_matcher->ste_builder[0].byte_mask); in dr_matcher_init_nic()
|
/linux-6.12.1/sound/soc/tegra/ |
D | tegra210_amx.c | 62 regmap_write(amx->regmap, TEGRA210_AMX_OUT_BYTE_EN0, amx->byte_mask[0]); in tegra210_amx_write_map_ram() 63 regmap_write(amx->regmap, TEGRA210_AMX_OUT_BYTE_EN1, amx->byte_mask[1]); in tegra210_amx_write_map_ram() 201 enabled = amx->byte_mask[1] & (1 << (reg - 32)); in tegra210_amx_get_byte_map() 203 enabled = amx->byte_mask[0] & (1 << reg); in tegra210_amx_get_byte_map() 233 unsigned int mask_val = amx->byte_mask[reg / 32]; in tegra210_amx_put_byte_map() 240 if (mask_val == amx->byte_mask[reg / 32]) in tegra210_amx_put_byte_map() 245 amx->byte_mask[reg / 32] = mask_val; in tegra210_amx_put_byte_map()
|
D | tegra210_adx.c | 48 regmap_write(adx->regmap, TEGRA210_ADX_IN_BYTE_EN0, adx->byte_mask[0]); in tegra210_adx_write_map_ram() 49 regmap_write(adx->regmap, TEGRA210_ADX_IN_BYTE_EN1, adx->byte_mask[1]); in tegra210_adx_write_map_ram() 175 enabled = adx->byte_mask[mc->reg / 32] & (1 << (mc->reg % 32)); in tegra210_adx_get_byte_map() 204 unsigned int mask_val = adx->byte_mask[mc->reg / 32]; in tegra210_adx_put_byte_map() 211 if (mask_val == adx->byte_mask[mc->reg / 32]) in tegra210_adx_put_byte_map() 216 adx->byte_mask[mc->reg / 32] = mask_val; in tegra210_adx_put_byte_map()
|
D | tegra210_adx.h | 69 unsigned int byte_mask[2]; member
|
D | tegra210_amx.h | 90 unsigned int byte_mask[2]; member
|
/linux-6.12.1/tools/testing/selftests/breakpoints/ |
D | breakpoint_test_arm64.c | 85 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.12.1/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_acl_bloom_filter.c | 316 u8 byte_mask = 0xff >> shift_bits; in right_shift_array() local 328 arr[i + 1] &= byte_mask; in right_shift_array()
|