Lines Matching refs:breg
80 u8 mode, u8 xfer, u8 areg, u8 breg, u8 size, enum cmd_ctx_swap ctx, in __emit_cmd() argument
87 FIELD_PREP(OP_CMD_B_SRC, breg) | in __emit_cmd()
122 __emit_cmd(nfp_prog, op, mode, xfer, reg.areg, reg.breg, size, ctx, in emit_cmd_any()
186 __emit_br_bit(struct nfp_prog *nfp_prog, u16 areg, u16 breg, u16 addr, u8 defer, in __emit_br_bit() argument
197 FIELD_PREP(OP_BR_BIT_B_SRC, breg) | in __emit_br_bit()
226 __emit_br_bit(nfp_prog, reg.areg, reg.breg, addr, defer, set, in emit_br_bit_relo()
240 __emit_br_alu(struct nfp_prog *nfp_prog, u16 areg, u16 breg, u16 imm_hi, in __emit_br_alu() argument
247 FIELD_PREP(OP_BR_ALU_B_SRC, breg) | in __emit_br_alu()
267 __emit_br_alu(nfp_prog, reg.areg, reg.breg, 0, defer, reg.dst_lmextn, in emit_rtn()
272 __emit_immed(struct nfp_prog *nfp_prog, u16 areg, u16 breg, u16 imm_hi, in __emit_immed() argument
281 FIELD_PREP(OP_IMMED_B_SRC, breg) | in __emit_immed()
314 reg.breg, imm >> 8, width, invert, shift, in emit_immed()
321 u16 areg, enum shf_op op, u16 breg, bool i8, bool sw, bool wr_both, in __emit_shf() argument
348 FIELD_PREP(OP_SHF_B_SRC, breg) | in __emit_shf()
376 reg.areg, op, reg.breg, reg.i8, reg.swap, reg.wr_both, in emit_shf()
395 u16 areg, enum alu_op op, u16 breg, bool swap, bool wr_both, in __emit_alu() argument
402 FIELD_PREP(OP_ALU_B_SRC, breg) | in __emit_alu()
428 reg.areg, op, reg.breg, reg.swap, reg.wr_both, in emit_alu()
434 enum mul_type type, enum mul_step step, u16 breg, bool swap, in __emit_mul() argument
441 FIELD_PREP(OP_MUL_B_SRC, breg) | in __emit_mul()
482 __emit_mul(nfp_prog, reg.dst_ab, areg, type, step, reg.breg, reg.swap, in emit_mul()
488 u8 areg, u8 bmask, u8 breg, u8 shift, bool imm8, in __emit_ld_field() argument
497 FIELD_PREP(OP_LDF_B_SRC, breg) | in __emit_ld_field()
524 __emit_ld_field(nfp_prog, sc, reg.areg, bmask, reg.breg, shift, in emit_ld_field_any()
537 __emit_lcsr(struct nfp_prog *nfp_prog, u16 areg, u16 breg, bool wr, u16 addr, in __emit_lcsr() argument
544 FIELD_PREP(OP_LCSR_B_SRC, breg) | in __emit_lcsr()
565 reg.breg = reg.areg; in emit_csr_wr()
574 __emit_lcsr(nfp_prog, reg.areg, reg.breg, true, addr, in emit_csr_wr()
1441 u8 areg, breg; in cmp_reg() local
1448 breg = insn->src_reg * 2; in cmp_reg()
1451 areg ^= breg; in cmp_reg()
1452 breg ^= areg; in cmp_reg()
1453 areg ^= breg; in cmp_reg()
1456 emit_alu(nfp_prog, reg_none(), reg_a(areg), ALU_OP_SUB, reg_b(breg)); in cmp_reg()
1459 reg_a(areg + 1), ALU_OP_SUB_C, reg_b(breg + 1)); in cmp_reg()