Home
last modified time | relevance | path

Searched refs:set_ctx (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c430 static int handle_hca_cap_atomic(struct mlx5_core_dev *dev, void *set_ctx) in handle_hca_cap_atomic() argument
450 set_hca_cap = MLX5_ADDR_OF(set_hca_cap_in, set_ctx, capability); in handle_hca_cap_atomic()
456 return set_caps(dev, set_ctx, MLX5_SET_HCA_CAP_OP_MOD_ATOMIC); in handle_hca_cap_atomic()
459 static int handle_hca_cap_odp(struct mlx5_core_dev *dev, void *set_ctx) in handle_hca_cap_odp() argument
473 set_hca_cap = MLX5_ADDR_OF(set_hca_cap_in, set_ctx, capability); in handle_hca_cap_odp()
514 err = set_caps(dev, set_ctx, MLX5_SET_HCA_CAP_OP_MOD_ODP); in handle_hca_cap_odp()
554 static int handle_hca_cap_2(struct mlx5_core_dev *dev, void *set_ctx) in handle_hca_cap_2() argument
567 set_hca_cap = MLX5_ADDR_OF(set_hca_cap_in, set_ctx, in handle_hca_cap_2()
587 return do_set ? set_caps(dev, set_ctx, MLX5_CAP_GENERAL_2) : 0; in handle_hca_cap_2()
590 static int handle_hca_cap(struct mlx5_core_dev *dev, void *set_ctx) in handle_hca_cap() argument
[all …]
H A Dvport.c1289 void *set_ctx; in mlx5_vport_set_other_func_cap() local
1292 set_ctx = kzalloc(set_sz, GFP_KERNEL); in mlx5_vport_set_other_func_cap()
1293 if (!set_ctx) in mlx5_vport_set_other_func_cap()
1305 MLX5_SET(set_hca_cap_in, set_ctx, function_id_type, 1); in mlx5_vport_set_other_func_cap()
1312 MLX5_SET(set_hca_cap_in, set_ctx, opcode, MLX5_CMD_OP_SET_HCA_CAP); in mlx5_vport_set_other_func_cap()
1313 MLX5_SET(set_hca_cap_in, set_ctx, op_mod, opmod << 1); in mlx5_vport_set_other_func_cap()
1314 set_hca_cap = MLX5_ADDR_OF(set_hca_cap_in, set_ctx, capability); in mlx5_vport_set_other_func_cap()
1316 MLX5_SET(set_hca_cap_in, set_ctx, other_function, true); in mlx5_vport_set_other_func_cap()
1317 MLX5_SET(set_hca_cap_in, set_ctx, ec_vf_function, ec_vf_func); in mlx5_vport_set_other_func_cap()
1318 MLX5_SET(set_hca_cap_in, set_ctx, function_id, function_id); in mlx5_vport_set_other_func_cap()
[all …]
/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Dcrcc57d.c52 .set_ctx = crcc37d_set_ctx,
H A Dcrcc37d.c121 .set_ctx = crcc37d_set_ctx,
H A Dcrc907d.c136 .set_ctx = crc907d_set_ctx,