Home
last modified time | relevance | path

Searched refs:MLX5_ADDR_OF (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/
Dfw.c98 memcpy(caps, MLX5_ADDR_OF(query_hca_cap_out, out, capability_struct), in mlx5_query_odp_caps()
Dmain.c284 __be64 *flags_off = (__be64 *)MLX5_ADDR_OF(cmd_hca_cap, to, reserved_22); in copy_rw_fields()
333 gen->flags = be64_to_cpu(*(__be64 *)MLX5_ADDR_OF(cmd_hca_cap, out, reserved_22)); in fw2drv_caps()
384 fw2drv_caps(caps, MLX5_ADDR_OF(query_hca_cap_out, out, capability_struct)); in mlx5_core_get_caps()
446 copy_rw_fields(MLX5_ADDR_OF(set_hca_cap_in, set_ctx, hca_capability_struct), in handle_hca_cap()
/linux-4.1.27/include/linux/mlx5/
Ddevice.h62 #define MLX5_ADDR_OF(typ, p, fld) ((char *)(p) + MLX5_BYTE_OFF(typ, fld)) macro