Lines Matching defs:opcode
50 u16 opcode;
113 * It will clear the opcode register.
125 * (2) Write the request opcode and the VQ idx in the opcode register
132 static int snet_ctrl_read_from_dpu(struct snet *snet, u16 opcode, u16 vq_idx, void *buffer,
161 /* We need to write the buffer size in the control register, and the opcode + vq index in
162 * the opcode register.
168 snet_write_op(regs, opcode | (vq_idx << 16));
218 static int snet_send_ctrl_msg_old(struct snet *snet, u32 opcode)
226 /* Old mechanism uses just 1 register, the opcode register.
227 * Make sure that the opcode register is empty, and that the DPU isn't
237 snet_write_op(regs, opcode);
239 /* DPU ACKs the message by clearing the opcode register */
252 static int snet_send_ctrl_msg(struct snet *snet, u16 opcode, u16 vq_idx)
261 return snet_send_ctrl_msg_old(snet, opcode);
272 /* We need to clear the control register and write the opcode + vq index in the opcode
279 snet_write_op(regs, opcode | (vq_idx << 16));