Lines Matching defs:in

11 	u32 in[MLX5_ST_SZ_DW(query_special_contexts_in)] = {};
23 MLX5_SET(query_special_contexts_in, in, opcode,
25 err = mlx5_cmd_exec_inout(dev->mdev, query_special_contexts, in, out);
48 u32 in[MLX5_ST_SZ_DW(query_cong_params_in)] = {};
50 MLX5_SET(query_cong_params_in, in, opcode,
52 MLX5_SET(query_cong_params_in, in, cong_protocol, cong_point);
54 return mlx5_cmd_exec_inout(dev, query_cong_params, in, out);
59 u32 in[MLX5_ST_SZ_DW(destroy_tir_in)] = {};
61 MLX5_SET(destroy_tir_in, in, opcode, MLX5_CMD_OP_DESTROY_TIR);
62 MLX5_SET(destroy_tir_in, in, tirn, tirn);
63 MLX5_SET(destroy_tir_in, in, uid, uid);
64 mlx5_cmd_exec_in(dev, destroy_tir, in);
69 u32 in[MLX5_ST_SZ_DW(destroy_tis_in)] = {};
71 MLX5_SET(destroy_tis_in, in, opcode, MLX5_CMD_OP_DESTROY_TIS);
72 MLX5_SET(destroy_tis_in, in, tisn, tisn);
73 MLX5_SET(destroy_tis_in, in, uid, uid);
74 mlx5_cmd_exec_in(dev, destroy_tis, in);
79 u32 in[MLX5_ST_SZ_DW(destroy_rqt_in)] = {};
81 MLX5_SET(destroy_rqt_in, in, opcode, MLX5_CMD_OP_DESTROY_RQT);
82 MLX5_SET(destroy_rqt_in, in, rqtn, rqtn);
83 MLX5_SET(destroy_rqt_in, in, uid, uid);
84 return mlx5_cmd_exec_in(dev, destroy_rqt, in);
90 u32 in[MLX5_ST_SZ_DW(alloc_transport_domain_in)] = {};
94 MLX5_SET(alloc_transport_domain_in, in, opcode,
96 MLX5_SET(alloc_transport_domain_in, in, uid, uid);
98 err = mlx5_cmd_exec_inout(dev, alloc_transport_domain, in, out);
109 u32 in[MLX5_ST_SZ_DW(dealloc_transport_domain_in)] = {};
111 MLX5_SET(dealloc_transport_domain_in, in, opcode,
113 MLX5_SET(dealloc_transport_domain_in, in, uid, uid);
114 MLX5_SET(dealloc_transport_domain_in, in, transport_domain, tdn);
115 mlx5_cmd_exec_in(dev, dealloc_transport_domain, in);
120 u32 in[MLX5_ST_SZ_DW(dealloc_pd_in)] = {};
122 MLX5_SET(dealloc_pd_in, in, opcode, MLX5_CMD_OP_DEALLOC_PD);
123 MLX5_SET(dealloc_pd_in, in, pd, pdn);
124 MLX5_SET(dealloc_pd_in, in, uid, uid);
125 return mlx5_cmd_exec_in(dev, dealloc_pd, in);
131 u32 in[MLX5_ST_SZ_DW(attach_to_mcg_in)] = {};
134 MLX5_SET(attach_to_mcg_in, in, opcode, MLX5_CMD_OP_ATTACH_TO_MCG);
135 MLX5_SET(attach_to_mcg_in, in, qpn, qpn);
136 MLX5_SET(attach_to_mcg_in, in, uid, uid);
137 gid = MLX5_ADDR_OF(attach_to_mcg_in, in, multicast_gid);
139 return mlx5_cmd_exec_in(dev, attach_to_mcg, in);
145 u32 in[MLX5_ST_SZ_DW(detach_from_mcg_in)] = {};
148 MLX5_SET(detach_from_mcg_in, in, opcode, MLX5_CMD_OP_DETACH_FROM_MCG);
149 MLX5_SET(detach_from_mcg_in, in, qpn, qpn);
150 MLX5_SET(detach_from_mcg_in, in, uid, uid);
151 gid = MLX5_ADDR_OF(detach_from_mcg_in, in, multicast_gid);
153 return mlx5_cmd_exec_in(dev, detach_from_mcg, in);
159 u32 in[MLX5_ST_SZ_DW(alloc_xrcd_in)] = {};
162 MLX5_SET(alloc_xrcd_in, in, opcode, MLX5_CMD_OP_ALLOC_XRCD);
163 MLX5_SET(alloc_xrcd_in, in, uid, uid);
164 err = mlx5_cmd_exec_inout(dev, alloc_xrcd, in, out);
172 u32 in[MLX5_ST_SZ_DW(dealloc_xrcd_in)] = {};
174 MLX5_SET(dealloc_xrcd_in, in, opcode, MLX5_CMD_OP_DEALLOC_XRCD);
175 MLX5_SET(dealloc_xrcd_in, in, xrcd, xrcdn);
176 MLX5_SET(dealloc_xrcd_in, in, uid, uid);
177 return mlx5_cmd_exec_in(dev, dealloc_xrcd, in);
189 u32 *in;
191 in = kzalloc(inlen, GFP_KERNEL);
193 if (!in || !out)
196 MLX5_SET(mad_ifc_in, in, opcode, MLX5_CMD_OP_MAD_IFC);
197 MLX5_SET(mad_ifc_in, in, op_mod, opmod);
198 MLX5_SET(mad_ifc_in, in, port, port);
200 data = MLX5_ADDR_OF(mad_ifc_in, in, mad);
203 err = mlx5_cmd_exec_inout(dev, mad_ifc, in, out);
213 kfree(in);
220 u32 in[MLX5_ST_SZ_DW(alloc_uar_in)] = {};
223 MLX5_SET(alloc_uar_in, in, opcode, MLX5_CMD_OP_ALLOC_UAR);
224 MLX5_SET(alloc_uar_in, in, uid, uid);
225 err = mlx5_cmd_exec_inout(dev, alloc_uar, in, out);
235 u32 in[MLX5_ST_SZ_DW(dealloc_uar_in)] = {};
237 MLX5_SET(dealloc_uar_in, in, opcode, MLX5_CMD_OP_DEALLOC_UAR);
238 MLX5_SET(dealloc_uar_in, in, uar, uarn);
239 MLX5_SET(dealloc_uar_in, in, uid, uid);
240 return mlx5_cmd_exec_in(dev, dealloc_uar, in);