Searched refs:__mlx5_bit_off (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/include/linux/mlx5/ |
D | device.h | 52 #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) macro 53 #define __mlx5_16_off(typ, fld) (__mlx5_bit_off(typ, fld) / 16) 54 #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) 55 #define __mlx5_64_off(typ, fld) (__mlx5_bit_off(typ, fld) / 64) 56 #define __mlx5_16_bit_off(typ, fld) (16 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0xf… 57 #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1… 70 #define MLX5_BYTE_OFF(typ, fld) (__mlx5_bit_off(typ, fld) / 8) 84 BUILD_BUG_ON(__mlx5_bit_off(typ, fld) % 32); \ 112 BUILD_BUG_ON(__mlx5_bit_off(typ, fld) % 64); \ 117 BUILD_BUG_ON(__mlx5_bit_off(typ, fld) % 64); \
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_core.c | 72 #define FS_CAP(cap) (__mlx5_bit_off(flow_table_nic_cap, cap))
|