Lines Matching refs:ctrl
58 if (regs.ctrl == 0) in get_reg0()
139 unsigned ctrl; in DecodeRegCtrl() local
140 if (regs.ctrl == 0) { in DecodeRegCtrl()
141 ctrl = regs.reg1 >> 2; in DecodeRegCtrl()
145 ctrl = regs.ctrl; in DecodeRegCtrl()
151 ctrl = (ctrl & 0x7) | ((ctrl & 0x8) << 1); in DecodeRegCtrl()
153 ctrl += 16; in DecodeRegCtrl()
155 decoded.slot23 = bifrost_reg_ctrl_lut[ctrl]; in DecodeRegCtrl()
164 struct bifrost_reg_ctrl ctrl = DecodeRegCtrl(fp, srcs, first); in dump_regs() local
166 if (ctrl.read_reg0) in dump_regs()
168 if (ctrl.read_reg1) in dump_regs()
171 const char *slot3_fma = ctrl.slot23.slot3_fma ? "FMA" : "ADD"; in dump_regs()
173 if (ctrl.slot23.slot2 == BIFROST_OP_WRITE) in dump_regs()
175 else if (ctrl.slot23.slot2 == BIFROST_OP_WRITE_LO) in dump_regs()
177 else if (ctrl.slot23.slot2 == BIFROST_OP_WRITE_HI) in dump_regs()
179 else if (ctrl.slot23.slot2 == BIFROST_OP_READ) in dump_regs()
182 if (ctrl.slot23.slot3 == BIFROST_OP_WRITE) in dump_regs()
184 else if (ctrl.slot23.slot3 == BIFROST_OP_WRITE_LO) in dump_regs()
186 else if (ctrl.slot23.slot3 == BIFROST_OP_WRITE_HI) in dump_regs()
208 struct bifrost_reg_ctrl ctrl = DecodeRegCtrl(fp, *next_regs, last); in bi_disasm_dest_fma() local
209 if (ctrl.slot23.slot2 >= BIFROST_OP_WRITE) { in bi_disasm_dest_fma()
211 bi_disasm_dest_mask(fp, ctrl.slot23.slot2); in bi_disasm_dest_fma()
212 } else if (ctrl.slot23.slot3 >= BIFROST_OP_WRITE && ctrl.slot23.slot3_fma) { in bi_disasm_dest_fma()
214 bi_disasm_dest_mask(fp, ctrl.slot23.slot3); in bi_disasm_dest_fma()
223 struct bifrost_reg_ctrl ctrl = DecodeRegCtrl(fp, *next_regs, last); in bi_disasm_dest_add() local
225 if (ctrl.slot23.slot3 >= BIFROST_OP_WRITE && !ctrl.slot23.slot3_fma) { in bi_disasm_dest_add()
227 bi_disasm_dest_mask(fp, ctrl.slot23.slot3); in bi_disasm_dest_add()