Lines Matching defs:in
4 * Redistribution and use in source and binary forms, with or without
9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
36 u32 in[MLX5_ST_SZ_DW(attach_to_mcg_in)] = {0};
39 MLX5_SET(attach_to_mcg_in, in, opcode, MLX5_CMD_OP_ATTACH_TO_MCG);
40 MLX5_SET(attach_to_mcg_in, in, qpn, qpn);
41 memcpy(MLX5_ADDR_OF(attach_to_mcg_in, in, multicast_gid), mgid,
44 return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out));
50 u32 in[MLX5_ST_SZ_DW(detach_from_mcg_in)] = {0};
53 MLX5_SET(detach_from_mcg_in, in, opcode, MLX5_CMD_OP_DETACH_FROM_MCG);
54 MLX5_SET(detach_from_mcg_in, in, qpn, qpn);
55 memcpy(MLX5_ADDR_OF(detach_from_mcg_in, in, multicast_gid), mgid,
58 return mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out));