Home
last modified time | relevance | path

Searched refs:reg_num (Results 1 – 3 of 3) sorted by relevance

/hardware/google/apf/
Ddisassembler.c83 const uint32_t reg_num = EXTRACT_REGISTER(bytecode); in apf_disassemble() local
101 printf("r%d, [%u]", reg_num, imm); in apf_disassemble()
107 printf("r%d, [r1+%u]", reg_num, imm); in apf_disassemble()
123 if (reg_num == 1) { in apf_disassemble()
147 if (reg_num) { in apf_disassemble()
158 if (reg_num) { in apf_disassemble()
166 printf("r%d, %d", reg_num, signed_imm); in apf_disassemble()
179 printf("r%d, m[%u]", reg_num, imm - LDM_EXT_OPCODE); in apf_disassemble()
182 printf("r%d, m[%u]", reg_num, imm - STM_EXT_OPCODE); in apf_disassemble()
186 printf("r%d", reg_num); in apf_disassemble()
[all …]
Dapf_interpreter.c99 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/knowles/athletico/sound_trigger_hal/tests/
Ddump_debug_info.c278 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()