Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dvport.c1208 void *set_ctx; in mlx5_vport_set_other_func_cap() local
1211 set_ctx = kzalloc(set_sz, GFP_KERNEL); in mlx5_vport_set_other_func_cap()
1212 if (!set_ctx) in mlx5_vport_set_other_func_cap()
1215 MLX5_SET(set_hca_cap_in, set_ctx, opcode, MLX5_CMD_OP_SET_HCA_CAP); in mlx5_vport_set_other_func_cap()
1216 MLX5_SET(set_hca_cap_in, set_ctx, op_mod, opmod << 1); in mlx5_vport_set_other_func_cap()
1217 set_hca_cap = MLX5_ADDR_OF(set_hca_cap_in, set_ctx, capability); in mlx5_vport_set_other_func_cap()
1219 MLX5_SET(set_hca_cap_in, set_ctx, function_id, in mlx5_vport_set_other_func_cap()
1221 MLX5_SET(set_hca_cap_in, set_ctx, other_function, true); in mlx5_vport_set_other_func_cap()
1222 MLX5_SET(set_hca_cap_in, set_ctx, ec_vf_function, ec_vf_func); in mlx5_vport_set_other_func_cap()
1223 ret = mlx5_cmd_exec_in(dev, set_hca_cap, set_ctx); 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 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()