Home
last modified time | relevance | path

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

/freebsd/sys/dev/mlx5/
H A Ddevice.h49 #define __mlx5_bit_off(typ, fld) __offsetof(struct mlx5_ifc_##typ##_bits, fld) macro
50 #define __mlx5_16_off(typ, fld) (__mlx5_bit_off(typ, fld) / 16)
51 #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32)
52 #define __mlx5_64_off(typ, fld) (__mlx5_bit_off(typ, fld) / 64)
53 #define __mlx5_16_bit_off(typ, fld) (16 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0xf…
54 #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1…
67 #define MLX5_BYTE_OFF(typ, fld) (__mlx5_bit_off(typ, fld) / 8)
105 BUILD_BUG_ON(__mlx5_bit_off(typ, fld) % 64); \
110 BUILD_BUG_ON(__mlx5_bit_off(typ, fld) % 64); \
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_fs_tree.c