Searched refs:reg_num (Results 1 – 8 of 8) sorted by relevance
/hardware/google/apf/ |
D | disassembler.c | 123 const uint32_t reg_num = EXTRACT_REGISTER(bytecode); in apf_disassemble() local 137 if (reg_num == 0) { in apf_disassemble() 150 bprintf("r%d, [%u]", reg_num, imm); in apf_disassemble() 157 bprintf("r%d, [r1+%u]", reg_num, imm); in apf_disassemble() 159 bprintf("r%d, [r1]", reg_num); in apf_disassemble() 163 if (reg_num == 0) { in apf_disassemble() 183 if (reg_num == 1) { in apf_disassemble() 195 if (reg_num == 0) { in apf_disassemble() 226 if (reg_num) { in apf_disassemble() 238 if (reg_num) { in apf_disassemble() [all …]
|
D | apf_interpreter.c | 99 const uint32_t reg_num = EXTRACT_REGISTER(bytecode); in accept_packet() local 100 #define REG (registers[reg_num]) in accept_packet() 101 #define OTHER_REG (registers[reg_num ^ 1]) in accept_packet() 169 if (reg_num == 1) { in accept_packet() 219 registers[0] += reg_num ? registers[1] : imm; in accept_packet() 222 registers[0] *= reg_num ? registers[1] : imm; in accept_packet() 225 const uint32_t div_operand = reg_num ? registers[1] : imm; in accept_packet() 231 registers[0] &= reg_num ? registers[1] : imm; in accept_packet() 234 registers[0] |= reg_num ? registers[1] : imm; in accept_packet() 237 const int32_t shift_val = reg_num ? (int32_t)registers[1] : signed_imm; in accept_packet()
|
/hardware/google/apf/v4/ |
D | apf_interpreter.c | 99 const uint32_t reg_num = EXTRACT_REGISTER(bytecode); in accept_packet() local 100 #define REG (registers[reg_num]) in accept_packet() 101 #define OTHER_REG (registers[reg_num ^ 1]) in accept_packet() 169 if (reg_num == 1) { in accept_packet() 219 registers[0] += reg_num ? registers[1] : imm; in accept_packet() 222 registers[0] *= reg_num ? registers[1] : imm; in accept_packet() 225 const uint32_t div_operand = reg_num ? registers[1] : imm; in accept_packet() 231 registers[0] &= reg_num ? registers[1] : imm; in accept_packet() 234 registers[0] |= reg_num ? registers[1] : imm; in accept_packet() 237 const int32_t shift_val = reg_num ? (int32_t)registers[1] : signed_imm; in accept_packet()
|
/hardware/google/apf/v7/ |
D | apf_interpreter_source.c | 181 const u8 reg_num = EXTRACT_REGISTER(bytecode); in do_apf_run() local 182 #define REG (ctx->R[reg_num]) in do_apf_run() 183 #define OTHER_REG (ctx->R[reg_num ^ 1]) in do_apf_run() 200 #define ARITH_REG (ctx->R[reg_num & ctx->v6]) in do_apf_run() 201 arith_imm = (ctx->v6) ? (len_field ? imm : OTHER_REG) : (reg_num ? ctx->R[1] : imm); in do_apf_run() 202 …arith_signed_imm = (ctx->v6) ? (len_field ? signed_imm : (s32)OTHER_REG) : (reg_num ? (s32)ctx->R[… in do_apf_run() 211 return reg_num ? DROP : PASS; in do_apf_run() 252 if (reg_num && !ctx->v6) { // APFv6+ in do_apf_run() 269 if (reg_num == 1) { in do_apf_run() 308 if (matched ^ !reg_num) ctx->pc += imm; in do_apf_run() [all …]
|
D | apf_interpreter.c | 727 const u8 reg_num = EXTRACT_REGISTER(bytecode); in do_apf_run() local 728 #define REG (ctx->R[reg_num]) in do_apf_run() 729 #define OTHER_REG (ctx->R[reg_num ^ 1]) in do_apf_run() 746 #define ARITH_REG (ctx->R[reg_num & ctx->v6]) in do_apf_run() 747 arith_imm = (ctx->v6) ? (len_field ? imm : OTHER_REG) : (reg_num ? ctx->R[1] : imm); in do_apf_run() 748 …arith_signed_imm = (ctx->v6) ? (len_field ? signed_imm : (s32)OTHER_REG) : (reg_num ? (s32)ctx->R[… in do_apf_run() 757 return reg_num ? DROP : PASS; in do_apf_run() 798 if (reg_num && !ctx->v6) { /* APFv6+ */ in do_apf_run() 815 if (reg_num == 1) { in do_apf_run() 854 if (matched ^ !reg_num) ctx->pc += imm; in do_apf_run() [all …]
|
/hardware/knowles/athletico/sound_trigger_hal/tests/ |
D | dump_debug_info.c | 278 for (i = 0; i < srb_info->reg_num; ++i) { in dump_all_regs() 294 for (i = 0, j = 0; i < arb_info->reg_num; i += 2, j++) { in dump_all_regs() 308 for (i = 0, j = 0; i < arb_info->reg_num; i += 2, j++) { in dump_all_regs() 325 if (0 == block->reg_start_addr || 0 == block->reg_num) { in dump_all_regs() 332 for (k = 0; k < block->reg_num; k++) { in dump_all_regs() 373 if (0 == buf->reg_start_addr || 0 == buf->reg_num) { in dump_circ_buf() 375 ALOGE("phy_addr 0x%X size 0x%X", buf->reg_start_addr, buf->reg_num); in dump_circ_buf() 385 for (k = 0; k < buf->reg_num; k++) in dump_circ_buf()
|
/hardware/google/apf/v6/ |
D | apf_interpreter.c | 719 const u8 reg_num = EXTRACT_REGISTER(bytecode); in do_apf_run() local 720 #define REG (ctx->R[reg_num]) in do_apf_run() 721 #define OTHER_REG (ctx->R[reg_num ^ 1]) in do_apf_run() 738 #define ARITH_REG (ctx->R[reg_num & ctx->v6]) in do_apf_run() 739 arith_imm = (ctx->v6) ? (len_field ? imm : OTHER_REG) : (reg_num ? ctx->R[1] : imm); in do_apf_run() 740 …arith_signed_imm = (ctx->v6) ? (len_field ? signed_imm : (s32)OTHER_REG) : (reg_num ? (s32)ctx->R[… in do_apf_run() 749 return reg_num ? DROP : PASS; in do_apf_run() 790 if (reg_num && !ctx->v6) { /* APFv6+ */ in do_apf_run() 806 if (reg_num == 1) { in do_apf_run() 844 if (matched ^ !reg_num) ctx->pc += imm; in do_apf_run() [all …]
|
/hardware/google/apf/devtools/ |
D | apf_interpreter.c | 727 const u8 reg_num = EXTRACT_REGISTER(bytecode); in do_apf_run() local 728 #define REG (ctx->R[reg_num]) in do_apf_run() 729 #define OTHER_REG (ctx->R[reg_num ^ 1]) in do_apf_run() 746 #define ARITH_REG (ctx->R[reg_num & ctx->v6]) in do_apf_run() 747 arith_imm = (ctx->v6) ? (len_field ? imm : OTHER_REG) : (reg_num ? ctx->R[1] : imm); in do_apf_run() 748 …arith_signed_imm = (ctx->v6) ? (len_field ? signed_imm : (s32)OTHER_REG) : (reg_num ? (s32)ctx->R[… in do_apf_run() 757 return reg_num ? DROP : PASS; in do_apf_run() 798 if (reg_num && !ctx->v6) { /* APFv6+ */ in do_apf_run() 815 if (reg_num == 1) { in do_apf_run() 854 if (matched ^ !reg_num) ctx->pc += imm; in do_apf_run() [all …]
|