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
40 u32 in[MLX5_ST_SZ_DW(attach_to_mcg_in)] = {};
43 MLX5_SET(attach_to_mcg_in, in, opcode, MLX5_CMD_OP_ATTACH_TO_MCG);
44 MLX5_SET(attach_to_mcg_in, in, qpn, qpn);
45 gid = MLX5_ADDR_OF(attach_to_mcg_in, in, multicast_gid);
47 return mlx5_cmd_exec_in(dev, attach_to_mcg, in);
53 u32 in[MLX5_ST_SZ_DW(detach_from_mcg_in)] = {};
56 MLX5_SET(detach_from_mcg_in, in, opcode, MLX5_CMD_OP_DETACH_FROM_MCG);
57 MLX5_SET(detach_from_mcg_in, in, qpn, qpn);
58 gid = MLX5_ADDR_OF(detach_from_mcg_in, in, multicast_gid);
60 return mlx5_cmd_exec_in(dev, detach_from_mcg, in);