Lines Matching defs:in
7 * COPYING in the main directory of this source tree, or the
10 * Redistribution and use in source and binary forms, with or
18 * - Redistributions in binary form must reproduce the above
20 * disclaimer in the documentation and/or other materials
36 /* mlx5e global resources should be placed in this file.
55 u32 *in;
58 in = kvzalloc(inlen, GFP_KERNEL);
59 if (!in)
62 mkc = MLX5_ADDR_OF(create_mkey_in, in, memory_key_mkey_entry);
71 err = mlx5_core_create_mkey(mdev, mkey, in, inlen);
73 kvfree(in);
77 int mlx5e_create_tis(struct mlx5_core_dev *mdev, void *in, u32 *tisn)
79 void *tisc = MLX5_ADDR_OF(create_tis_in, in, ctx);
86 return mlx5_core_create_tis(mdev, in, tisn);
115 u32 in[MLX5_ST_SZ_DW(create_tis_in)] = {};
118 tisc = MLX5_ADDR_OF(create_tis_in, in, ctx);
125 err = mlx5e_create_tis(mdev, in, &tisn[i][tc]);
228 void *in;
231 in = kvzalloc(inlen, GFP_KERNEL);
232 if (!in)
242 MLX5_SET(modify_tir_in, in, ctx.self_lb_block, lb_flags);
244 MLX5_SET(modify_tir_in, in, bitmask.self_lb_en, 1);
249 err = mlx5_core_modify_tir(mdev, tirn, in);
255 kvfree(in);