Home
last modified time | relevance | path

Searched refs:reg (Results 1 – 25 of 40) sorted by relevance

12

/system/core/libpixelflinger/codeflinger/
Dload_store.cpp33 if (inc) STR(AL, s.reg, addr.reg, immed12_post(4)); in store()
34 else STR(AL, s.reg, addr.reg); in store()
39 STRB(AL, s.reg, addr.reg, immed12_pre(0)); in store()
40 MOV(AL, 0, s.reg, reg_imm(s.reg, ROR, 8)); in store()
41 STRB(AL, s.reg, addr.reg, immed12_pre(1)); in store()
42 MOV(AL, 0, s.reg, reg_imm(s.reg, ROR, 8)); in store()
43 STRB(AL, s.reg, addr.reg, immed12_pre(2)); in store()
45 MOV(AL, 0, s.reg, reg_imm(s.reg, ROR, 16)); in store()
48 ADD(AL, 0, addr.reg, addr.reg, imm(3)); in store()
51 if (inc) STRH(AL, s.reg, addr.reg, immed8_post(2)); in store()
[all …]
Dblending.cpp40 integer_t fragment(temp.reg, temp.h, temp.flags); in build_fog()
42 temp.reg = regs.obtain(); in build_fog()
47 LDRB(AL, fogColor.reg, mBuilderContext.Rctx, in build_fog()
51 CONTEXT_LOAD(factor.reg, generated_vars.f); in build_fog()
55 BIC(AL, 0, factor.reg, factor.reg, reg_imm(factor.reg, ASR, 31)); in build_fog()
56 CMP(AL, factor.reg, imm( 0x10000 )); in build_fog()
57 MOV(HS, 0, factor.reg, imm( 0x10000 )); in build_fog()
138 MOV(AL, 0, temp.reg, reg_imm(temp.reg, LSR, temp.l)); in build_blending()
142 integer_t fragment(temp.reg, temp.size(), temp.flags); in build_blending()
147 fragment.reg = scratches.obtain(); in build_blending()
[all …]
DGGLAssembler.cpp208 MOV(AL, 0, parts.count.reg, in scanline_core()
209 reg_imm(parts.count.reg, ROR, GGL_DITHER_ORDER_SHIFT)); in scanline_core()
210 ADD(AL, 0, parts.count.reg, parts.count.reg, in scanline_core()
212 MOV(AL, 0, parts.count.reg, in scanline_core()
213 reg_imm(parts.count.reg, ROR, 32 - GGL_DITHER_ORDER_SHIFT)); in scanline_core()
265 AND(AL, 0, parts.dither.reg, parts.count.reg, imm(mask)); in scanline_core()
266 ADDR_ADD(AL, 0, parts.dither.reg, ctxtReg, parts.dither.reg); in scanline_core()
267 LDRB(AL, parts.dither.reg, parts.dither.reg, in scanline_core()
292 if (pixel.reg == -1) { in scanline_core()
324 SUB(AL, S, parts.count.reg, parts.count.reg, imm(1<<16)); in scanline_core()
[all …]
Dtexturing.cpp84 parts.argb[i].reg = c; in init_iterated_color()
87 parts.argb_dx[i].reg = (parts.reload & 2) ? t1 : obtainReg(); in init_iterated_color()
88 const int dvdx = parts.argb_dx[i].reg; in init_iterated_color()
90 MLA(AL, 0, c, x.reg, dvdx, c); in init_iterated_color()
98 MOV(AL, 0, end, reg_imm(parts.count.reg, LSR, 16)); in init_iterated_color()
132 CONTEXT_LOAD(parts.iterated.reg, packed8888); in init_iterated_color()
156 CONTEXT_LOAD(parts.iterated.reg, packed); in init_iterated_color()
158 AND(AL, 0, parts.iterated.reg, in init_iterated_color()
159 parts.iterated.reg, imm(0xFF)); in init_iterated_color()
161 MOV(AL, 0, parts.iterated.reg, in init_iterated_color()
[all …]
DGGLAssembler.h54 int reserveReg(int reg);
56 void recycleReg(int reg);
73 int reserve(int reg);
76 void recycle(int reg);
80 inline int isUsed(int reg) const;
111 int reg = mRegFile.obtain(); in obtain() local
112 mScratch |= 1<<reg; in obtain()
113 return reg; in obtain()
115 void recycle(int reg) { in recycle() argument
116 mRegFile.recycle(reg); in recycle()
[all …]
DArm64Disassembler.cpp126 static void decode_rx_zr_token(uint32_t reg, const char *prefix, char *instr_part) in decode_rx_zr_token() argument
128 if(reg == 31) in decode_rx_zr_token()
131 sprintf(instr_part, "%s%d", prefix, reg); in decode_rx_zr_token()
195 uint32_t reg = bits_unsigned(code, 20,16); in decode_token() local
196 if(reg == 31) in decode_token()
199 sprintf(instr_part, "%d", reg); in decode_token()
229 uint32_t reg = bits_unsigned(code, 9, 5); in decode_token() local
230 if(reg == 31) in decode_token()
233 sprintf(instr_part, "x%d", reg); in decode_token()
237 uint32_t reg = bits_unsigned(code, 4, 0); in decode_token() local
[all …]
DMIPS64Assembler.cpp229 amode.reg = Rm; in reg_imm()
275 amode.reg = Rm; in reg_scale_pre()
311 amode.reg = Rm; in reg_pre()
386 case LSL: mMips->SLL(tmpReg, amode.reg, amode.value); break; in dataProcAdrModes()
387 case LSR: mMips->SRL(tmpReg, amode.reg, amode.value); break; in dataProcAdrModes()
388 case ASR: mMips->SRA(tmpReg, amode.reg, amode.value); break; in dataProcAdrModes()
389 case ROR: mMips->ROTR(tmpReg, amode.reg, amode.value); break; in dataProcAdrModes()
509 case LSL: mMips->SLL(Rd, amode.reg, amode.value); break; in dataProcessing()
510 case LSR: mMips->SRL(Rd, amode.reg, amode.value); break; in dataProcessing()
511 case ASR: mMips->SRA(Rd, amode.reg, amode.value); break; in dataProcessing()
[all …]
DMIPSAssembler.cpp236 amode.reg = Rm; in reg_imm()
282 amode.reg = Rm; in reg_scale_pre()
322 amode.reg = Rm; in reg_pre()
397 case LSL: mMips->SLL(tmpReg, amode.reg, amode.value); break; in dataProcAdrModes()
398 case LSR: mMips->SRL(tmpReg, amode.reg, amode.value); break; in dataProcAdrModes()
399 case ASR: mMips->SRA(tmpReg, amode.reg, amode.value); break; in dataProcAdrModes()
401 mMips->ROTR(tmpReg, amode.reg, amode.value); in dataProcAdrModes()
403 mMips->RORIsyn(tmpReg, amode.reg, amode.value); in dataProcAdrModes()
508 case LSL: mMips->SLL(Rd, amode.reg, amode.value); break; in dataProcessing()
509 case LSR: mMips->SRL(Rd, amode.reg, amode.value); break; in dataProcessing()
[all …]
/system/extras/ext4_utils/
Dallocate.c66 static void region_list_remove(struct region_list *list, struct region *reg) in region_list_remove() argument
68 if (reg->prev) in region_list_remove()
69 reg->prev->next = reg->next; in region_list_remove()
71 if (reg->next) in region_list_remove()
72 reg->next->prev = reg->prev; in region_list_remove()
74 if (list->first == reg) in region_list_remove()
75 list->first = reg->next; in region_list_remove()
77 if (list->last == reg) in region_list_remove()
78 list->last = reg->prev; in region_list_remove()
80 reg->next = NULL; in region_list_remove()
[all …]
Dallocate.h96 void region_list_append(struct region_list *list, struct region *reg);
/system/extras/simpleperf/
Dperf_regs.cpp77 int reg = static_cast<int>(regno); in GetRegName() local
80 if (reg >= PERF_REG_X86_R8 && reg <= PERF_REG_X86_R15) { in GetRegName()
81 return android::base::StringPrintf("r%d", reg - PERF_REG_X86_R8 + 8); in GetRegName()
85 auto it = x86_reg_map.find(reg); in GetRegName()
86 CHECK(it != x86_reg_map.end()) << "unknown reg " << reg; in GetRegName()
90 if (reg >= PERF_REG_ARM_R0 && reg <= PERF_REG_ARM_R10) { in GetRegName()
91 return android::base::StringPrintf("r%d", reg - PERF_REG_ARM_R0); in GetRegName()
93 auto it = arm_reg_map.find(reg); in GetRegName()
94 CHECK(it != arm_reg_map.end()) << "unknown reg " << reg; in GetRegName()
98 if (reg >= PERF_REG_ARM64_X0 && reg <= PERF_REG_ARM64_X29) { in GetRegName()
[all …]
/system/core/debuggerd/mips64/
Dmachine.cpp44 for (int reg = 0; reg < 32; reg++) { in dump_memory_and_code() local
46 if (reg == 0 // $0 in dump_memory_and_code()
47 || reg == 26 // $k0 in dump_memory_and_code()
48 || reg == 27 // $k1 in dump_memory_and_code()
49 || reg == 31 // $ra (done below) in dump_memory_and_code()
53 dump_memory(log, backtrace, R(r.regs[reg]), "memory near %.2s:", &reg_names[reg * 2]); in dump_memory_and_code()
/system/core/debuggerd/mips/
Dmachine.cpp44 for (int reg = 0; reg < 32; reg++) { in dump_memory_and_code() local
46 if (reg == 0 // $0 in dump_memory_and_code()
47 || reg == 26 // $k0 in dump_memory_and_code()
48 || reg == 27 // $k1 in dump_memory_and_code()
49 || reg == 31 // $ra (done below) in dump_memory_and_code()
53 dump_memory(log, backtrace, R(r.regs[reg]), "memory near %.2s:", &reg_names[reg * 2]); in dump_memory_and_code()
/system/core/debuggerd/arm/
Dmachine.cpp40 for (int reg = 0; reg < 14; reg++) { in dump_memory_and_code() local
41 dump_memory(log, backtrace, regs.uregs[reg], "memory near %.2s:", &reg_names[reg * 2]); in dump_memory_and_code()
/system/core/debuggerd/arm64/
Dmachine.cpp44 for (int reg = 0; reg < 31; reg++) { in dump_memory_and_code() local
45 dump_memory(log, backtrace, regs.regs[reg], "memory near x%d:", reg); in dump_memory_and_code()
/system/extras/tests/kernel.config/
Dscrape_mmap_addr.cpp13 …std::regex reg(std::string("^([a-f0-9]+)\\-[0-9a-f]+\\s+.+\\s+(\\d+)\\s+.+\\s+\\d+\\s+") + std::st… in main() local
24 if (std::regex_match (ln,sm, reg)) { in main()
/system/bt/bta/sys/
Dbta_sys_main.c494 if ((id < BTA_ID_MAX) && (bta_sys_cb.reg[id] != NULL)) in bta_sys_event()
496 freebuf = (*bta_sys_cb.reg[id]->evt_hdlr)(p_msg); in bta_sys_event()
523 bta_sys_cb.reg[id] = (tBTA_SYS_REG *) p_reg; in bta_sys_register()
631 if (bta_sys_cb.reg[bta_id] != NULL) in bta_sys_disable()
633 if (bta_sys_cb.is_reg[bta_id] == TRUE && bta_sys_cb.reg[bta_id]->disable != NULL) in bta_sys_disable()
635 (*bta_sys_cb.reg[bta_id]->disable)(); in bta_sys_disable()
Dbta_sys_int.h57 tBTA_SYS_REG *reg[BTA_ID_MAX]; /* registration structures */ member
/system/connectivity/shill/bin/
Dset_wifi_regulatory52 iw reg set "${country_code}"
/system/bt/stack/mcap/
Dmca_api.c167 p_rcb->reg.data_psm = 0; in MCA_Register()
170 p_rcb->reg.rsp_tout = p_reg->rsp_tout; in MCA_Register()
192 if (p_rcb && p_rcb->reg.ctrl_psm) in MCA_Deregister()
194 L2CA_Deregister(p_rcb->reg.ctrl_psm); in MCA_Deregister()
195 L2CA_Deregister(p_rcb->reg.data_psm); in MCA_Deregister()
196 btm_sec_clr_service_by_psm (p_rcb->reg.ctrl_psm); in MCA_Deregister()
197 btm_sec_clr_service_by_psm (p_rcb->reg.data_psm); in MCA_Deregister()
Dmca_main.c76 if (p_rcb->p_cback && p_rcb->reg.ctrl_psm == psm) in mca_handle_by_cpsm()
103 if (p_rcb->p_cback && p_rcb->reg.data_psm == psm) in mca_handle_by_dpsm()
528 memcpy (&p_rcb->reg, p_reg, sizeof(tMCA_REG)); in mca_rcb_alloc()
/system/bt/bta/ag/
Dbta_ag_act.c124 tBTA_AG_REGISTER reg; in bta_ag_register() local
139 reg.hdr.handle = bta_ag_scb_to_idx(p_scb); in bta_ag_register()
140 reg.hdr.app_id = p_scb->app_id; in bta_ag_register()
141 reg.status = BTA_AG_SUCCESS; in bta_ag_register()
142 (*bta_ag_cb.p_cback)(BTA_AG_REGISTER_EVT, (tBTA_AG *) &reg); in bta_ag_register()
/system/bt/bta/av/
Dbta_av_main.c490 tAVDT_REG reg; in bta_av_api_register() local
531 reg.ctrl_mtu = p_bta_av_cfg->sig_mtu; in bta_av_api_register()
532 reg.ret_tout = BTA_AV_RET_TOUT; in bta_av_api_register()
533 reg.sig_tout = BTA_AV_SIG_TOUT; in bta_av_api_register()
534 reg.idle_tout = BTA_AV_IDLE_TOUT; in bta_av_api_register()
535 reg.sec_mask = bta_av_cb.sec_mask; in bta_av_api_register()
537 bta_ar_reg_avdt(&reg, bta_av_conn_cback, BTA_ID_AV); in bta_av_api_register()
/system/core/libbacktrace/
DBacktraceOffline.cpp282 bool BacktraceOffline::ReadReg(size_t reg, uint64_t* value) { in ReadReg() argument
285 switch (reg) { in ReadReg()
338 if (reg <= UNW_AARCH64_PC) { in ReadReg()
339 *value = context_->uc_mcontext.regs[reg]; in ReadReg()
344 switch (reg) { in ReadReg()
400 switch (reg) { in ReadReg()
/system/core/libcutils/arch-x86/
Dandroid_memset32.S40 # define cfi_rel_offset(reg, off) .cfi_rel_offset reg, off argument
44 # define cfi_restore(reg) .cfi_restore reg argument

12