Searched refs:set_ctx (Results 1 – 8 of 8) sorted by relevance
| /drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | main.c | 727 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 …]
|
| A D | vport.c | 1239 void *set_ctx; in mlx5_vport_set_other_func_cap() local 1242 set_ctx = kzalloc(set_sz, GFP_KERNEL); in mlx5_vport_set_other_func_cap() 1243 if (!set_ctx) in mlx5_vport_set_other_func_cap() 1246 MLX5_SET(set_hca_cap_in, set_ctx, opcode, MLX5_CMD_OP_SET_HCA_CAP); in mlx5_vport_set_other_func_cap() 1247 MLX5_SET(set_hca_cap_in, set_ctx, op_mod, opmod << 1); in mlx5_vport_set_other_func_cap() 1248 set_hca_cap = MLX5_ADDR_OF(set_hca_cap_in, set_ctx, capability); in mlx5_vport_set_other_func_cap() 1250 MLX5_SET(set_hca_cap_in, set_ctx, function_id, in mlx5_vport_set_other_func_cap() 1252 MLX5_SET(set_hca_cap_in, set_ctx, other_function, true); in mlx5_vport_set_other_func_cap() 1253 MLX5_SET(set_hca_cap_in, set_ctx, ec_vf_function, ec_vf_func); in mlx5_vport_set_other_func_cap() 1254 ret = mlx5_cmd_exec_in(dev, set_hca_cap, set_ctx); in mlx5_vport_set_other_func_cap() [all …]
|
| /drivers/gpu/drm/nouveau/dispnv50/ |
| A D | crcc57d.c | 52 .set_ctx = crcc37d_set_ctx,
|
| A D | crc.h | 53 int (*set_ctx)(struct nv50_head *, struct nv50_crc_notifier_ctx *); member
|
| A D | crcca7d.c | 92 .set_ctx = crcca7d_set_ctx,
|
| A D | crcc37d.c | 121 .set_ctx = crcc37d_set_ctx,
|
| A D | crc907d.c | 136 .set_ctx = crc907d_set_ctx,
|
| A D | crc.c | 79 core->func->crc->set_ctx(head, ctx); in nv50_crc_program_ctx()
|
Completed in 19 milliseconds