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)];
39 memset(in, 0, sizeof(in));
41 MLX5_SET(attach_to_mcg_in, in, opcode, MLX5_CMD_OP_ATTACH_TO_MCG);
42 MLX5_SET(attach_to_mcg_in, in, qpn, qpn);
43 memcpy(MLX5_ADDR_OF(attach_to_mcg_in, in, multicast_gid), mgid,
47 return mlx5_cmd_exec_check_status(dev, in, sizeof(in),
54 u32 in[MLX5_ST_SZ_DW(detach_from_mcg_in)];
57 memset(in, 0, sizeof(in));
59 MLX5_SET(detach_from_mcg_in, in, opcode, MLX5_CMD_OP_DETACH_FROM_MCG);
60 MLX5_SET(detach_from_mcg_in, in, qpn, qpn);
61 memcpy(MLX5_ADDR_OF(detach_from_mcg_in, in, multicast_gid), mgid,
65 return mlx5_cmd_exec_check_status(dev, in, sizeof(in),