Lines Matching refs:in
11 u32 in[MLX5_ST_SZ_DW(query_special_contexts_in)] = {}; in mlx5_cmd_dump_fill_mkey() local
14 MLX5_SET(query_special_contexts_in, in, opcode, in mlx5_cmd_dump_fill_mkey()
16 err = mlx5_cmd_exec_inout(dev, query_special_contexts, in, out); in mlx5_cmd_dump_fill_mkey()
26 u32 in[MLX5_ST_SZ_DW(query_special_contexts_in)] = {}; in mlx5_cmd_null_mkey() local
29 MLX5_SET(query_special_contexts_in, in, opcode, in mlx5_cmd_null_mkey()
31 err = mlx5_cmd_exec_inout(dev, query_special_contexts, in, out); in mlx5_cmd_null_mkey()
41 u32 in[MLX5_ST_SZ_DW(query_cong_params_in)] = {}; in mlx5_cmd_query_cong_params() local
43 MLX5_SET(query_cong_params_in, in, opcode, in mlx5_cmd_query_cong_params()
45 MLX5_SET(query_cong_params_in, in, cong_protocol, cong_point); in mlx5_cmd_query_cong_params()
47 return mlx5_cmd_exec_inout(dev, query_cong_params, in, out); in mlx5_cmd_query_cong_params()
52 u32 in[MLX5_ST_SZ_DW(destroy_tir_in)] = {}; in mlx5_cmd_destroy_tir() local
54 MLX5_SET(destroy_tir_in, in, opcode, MLX5_CMD_OP_DESTROY_TIR); in mlx5_cmd_destroy_tir()
55 MLX5_SET(destroy_tir_in, in, tirn, tirn); in mlx5_cmd_destroy_tir()
56 MLX5_SET(destroy_tir_in, in, uid, uid); in mlx5_cmd_destroy_tir()
57 mlx5_cmd_exec_in(dev, destroy_tir, in); in mlx5_cmd_destroy_tir()
62 u32 in[MLX5_ST_SZ_DW(destroy_tis_in)] = {}; in mlx5_cmd_destroy_tis() local
64 MLX5_SET(destroy_tis_in, in, opcode, MLX5_CMD_OP_DESTROY_TIS); in mlx5_cmd_destroy_tis()
65 MLX5_SET(destroy_tis_in, in, tisn, tisn); in mlx5_cmd_destroy_tis()
66 MLX5_SET(destroy_tis_in, in, uid, uid); in mlx5_cmd_destroy_tis()
67 mlx5_cmd_exec_in(dev, destroy_tis, in); in mlx5_cmd_destroy_tis()
72 u32 in[MLX5_ST_SZ_DW(destroy_rqt_in)] = {}; in mlx5_cmd_destroy_rqt() local
74 MLX5_SET(destroy_rqt_in, in, opcode, MLX5_CMD_OP_DESTROY_RQT); in mlx5_cmd_destroy_rqt()
75 MLX5_SET(destroy_rqt_in, in, rqtn, rqtn); in mlx5_cmd_destroy_rqt()
76 MLX5_SET(destroy_rqt_in, in, uid, uid); in mlx5_cmd_destroy_rqt()
77 return mlx5_cmd_exec_in(dev, destroy_rqt, in); in mlx5_cmd_destroy_rqt()
83 u32 in[MLX5_ST_SZ_DW(alloc_transport_domain_in)] = {}; in mlx5_cmd_alloc_transport_domain() local
87 MLX5_SET(alloc_transport_domain_in, in, opcode, in mlx5_cmd_alloc_transport_domain()
89 MLX5_SET(alloc_transport_domain_in, in, uid, uid); in mlx5_cmd_alloc_transport_domain()
91 err = mlx5_cmd_exec_inout(dev, alloc_transport_domain, in, out); in mlx5_cmd_alloc_transport_domain()
102 u32 in[MLX5_ST_SZ_DW(dealloc_transport_domain_in)] = {}; in mlx5_cmd_dealloc_transport_domain() local
104 MLX5_SET(dealloc_transport_domain_in, in, opcode, in mlx5_cmd_dealloc_transport_domain()
106 MLX5_SET(dealloc_transport_domain_in, in, uid, uid); in mlx5_cmd_dealloc_transport_domain()
107 MLX5_SET(dealloc_transport_domain_in, in, transport_domain, tdn); in mlx5_cmd_dealloc_transport_domain()
108 mlx5_cmd_exec_in(dev, dealloc_transport_domain, in); in mlx5_cmd_dealloc_transport_domain()
113 u32 in[MLX5_ST_SZ_DW(dealloc_pd_in)] = {}; in mlx5_cmd_dealloc_pd() local
115 MLX5_SET(dealloc_pd_in, in, opcode, MLX5_CMD_OP_DEALLOC_PD); in mlx5_cmd_dealloc_pd()
116 MLX5_SET(dealloc_pd_in, in, pd, pdn); in mlx5_cmd_dealloc_pd()
117 MLX5_SET(dealloc_pd_in, in, uid, uid); in mlx5_cmd_dealloc_pd()
118 return mlx5_cmd_exec_in(dev, dealloc_pd, in); in mlx5_cmd_dealloc_pd()
124 u32 in[MLX5_ST_SZ_DW(attach_to_mcg_in)] = {}; in mlx5_cmd_attach_mcg() local
127 MLX5_SET(attach_to_mcg_in, in, opcode, MLX5_CMD_OP_ATTACH_TO_MCG); in mlx5_cmd_attach_mcg()
128 MLX5_SET(attach_to_mcg_in, in, qpn, qpn); in mlx5_cmd_attach_mcg()
129 MLX5_SET(attach_to_mcg_in, in, uid, uid); in mlx5_cmd_attach_mcg()
130 gid = MLX5_ADDR_OF(attach_to_mcg_in, in, multicast_gid); in mlx5_cmd_attach_mcg()
132 return mlx5_cmd_exec_in(dev, attach_to_mcg, in); in mlx5_cmd_attach_mcg()
138 u32 in[MLX5_ST_SZ_DW(detach_from_mcg_in)] = {}; in mlx5_cmd_detach_mcg() local
141 MLX5_SET(detach_from_mcg_in, in, opcode, MLX5_CMD_OP_DETACH_FROM_MCG); in mlx5_cmd_detach_mcg()
142 MLX5_SET(detach_from_mcg_in, in, qpn, qpn); in mlx5_cmd_detach_mcg()
143 MLX5_SET(detach_from_mcg_in, in, uid, uid); in mlx5_cmd_detach_mcg()
144 gid = MLX5_ADDR_OF(detach_from_mcg_in, in, multicast_gid); in mlx5_cmd_detach_mcg()
146 return mlx5_cmd_exec_in(dev, detach_from_mcg, in); in mlx5_cmd_detach_mcg()
152 u32 in[MLX5_ST_SZ_DW(alloc_xrcd_in)] = {}; in mlx5_cmd_xrcd_alloc() local
155 MLX5_SET(alloc_xrcd_in, in, opcode, MLX5_CMD_OP_ALLOC_XRCD); in mlx5_cmd_xrcd_alloc()
156 MLX5_SET(alloc_xrcd_in, in, uid, uid); in mlx5_cmd_xrcd_alloc()
157 err = mlx5_cmd_exec_inout(dev, alloc_xrcd, in, out); in mlx5_cmd_xrcd_alloc()
165 u32 in[MLX5_ST_SZ_DW(dealloc_xrcd_in)] = {}; in mlx5_cmd_xrcd_dealloc() local
167 MLX5_SET(dealloc_xrcd_in, in, opcode, MLX5_CMD_OP_DEALLOC_XRCD); in mlx5_cmd_xrcd_dealloc()
168 MLX5_SET(dealloc_xrcd_in, in, xrcd, xrcdn); in mlx5_cmd_xrcd_dealloc()
169 MLX5_SET(dealloc_xrcd_in, in, uid, uid); in mlx5_cmd_xrcd_dealloc()
170 return mlx5_cmd_exec_in(dev, dealloc_xrcd, in); in mlx5_cmd_xrcd_dealloc()
182 u32 *in; in mlx5_cmd_mad_ifc() local
184 in = kzalloc(inlen, GFP_KERNEL); in mlx5_cmd_mad_ifc()
186 if (!in || !out) in mlx5_cmd_mad_ifc()
189 MLX5_SET(mad_ifc_in, in, opcode, MLX5_CMD_OP_MAD_IFC); in mlx5_cmd_mad_ifc()
190 MLX5_SET(mad_ifc_in, in, op_mod, opmod); in mlx5_cmd_mad_ifc()
191 MLX5_SET(mad_ifc_in, in, port, port); in mlx5_cmd_mad_ifc()
193 data = MLX5_ADDR_OF(mad_ifc_in, in, mad); in mlx5_cmd_mad_ifc()
196 err = mlx5_cmd_exec_inout(dev, mad_ifc, in, out); in mlx5_cmd_mad_ifc()
206 kfree(in); in mlx5_cmd_mad_ifc()
213 u32 in[MLX5_ST_SZ_DW(alloc_uar_in)] = {}; in mlx5_cmd_uar_alloc() local
216 MLX5_SET(alloc_uar_in, in, opcode, MLX5_CMD_OP_ALLOC_UAR); in mlx5_cmd_uar_alloc()
217 MLX5_SET(alloc_uar_in, in, uid, uid); in mlx5_cmd_uar_alloc()
218 err = mlx5_cmd_exec_inout(dev, alloc_uar, in, out); in mlx5_cmd_uar_alloc()
228 u32 in[MLX5_ST_SZ_DW(dealloc_uar_in)] = {}; in mlx5_cmd_uar_dealloc() local
230 MLX5_SET(dealloc_uar_in, in, opcode, MLX5_CMD_OP_DEALLOC_UAR); in mlx5_cmd_uar_dealloc()
231 MLX5_SET(dealloc_uar_in, in, uar, uarn); in mlx5_cmd_uar_dealloc()
232 MLX5_SET(dealloc_uar_in, in, uid, uid); in mlx5_cmd_uar_dealloc()
233 return mlx5_cmd_exec_in(dev, dealloc_uar, in); in mlx5_cmd_uar_dealloc()