Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c727 void *set_ctx) in handle_hca_cap_port_selection() argument
756 void *set_ctx; in set_hca_cap() local
760 if (!set_ctx) in set_hca_cap()
763 err = handle_hca_cap(dev, set_ctx); in set_hca_cap()
769 memset(set_ctx, 0, set_sz); in set_hca_cap()
776 memset(set_ctx, 0, set_sz); in set_hca_cap()
783 memset(set_ctx, 0, set_sz); in set_hca_cap()
790 memset(set_ctx, 0, set_sz); in set_hca_cap()
791 err = handle_hca_cap_2(dev, set_ctx); in set_hca_cap()
797 memset(set_ctx, 0, set_sz); in set_hca_cap()
[all …]
H A Dvport.c1233 void *set_ctx; in mlx5_vport_set_other_func_cap() local
1236 set_ctx = kzalloc(set_sz, GFP_KERNEL); in mlx5_vport_set_other_func_cap()
1237 if (!set_ctx) in mlx5_vport_set_other_func_cap()
1240 MLX5_SET(set_hca_cap_in, set_ctx, opcode, MLX5_CMD_OP_SET_HCA_CAP); in mlx5_vport_set_other_func_cap()
1241 MLX5_SET(set_hca_cap_in, set_ctx, op_mod, opmod << 1); in mlx5_vport_set_other_func_cap()
1242 set_hca_cap = MLX5_ADDR_OF(set_hca_cap_in, set_ctx, capability); in mlx5_vport_set_other_func_cap()
1244 MLX5_SET(set_hca_cap_in, set_ctx, function_id, in mlx5_vport_set_other_func_cap()
1246 MLX5_SET(set_hca_cap_in, set_ctx, other_function, true); in mlx5_vport_set_other_func_cap()
1247 MLX5_SET(set_hca_cap_in, set_ctx, ec_vf_function, ec_vf_func); in mlx5_vport_set_other_func_cap()
1248 ret = mlx5_cmd_exec_in(dev, set_hca_cap, set_ctx); in mlx5_vport_set_other_func_cap()
[all …]
/linux-6.15/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 Dcrcc37d.c121 .set_ctx = crcc37d_set_ctx,
H A Dcrc907d.c136 .set_ctx = crc907d_set_ctx,
H A Dcrc.c79 core->func->crc->set_ctx(head, ctx); in nv50_crc_program_ctx()