Home
last modified time | relevance | path

Searched defs:fld (Results 1 – 2 of 2) sorted by relevance

/include/linux/mlx5/
Ddevice.h50 #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) argument
51 #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) argument
52 #define __mlx5_16_off(typ, fld) (__mlx5_bit_off(typ, fld) / 16) argument
53 #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) argument
54 #define __mlx5_64_off(typ, fld) (__mlx5_bit_off(typ, fld) / 64) argument
55 #define __mlx5_16_bit_off(typ, fld) (16 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0xf… argument
56 #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1… argument
57 #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) argument
58 #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) argument
59 #define __mlx5_mask16(typ, fld) ((u16)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) argument
[all …]
/include/linux/ceph/
Dosd_client.h402 #define osd_req_op_data(oreq, whch, typ, fld) \ argument