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
38 int mlx5_core_create_mkey(struct mlx5_core_dev *dev, u32 *mkey, u32 *in,
45 MLX5_SET(create_mkey_in, in, opcode, MLX5_CMD_OP_CREATE_MKEY);
47 err = mlx5_cmd_exec(dev, in, inlen, lout, sizeof(lout));
52 *mkey = MLX5_GET(create_mkey_in, in, memory_key_mkey_entry.mkey_7_0) |
62 u32 in[MLX5_ST_SZ_DW(destroy_mkey_in)] = {};
64 MLX5_SET(destroy_mkey_in, in, opcode, MLX5_CMD_OP_DESTROY_MKEY);
65 MLX5_SET(destroy_mkey_in, in, mkey_index, mlx5_mkey_to_idx(mkey));
66 return mlx5_cmd_exec_in(dev, destroy_mkey, in);
73 u32 in[MLX5_ST_SZ_DW(query_mkey_in)] = {};
76 MLX5_SET(query_mkey_in, in, opcode, MLX5_CMD_OP_QUERY_MKEY);
77 MLX5_SET(query_mkey_in, in, mkey_index, mlx5_mkey_to_idx(mkey));
78 return mlx5_cmd_exec(dev, in, sizeof(in), out, outlen);
96 u32 in[MLX5_ST_SZ_DW(create_psv_in)] = {};
102 MLX5_SET(create_psv_in, in, opcode, MLX5_CMD_OP_CREATE_PSV);
103 MLX5_SET(create_psv_in, in, pd, pdn);
104 MLX5_SET(create_psv_in, in, num_psv, npsvs);
106 err = mlx5_cmd_exec_inout(dev, create_psv, in, out);
119 u32 in[MLX5_ST_SZ_DW(destroy_psv_in)] = {};
121 MLX5_SET(destroy_psv_in, in, opcode, MLX5_CMD_OP_DESTROY_PSV);
122 MLX5_SET(destroy_psv_in, in, psvn, psv_num);
123 return mlx5_cmd_exec_in(dev, destroy_psv, in);
130 u32 in[MLX5_ST_SZ_DW(query_special_contexts_in)] = {};
136 MLX5_SET(query_special_contexts_in, in, opcode,
138 if (mlx5_cmd_exec_inout(dev, query_special_contexts, in, out))