Home
last modified time | relevance | path

Searched refs:moffset (Results 1 – 8 of 8) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.h38 .moffset = 0,\
46 .moffset = 16,\
54 .moffset = 0,\
62 .moffset = 0,\
71 .moffset = 8,\
79 .moffset = 0,\
87 .moffset = 16,\
/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dpost_meter.h9 .moffset = 0, \
/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.h247 int moffset; /* bit offset of mfield */ member
255 #define MLX5_REG_MAPPING_MOFFSET(reg_id) (mlx5e_tc_attr_to_reg_mappings[reg_id].moffset)
Den_tc.c108 .moffset = 0,
113 .moffset = 16,
118 .moffset = 8,
135 .moffset = 0,
191 int moffset = mlx5e_tc_attr_to_reg_mappings[type].moffset; in mlx5e_tc_match_to_reg_match() local
208 mask <<= moffset; in mlx5e_tc_match_to_reg_match()
209 val <<= moffset; in mlx5e_tc_match_to_reg_match()
210 max_mask <<= moffset; in mlx5e_tc_match_to_reg_match()
238 int moffset = mlx5e_tc_attr_to_reg_mappings[type].moffset; in mlx5e_tc_match_to_reg_get_match() local
253 *mask = (curr_mask >> moffset) & max_mask; in mlx5e_tc_match_to_reg_get_match()
[all …]
/drivers/gpu/drm/radeon/
Devergreen_cs.c758 unsigned long toffset, moffset; in evergreen_cs_track_validate_texture() local
789 moffset = texdw[3] << 8; in evergreen_cs_track_validate_texture()
841 if (surf.nsamples <= 1 && moffset & (surf.base_align - 1)) { in evergreen_cs_track_validate_texture()
843 __func__, __LINE__, moffset, surf.base_align); in evergreen_cs_track_validate_texture()
907 moffset += surf.layer_size * d; in evergreen_cs_track_validate_texture()
909 moffset += surf.layer_size * mslice; in evergreen_cs_track_validate_texture()
911 if (moffset > radeon_bo_size(mipmap)) { in evergreen_cs_track_validate_texture()
916 (unsigned long)texdw[3] << 8, moffset, mslice, in evergreen_cs_track_validate_texture()
2348 u32 toffset, moffset; in evergreen_packet3_check() local
2388 moffset = 0; in evergreen_packet3_check()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_chains.c267 mlx5e_tc_attr_to_reg_mappings[mapped_obj_to_reg].moffset); in create_chain_restore()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.h618 int moffset; member
Dhclge_main.c5633 int offset, moffset, ip_offset; in hclge_fd_convert_tuple() local
5645 moffset = tuple_key_info[tuple_bit].moffset; in hclge_fd_convert_tuple()
5649 calc_x(*key_x, p[offset], p[moffset]); in hclge_fd_convert_tuple()
5650 calc_y(*key_y, p[offset], p[moffset]); in hclge_fd_convert_tuple()
5654 calc_x(tmp_x_s, *(u16 *)(&p[offset]), *(u16 *)(&p[moffset])); in hclge_fd_convert_tuple()
5655 calc_y(tmp_y_s, *(u16 *)(&p[offset]), *(u16 *)(&p[moffset])); in hclge_fd_convert_tuple()
5661 calc_x(tmp_x_l, *(u32 *)(&p[offset]), *(u32 *)(&p[moffset])); in hclge_fd_convert_tuple()
5662 calc_y(tmp_y_l, *(u32 *)(&p[offset]), *(u32 *)(&p[moffset])); in hclge_fd_convert_tuple()
5670 p[moffset + i]); in hclge_fd_convert_tuple()
5672 p[moffset + i]); in hclge_fd_convert_tuple()
[all …]