Home
last modified time | relevance | path

Searched refs:set_ctx (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c425 static int handle_hca_cap_atomic(struct mlx5_core_dev *dev, void *set_ctx) in handle_hca_cap_atomic() argument
445 set_hca_cap = MLX5_ADDR_OF(set_hca_cap_in, set_ctx, capability); in handle_hca_cap_atomic()
451 return set_caps(dev, set_ctx, MLX5_SET_HCA_CAP_OP_MOD_ATOMIC); in handle_hca_cap_atomic()
454 static int handle_hca_cap_odp(struct mlx5_core_dev *dev, void *set_ctx) in handle_hca_cap_odp() argument
468 set_hca_cap = MLX5_ADDR_OF(set_hca_cap_in, set_ctx, capability); in handle_hca_cap_odp()
499 return set_caps(dev, set_ctx, MLX5_SET_HCA_CAP_OP_MOD_ODP); in handle_hca_cap_odp()
502 static int handle_hca_cap(struct mlx5_core_dev *dev, void *set_ctx) in handle_hca_cap() argument
512 set_hca_cap = MLX5_ADDR_OF(set_hca_cap_in, set_ctx, in handle_hca_cap()
570 return set_caps(dev, set_ctx, MLX5_SET_HCA_CAP_OP_MOD_GENERAL_DEVICE); in handle_hca_cap()
573 static int handle_hca_cap_roce(struct mlx5_core_dev *dev, void *set_ctx) in handle_hca_cap_roce() argument
601 void *set_ctx; set_hca_cap() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c434 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
681 handle_hca_cap_roce(struct mlx5_core_dev *dev, void *set_ctx) handle_hca_cap_roce() argument
709 handle_hca_cap_port_selection(struct mlx5_core_dev *dev, void *set_ctx) handle_hca_cap_port_selection() argument
739 void *set_ctx; set_hca_cap() local
[all...]
H A Dvport.c1186 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...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv50/
H A Dcrcc57d.c52 .set_ctx = crcc37d_set_ctx,
H A Dcrc.h53 int (*set_ctx)(struct nv50_head *, struct nv50_crc_notifier_ctx *); member
H A Dcrc907d.c136 .set_ctx = crc907d_set_ctx,
H A Dcrcc37d.c121 .set_ctx = crcc37d_set_ctx,
H A Dcrc.c77 core->func->crc->set_ctx(head, ctx); in nv50_crc_program_ctx()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/
H A Dcrc.h55 int (*set_ctx)(struct nv50_head *, struct nv50_crc_notifier_ctx *); member
H A Dcrcc37d.c148 .set_ctx = crcc37d_set_ctx,
H A Dcrc907d.c136 .set_ctx = crc907d_set_ctx,
H A Dcrc.c77 core->func->crc->set_ctx(head, ctx); in nv50_crc_program_ctx()

Completed in 9 milliseconds