mlx5_ifc_ 49 include/linux/mlx5/device.h #define __mlx5_nullp(typ) ((struct mlx5_ifc_##typ##_bits *)0) mlx5_ifc_ 51 include/linux/mlx5/device.h #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) mlx5_ifc_ 61 include/linux/mlx5/device.h #define __mlx5_st_sz_bits(typ) sizeof(struct mlx5_ifc_##typ##_bits) mlx5_ifc_ 64 include/linux/mlx5/device.h #define MLX5_ST_SZ_BYTES(typ) (sizeof(struct mlx5_ifc_##typ##_bits) / 8) mlx5_ifc_ 65 include/linux/mlx5/device.h #define MLX5_ST_SZ_DW(typ) (sizeof(struct mlx5_ifc_##typ##_bits) / 32) mlx5_ifc_ 66 include/linux/mlx5/device.h #define MLX5_ST_SZ_QW(typ) (sizeof(struct mlx5_ifc_##typ##_bits) / 64) mlx5_ifc_ 67 include/linux/mlx5/device.h #define MLX5_UN_SZ_BYTES(typ) (sizeof(union mlx5_ifc_##typ##_bits) / 8) mlx5_ifc_ 68 include/linux/mlx5/device.h #define MLX5_UN_SZ_DW(typ) (sizeof(union mlx5_ifc_##typ##_bits) / 32)