/qemu/target/s390x/tcg/ |
H A D | translate_vx.c.inc | 312 gen_gvec_3_ool(get_field(s, v1), get_field(s, v2), get_field(s, v3), 0, 415 gen_gvec_mov(get_field(s, v1), get_field(s, v2)); 1378 gen_gvec_3(get_field(s, v1), get_field(s, v2), 1491 gen_gvec_3(get_field(s, v1), get_field(s, v2), 1533 gen_gvec_3(get_field(s, v1), get_field(s, v2), 1676 gen_gvec_3(get_field(s, v1), get_field(s, v2), 1695 gen_gvec_4(get_field(s, v1), get_field(s, v2), 1864 gen_gvec_4(get_field(s, v1), get_field(s, v2), 1950 gen_gvec_3(get_field(s, v1), get_field(s, v2), 2895 gen_gvec_3_ptr(get_field(s, v1), get_field(s, v2), get_field(s, v3), [all …]
|
H A D | translate.c | 1479 int m1 = get_field(s, m1); in op_bc() 1912 int l = get_field(s, l1); in op_clc() 3074 a1 = get_address(s, 0, get_field(s, b1), get_field(s, d1)); in op_lpd() 3075 a2 = get_address(s, 0, get_field(s, b2), get_field(s, d2)); in op_lpd() 3900 r1 = get_field(s, r1); in op_soc() 3901 a = get_address(s, 0, get_field(s, b2), get_field(s, d2)); in op_soc() 5270 if (get_field(s, r1) != get_field(s, r2)) { in wout_cond_r1r2_32() 5278 if (get_field(s, r1) != get_field(s, r2)) { in wout_cond_e1e2() 5514 o->addr1 = get_address(s, 0, get_field(s, b1), get_field(s, d1)); in in1_la1() 5521 o->addr1 = get_address(s, x2, get_field(s, b2), get_field(s, d2)); in in1_la2() [all …]
|
/qemu/target/riscv/ |
H A D | op_helper.c | 140 if ((env->priv < PRV_M) && !get_field(env->menvcfg, envbits)) { in check_zicbo_envcfg() 150 if ((env->priv < PRV_S) && !get_field(env->senvcfg, envbits)) { in check_zicbo_envcfg() 287 prev_priv = get_field(mstatus, MSTATUS_SPP); in helper_sret() 289 get_field(mstatus, MSTATUS_SPIE)); in helper_sret() 301 prev_virt = get_field(hstatus, HSTATUS_SPV); in helper_sret() 331 target_ulong prev_priv = get_field(mstatus, MSTATUS_MPP); in helper_mret() 341 get_field(mstatus, MSTATUS_MPIE)); in helper_mret() 386 get_field(env->hstatus, HSTATUS_VTW) && in helper_wrs_nto() 387 !get_field(env->mstatus, MSTATUS_TW)) { in helper_wrs_nto() 435 get_field(env->mstatus, MSTATUS_TVM)) { in helper_hyp_gvma_tlb_flush() [all …]
|
H A D | cpu_helper.c | 50 mode = get_field(env->mstatus, MSTATUS_MPP); in riscv_env_mmu_index() 51 virt = get_field(env->mstatus, MSTATUS_MPV) && in riscv_env_mmu_index() 114 fs = get_field(env->mstatus, MSTATUS_FS); in cpu_get_tb_cpu_state() 115 vs = get_field(env->mstatus, MSTATUS_VS); in cpu_get_tb_cpu_state() 665 gein = get_field(env->hstatus, HSTATUS_VGEIN); in riscv_cpu_interrupt() 845 vm = get_field(env->vsatp, SATP32_MODE); in get_physical_address() 853 vm = get_field(env->satp, SATP32_MODE); in get_physical_address() 856 vm = get_field(env->satp, SATP64_MODE); in get_physical_address() 863 vm = get_field(env->hgatp, SATP32_MODE); in get_physical_address() 866 vm = get_field(env->hgatp, SATP64_MODE); in get_physical_address() [all …]
|
H A D | pmp.h | 87 #define MSECCFG_MML_ISSET(env) get_field(env->mseccfg, MSECCFG_MML) 88 #define MSECCFG_MMWP_ISSET(env) get_field(env->mseccfg, MSECCFG_MMWP) 89 #define MSECCFG_RLB_ISSET(env) get_field(env->mseccfg, MSECCFG_RLB)
|
H A D | monitor.c | 157 base = (hwaddr)get_field(env->satp, SATP32_PPN) << PGSHIFT; in mem_info_svxx() 158 vm = get_field(env->satp, SATP32_MODE); in mem_info_svxx() 160 base = (hwaddr)get_field(env->satp, SATP64_PPN) << PGSHIFT; in mem_info_svxx() 161 vm = get_field(env->satp, SATP64_MODE); in mem_info_svxx()
|
H A D | debug.c | 505 return get_field(env->tdata1[index], ITRIGGER_COUNT); in itrigger_get_count() 520 return (get_field(tdata1, ITRIGGER_VS) == env->priv) || in check_itrigger_priv() 521 (get_field(tdata1, ITRIGGER_VU) == env->priv); in check_itrigger_priv() 524 return (get_field(tdata1, ITRIGGER_M) == env->priv) || in check_itrigger_priv() 525 (get_field(tdata1, ITRIGGER_S) == env->priv) || in check_itrigger_priv() 526 (get_field(tdata1, ITRIGGER_U) == env->priv); in check_itrigger_priv()
|
H A D | csr.c | 148 if (!get_field(env->hcounteren, ctr_mask) || in ctr() 155 !get_field(env->scounteren, ctr_mask)) { in ctr() 468 get_field(env->mstatus, MSTATUS_TVM)) { in satp() 472 get_field(env->hstatus, HSTATUS_VTVM)) { in satp() 482 get_field(env->mstatus, MSTATUS_TVM)) { in hgatp() 1299 return get_field(mode_supported, (1 << vm)); in validate_vm() 2436 get_field(env->menvcfg, MENVCFG_STCE)) { in rmw_mip64() 3068 hviid = get_field(env->hvictl, HVICTL_IID); in read_vstopi() 3197 if (get_field(val, HSTATUS_VSBE) != 0) { in write_hstatus() 3978 int csr_priv = get_field(csrno, 0x300); in check_pm_current_disabled() [all …]
|
H A D | cpu.h | 599 if (mode == PRV_M && get_field(env->mstatus, MSTATUS_MPRV)) { in cpu_address_mode() 600 mode = get_field(env->mstatus, MSTATUS_MPP); in cpu_address_mode() 619 xl = get_field(env->mstatus, MSTATUS64_UXL); in cpu_get_xl() 622 xl = get_field(env->mstatus, MSTATUS64_SXL); in cpu_get_xl() 671 return get_field(env->mstatus, MSTATUS64_SXL); in riscv_cpu_sxl()
|
H A D | zce_helper.c | 38 uint8_t mode = get_field(val, JVT_MODE); in HELPER()
|
H A D | pmu.c | 96 !get_field(env->mcountinhibit, BIT(ctr_idx))) { in riscv_pmu_counter_enabled() 197 get_field(env->mcountinhibit, BIT(ctr_idx))) { in riscv_pmu_incr_ctr()
|
H A D | cpu_bits.h | 6 #define get_field(reg, mask) (((reg) & \ macro
|
/qemu/hw/usb/ |
H A D | hcd-ehci.c | 86 #define get_field(data, field) \ macro 418 switch (get_field(qtd->token, QTD_TOKEN_PID)) { in ehci_get_pid() 464 int ep = get_field(q->qh.epchar, QH_EPCHAR_EP); in ehci_verify_pid() 564 int endp = get_field(q->qh.epchar, QH_EPCHAR_EP); in ehci_queue_stopped() 1159 eps = get_field(q->qh.epchar, QH_EPCHAR_EPS); in ehci_qh_do_overlay() 1165 reload = get_field(q->qh.epchar, QH_EPCHAR_RL); in ehci_qh_do_overlay() 1191 cpage = get_field(p->qtd.token, QTD_TOKEN_CPAGE); in ehci_init_transfer() 1192 bytes = get_field(p->qtd.token, QTD_TOKEN_TBYTES); in ehci_init_transfer() 1309 tbytes = get_field(q->qh.token, QTD_TOKEN_TBYTES); in ehci_execute_complete() 1416 endp = get_field(itd->bufptr[0], ITD_BUFPTR_EP); in ehci_process_itd() [all …]
|
H A D | hcd-dwc2.c | 51 #define get_field(data, field) \ macro 234 epnum = get_field(hcchar, HCCHAR_EPNUM); in dwc2_handle_packet() 236 eptype = get_field(hcchar, HCCHAR_EPTYPE); in dwc2_handle_packet() 237 mps = get_field(hcchar, HCCHAR_MPS); in dwc2_handle_packet() 238 pid = get_field(hctsiz, TSIZ_SC_MC_PID); in dwc2_handle_packet() 239 pcnt = get_field(hctsiz, TSIZ_PKTCNT); in dwc2_handle_packet() 240 len = get_field(hctsiz, TSIZ_XFERSIZE); in dwc2_handle_packet() 625 epnum = get_field(hcchar, HCCHAR_EPNUM); in dwc2_enable_chan() 627 eptype = get_field(hcchar, HCCHAR_EPTYPE); in dwc2_enable_chan() 628 pid = get_field(hctsiz, TSIZ_SC_MC_PID); in dwc2_enable_chan() [all …]
|
H A D | hcd-xhci.c | 216 #define get_field(data, field) \ macro 2161 slot->intr = get_field(slot_ctx[2], TRB_INTR); in xhci_address_slot() 2337 xhci->slots[slotid-1].intr = get_field(islot_ctx[2], TRB_INTR); in xhci_evaluate_slot() 2866 uint32_t old_pls = get_field(port->portsc, PORTSC_PLS); in xhci_port_write() 2867 uint32_t new_pls = get_field(val, PORTSC_PLS); in xhci_port_write() 3245 if (get_field(port->portsc, PORTSC_PLS) != PLS_U3) { in xhci_wakeup()
|
/qemu/disas/ |
H A D | m68k.c | 4505 static unsigned long get_field (const unsigned char *, 4578 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize, in floatformat_i387_ext_is_valid() 4580 int_bit = get_field (ufrom, fmt->byteorder, fmt->totalsize, in floatformat_i387_ext_is_valid() 4676 get_field (const unsigned char *data, enum floatformat_byteorders order, in get_field() function 4733 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize, in floatformat_to_double() 4750 if (get_field (ufrom, fmt->byteorder, fmt->totalsize, in floatformat_to_double() 4774 if (get_field (ufrom, fmt->byteorder, fmt->totalsize, fmt->sign_start, 1)) in floatformat_to_double() 4810 mant = get_field (ufrom, fmt->byteorder, fmt->totalsize, in floatformat_to_double() 4830 if (get_field (ufrom, fmt->byteorder, fmt->totalsize, fmt->sign_start, 1)) in floatformat_to_double()
|