Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.h35 .moffset = 0,\
43 .moffset = 16,\
51 .moffset = 0,\
59 .moffset = 0,\
67 .moffset = 0,\
75 .moffset = 0,\
83 .moffset = 16,\
88 #define REG_MAPPING_MOFFSET(reg) (mlx5e_tc_attr_to_reg_mappings[reg].moffset)
/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c81 .moffset = 0,
86 .moffset = 16,
91 .moffset = 8,
108 .moffset = 0,
132 int moffset = mlx5e_tc_attr_to_reg_mappings[type].moffset; in mlx5e_tc_match_to_reg_match() local
149 mask <<= moffset; in mlx5e_tc_match_to_reg_match()
150 val <<= moffset; in mlx5e_tc_match_to_reg_match()
151 max_mask <<= moffset; in mlx5e_tc_match_to_reg_match()
179 int moffset = mlx5e_tc_attr_to_reg_mappings[type].moffset; in mlx5e_tc_match_to_reg_get_match() local
194 *mask = (curr_mask >> moffset) & max_mask; in mlx5e_tc_match_to_reg_get_match()
[all …]
Den_tc.h205 int moffset; /* bit offset of mfield */ member
/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.c266 mlx5e_tc_attr_to_reg_mappings[chain_to_reg].moffset); in create_chain_restore()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.h599 int moffset; member
Dhclge_main.c5825 int offset, moffset, ip_offset; in hclge_fd_convert_tuple() local
5837 moffset = tuple_key_info[tuple_bit].moffset; in hclge_fd_convert_tuple()
5841 calc_x(*key_x, p[offset], p[moffset]); in hclge_fd_convert_tuple()
5842 calc_y(*key_y, p[offset], p[moffset]); in hclge_fd_convert_tuple()
5846 calc_x(tmp_x_s, *(u16 *)(&p[offset]), *(u16 *)(&p[moffset])); in hclge_fd_convert_tuple()
5847 calc_y(tmp_y_s, *(u16 *)(&p[offset]), *(u16 *)(&p[moffset])); in hclge_fd_convert_tuple()
5853 calc_x(tmp_x_l, *(u32 *)(&p[offset]), *(u32 *)(&p[moffset])); in hclge_fd_convert_tuple()
5854 calc_y(tmp_y_l, *(u32 *)(&p[offset]), *(u32 *)(&p[moffset])); in hclge_fd_convert_tuple()
5862 p[moffset + i]); in hclge_fd_convert_tuple()
5864 p[moffset + i]); in hclge_fd_convert_tuple()
[all …]