Home
last modified time | relevance | path

Searched refs:__mlx5_bit_off (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/include/linux/mlx5/
Ddevice.h51 #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) macro
52 #define __mlx5_16_off(typ, fld) (__mlx5_bit_off(typ, fld) / 16)
53 #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32)
54 #define __mlx5_64_off(typ, fld) (__mlx5_bit_off(typ, fld) / 64)
55 #define __mlx5_16_bit_off(typ, fld) (16 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0xf…
56 #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1…
69 #define MLX5_BYTE_OFF(typ, fld) (__mlx5_bit_off(typ, fld) / 8)
83 BUILD_BUG_ON(__mlx5_bit_off(typ, fld) % 32); \
111 BUILD_BUG_ON(__mlx5_bit_off(typ, fld) % 64); \
116 BUILD_BUG_ON(__mlx5_bit_off(typ, fld) % 64); \
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_core.c70 #define FS_CAP(cap) (__mlx5_bit_off(flow_table_nic_cap, cap))