Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Dmain.c692 void *set_ctx) in handle_hca_cap_port_selection() argument
721 void *set_ctx; in set_hca_cap() local
725 if (!set_ctx) in set_hca_cap()
728 err = handle_hca_cap(dev, set_ctx); in set_hca_cap()
734 memset(set_ctx, 0, set_sz); in set_hca_cap()
741 memset(set_ctx, 0, set_sz); in set_hca_cap()
748 memset(set_ctx, 0, set_sz); in set_hca_cap()
755 memset(set_ctx, 0, set_sz); in set_hca_cap()
756 err = handle_hca_cap_2(dev, set_ctx); in set_hca_cap()
762 memset(set_ctx, 0, set_sz); in set_hca_cap()
[all …]
A Dvport.c1182 void *set_ctx; in mlx5_vport_set_other_func_cap() local
1185 set_ctx = kzalloc(set_sz, GFP_KERNEL); in mlx5_vport_set_other_func_cap()
1186 if (!set_ctx) in mlx5_vport_set_other_func_cap()
1189 MLX5_SET(set_hca_cap_in, set_ctx, opcode, MLX5_CMD_OP_SET_HCA_CAP); in mlx5_vport_set_other_func_cap()
1190 MLX5_SET(set_hca_cap_in, set_ctx, op_mod, opmod << 1); in mlx5_vport_set_other_func_cap()
1191 set_hca_cap = MLX5_ADDR_OF(set_hca_cap_in, set_ctx, capability); in mlx5_vport_set_other_func_cap()
1193 MLX5_SET(set_hca_cap_in, set_ctx, function_id, function_id); in mlx5_vport_set_other_func_cap()
1194 MLX5_SET(set_hca_cap_in, set_ctx, other_function, true); in mlx5_vport_set_other_func_cap()
1195 ret = mlx5_cmd_exec_in(dev, set_hca_cap, set_ctx); in mlx5_vport_set_other_func_cap()
1197 kfree(set_ctx); in mlx5_vport_set_other_func_cap()
/linux-6.3-rc2/drivers/gpu/drm/nouveau/dispnv50/
A Dcrcc57d.c52 .set_ctx = crcc37d_set_ctx,
A Dcrc.h53 int (*set_ctx)(struct nv50_head *, struct nv50_crc_notifier_ctx *); member
A Dcrcc37d.c121 .set_ctx = crcc37d_set_ctx,
A Dcrc907d.c136 .set_ctx = crc907d_set_ctx,
A Dcrc.c77 core->func->crc->set_ctx(head, ctx); in nv50_crc_program_ctx()

Completed in 12 milliseconds