Lines Matching defs:opcode
30 static void si_pm4_cmd_begin(struct si_pm4_state *state, unsigned opcode)
35 assert(opcode <= 254);
36 state->last_opcode = opcode;
46 state->last_opcode = 255; /* invalid opcode */
57 unsigned opcode, unsigned idx)
66 if (opcode != state->last_opcode || reg != (state->last_reg + 1)) {
67 si_pm4_cmd_begin(state, opcode);
79 unsigned opcode;
84 opcode = PKT3_SET_CONFIG_REG;
88 opcode = PKT3_SET_SH_REG;
92 opcode = PKT3_SET_CONTEXT_REG;
96 opcode = PKT3_SET_UCONFIG_REG;
104 si_pm4_set_reg_custom(state, reg, val, opcode, 0);