Searched refs:set_ctx (Results 1 – 7 of 7) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | main.c | 434 static int handle_hca_cap_atomic(struct mlx5_core_dev *dev, void *set_ctx) in handle_hca_cap_atomic() argument 454 set_hca_cap = MLX5_ADDR_OF(set_hca_cap_in, set_ctx, capability); in handle_hca_cap_atomic() 460 return set_caps(dev, set_ctx, MLX5_SET_HCA_CAP_OP_MOD_ATOMIC); in handle_hca_cap_atomic() 463 static int handle_hca_cap_odp(struct mlx5_core_dev *dev, void *set_ctx) in handle_hca_cap_odp() argument 477 set_hca_cap = MLX5_ADDR_OF(set_hca_cap_in, set_ctx, capability); in handle_hca_cap_odp() 508 return set_caps(dev, set_ctx, MLX5_SET_HCA_CAP_OP_MOD_ODP); in handle_hca_cap_odp() 544 static int handle_hca_cap_2(struct mlx5_core_dev *dev, void *set_ctx) in handle_hca_cap_2() argument 560 set_hca_cap = MLX5_ADDR_OF(set_hca_cap_in, set_ctx, in handle_hca_cap_2() 566 return set_caps(dev, set_ctx, MLX5_CAP_GENERAL_2); in handle_hca_cap_2() 569 static int handle_hca_cap(struct mlx5_core_dev *dev, void *set_ctx) in handle_hca_cap() argument [all …]
|
D | vport.c | 1186 void *set_ctx; in mlx5_vport_set_other_func_cap() local 1189 set_ctx = kzalloc(set_sz, GFP_KERNEL); in mlx5_vport_set_other_func_cap() 1190 if (!set_ctx) in mlx5_vport_set_other_func_cap() 1193 MLX5_SET(set_hca_cap_in, set_ctx, opcode, MLX5_CMD_OP_SET_HCA_CAP); in mlx5_vport_set_other_func_cap() 1194 MLX5_SET(set_hca_cap_in, set_ctx, op_mod, opmod << 1); in mlx5_vport_set_other_func_cap() 1195 set_hca_cap = MLX5_ADDR_OF(set_hca_cap_in, set_ctx, capability); in mlx5_vport_set_other_func_cap() 1197 MLX5_SET(set_hca_cap_in, set_ctx, function_id, in mlx5_vport_set_other_func_cap() 1199 MLX5_SET(set_hca_cap_in, set_ctx, other_function, true); in mlx5_vport_set_other_func_cap() 1200 MLX5_SET(set_hca_cap_in, set_ctx, ec_vf_function, ec_vf_func); in mlx5_vport_set_other_func_cap() 1201 ret = mlx5_cmd_exec_in(dev, set_hca_cap, set_ctx); in mlx5_vport_set_other_func_cap() [all …]
|
/drivers/gpu/drm/nouveau/dispnv50/ |
D | crcc57d.c | 52 .set_ctx = crcc37d_set_ctx,
|
D | crc.h | 53 int (*set_ctx)(struct nv50_head *, struct nv50_crc_notifier_ctx *); member
|
D | crcc37d.c | 121 .set_ctx = crcc37d_set_ctx,
|
D | crc907d.c | 136 .set_ctx = crc907d_set_ctx,
|
D | crc.c | 77 core->func->crc->set_ctx(head, ctx); in nv50_crc_program_ctx()
|