/openbmc/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 | 1478 int m1 = get_field(s, m1); in op_bc() 1911 int l = get_field(s, l1); in op_clc() 3073 a1 = get_address(s, 0, get_field(s, b1), get_field(s, d1)); in op_lpd() 3074 a2 = get_address(s, 0, get_field(s, b2), get_field(s, d2)); in op_lpd() 3899 r1 = get_field(s, r1); in op_soc() 3900 a = get_address(s, 0, get_field(s, b2), get_field(s, d2)); in op_soc() 5269 if (get_field(s, r1) != get_field(s, r2)) { in wout_cond_r1r2_32() 5277 if (get_field(s, r1) != get_field(s, r2)) { in wout_cond_e1e2() 5513 o->addr1 = get_address(s, 0, get_field(s, b1), get_field(s, d1)); in in1_la1() 5520 o->addr1 = get_address(s, x2, get_field(s, b2), get_field(s, d2)); in in1_la2() [all …]
|
/openbmc/qemu/target/riscv/ |
H A D | op_helper.c | 138 if ((env->priv < PRV_M) && !get_field(env->menvcfg, envbits)) { in check_zicbo_envcfg() 148 if ((env->priv < PRV_S) && !get_field(env->senvcfg, envbits)) { in check_zicbo_envcfg() 285 prev_priv = get_field(mstatus, MSTATUS_SPP); in helper_sret() 287 get_field(mstatus, MSTATUS_SPIE)); in helper_sret() 299 prev_virt = get_field(hstatus, HSTATUS_SPV); in helper_sret() 327 target_ulong prev_priv = get_field(mstatus, MSTATUS_MPP); in helper_mret() 337 get_field(mstatus, MSTATUS_MPIE)); in helper_mret() 379 get_field(env->hstatus, HSTATUS_VTW) && in helper_wrs_nto() 380 !get_field(env->mstatus, MSTATUS_TW)) { in helper_wrs_nto() 428 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() 641 gein = get_field(env->hstatus, HSTATUS_VGEIN); in riscv_cpu_interrupt() 848 vm = get_field(env->vsatp, SATP32_MODE); in get_physical_address() 856 vm = get_field(env->satp, SATP32_MODE); in get_physical_address() 859 vm = get_field(env->satp, SATP64_MODE); in get_physical_address() 866 vm = get_field(env->hgatp, SATP32_MODE); in get_physical_address() 869 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 | 575 return get_field(env->tdata1[index], ITRIGGER_COUNT); in itrigger_get_count() 590 return (get_field(tdata1, ITRIGGER_VS) == env->priv) || in check_itrigger_priv() 591 (get_field(tdata1, ITRIGGER_VU) == env->priv); in check_itrigger_priv() 594 return (get_field(tdata1, ITRIGGER_M) == env->priv) || in check_itrigger_priv() 595 (get_field(tdata1, ITRIGGER_S) == env->priv) || in check_itrigger_priv() 596 (get_field(tdata1, ITRIGGER_U) == env->priv); in check_itrigger_priv()
|
H A D | zce_helper.c | 38 uint8_t mode = get_field(val, JVT_MODE); in HELPER()
|
H A D | csr.c | 147 if (!get_field(env->hcounteren, ctr_mask) || in ctr() 154 !get_field(env->scounteren, ctr_mask)) { in ctr() 494 get_field(env->mstatus, MSTATUS_TVM)) { in satp() 498 get_field(env->hstatus, HSTATUS_VTVM)) { in satp() 508 get_field(env->mstatus, MSTATUS_TVM)) { in hgatp() 1508 return get_field(mode_supported, (1 << vm)); in validate_vm() 2698 get_field(env->menvcfg, MENVCFG_STCE)) { in rmw_mip64() 3334 hviid = get_field(env->hvictl, HVICTL_IID); in read_vstopi() 3463 if (get_field(val, HSTATUS_VSBE) != 0) { in write_hstatus() 4280 int csr_priv = get_field(csrno, 0x300); in check_pm_current_disabled() [all …]
|
H A D | cpu.h | 640 if (mode == PRV_M && get_field(env->mstatus, MSTATUS_MPRV)) { in cpu_address_mode() 641 mode = get_field(env->mstatus, MSTATUS_MPP); in cpu_address_mode() 660 xl = get_field(env->mstatus, MSTATUS64_UXL); in cpu_get_xl() 663 xl = get_field(env->mstatus, MSTATUS64_SXL); in cpu_get_xl() 712 return get_field(env->mstatus, MSTATUS64_SXL); in riscv_cpu_sxl()
|
H A D | pmu.c | 97 !get_field(env->mcountinhibit, BIT(ctr_idx))) { in riscv_pmu_counter_enabled() 436 return get_field(mhpmevent_val, of_bit_mask); in pmu_hpmevent_is_of_set() 452 if (!get_field(*mhpmevent_val, of_bit_mask)) { in pmu_hpmevent_set_of_if_clear()
|
H A D | cpu_bits.h | 6 #define get_field(reg, mask) (((reg) & \ macro
|
/openbmc/linux/tools/perf/ui/ |
H A D | hist.c | 41 percent = 100.0 * get_field(he) / total; in __hpp__fmt() 55 u64 period = get_field(pair); in __hpp__fmt() 156 hpp_field_fn get_field, int nr_members, in hist_entry__new_pair() argument 168 fa[evsel__group_idx(evsel)] = get_field(pair); in hist_entry__new_pair() 187 hpp_field_fn get_field, int idx) in __hpp__group_sort_idx() argument 193 cmp = field_cmp(get_field(a), get_field(b)); in __hpp__group_sort_idx() 227 hpp_field_fn get_field) in __hpp__sort() argument 235 return __hpp__group_sort_idx(a, b, get_field, in __hpp__sort() 239 ret = field_cmp(get_field(a), get_field(b)); in __hpp__sort() 266 hpp_field_fn get_field) in __hpp__sort_acc() argument [all …]
|
/openbmc/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 2153 slot->intr = get_field(slot_ctx[2], TRB_INTR); in xhci_address_slot() 2329 xhci->slots[slotid-1].intr = get_field(islot_ctx[2], TRB_INTR); in xhci_evaluate_slot() 2850 uint32_t old_pls = get_field(port->portsc, PORTSC_PLS); in xhci_port_write() 2851 uint32_t new_pls = get_field(val, PORTSC_PLS); in xhci_port_write() 3229 if (get_field(port->portsc, PORTSC_PLS) != PLS_U3) { in xhci_wakeup()
|
/openbmc/linux/tools/testing/selftests/move_mount_set_group/ |
H A D | move_mount_set_group_test.c | 124 static char *get_field(char *src, int nfields) in get_field() function 162 target = get_field(line, 4); in is_shared_mount() 166 opts = get_field(target, 2); in is_shared_mount()
|
/openbmc/linux/sound/pci/ctxfi/ |
H A D | cthw20k2.c | 423 return get_field(ctl->ca, SRCCA_CA); in src_get_ca() 683 return get_field(ctl->amoplo, AMOPLO_Y); in amixer_get_y() 1324 if (get_field(pllstat, PLLSTAT_PD)) in hw_pll_init() 1327 if (get_field(pllstat, PLLSTAT_B) != in hw_pll_init() 1328 get_field(pllctl, PLLCTL_B)) in hw_pll_init() 1331 if (get_field(pllstat, PLLSTAT_CCS) != in hw_pll_init() 1332 get_field(pllctl, PLLCTL_SRC)) in hw_pll_init() 1336 get_field(pllctl, PLLCTL_RD)) in hw_pll_init() 1340 get_field(pllctl, PLLCTL_FD)) in hw_pll_init() 1367 if (get_field(gctl, GCTL_AID)) in hw_auto_init() [all …]
|
H A D | cthardware.c | 64 unsigned int get_field(unsigned int data, unsigned int field) in get_field() function
|
H A D | cthardware.h | 198 unsigned int get_field(unsigned int data, unsigned int field);
|
H A D | cthw20k1.c | 423 return get_field(ctl->ca, SRCCA_CA); in src_get_ca() 681 return get_field(ctl->amoplo, AMOPLO_Y); in amixer_get_y() 1341 if (get_field(gctl, GCTL_AID)) in hw_auto_init() 1344 if (!get_field(gctl, GCTL_AID)) { in hw_auto_init()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | l2_tos_ttl_inherit.sh | 45 get_field() { function 350 captured_tos="$(printf "0x%02x" "$(get_field "tos" "$out")")" 357 captured_tos="$(printf "0x%02x" "$(get_field "class" "$out")")"
|
/openbmc/linux/tools/perf/util/ |
H A D | hist.h | 428 struct hist_entry *he, hpp_field_fn get_field, 431 struct hist_entry *he, hpp_field_fn get_field,
|
/openbmc/linux/tools/testing/selftests/mount_setattr/ |
H A D | mount_setattr_test.c | 280 static char *get_field(char *src, int nfields) in get_field() function 318 target = get_field(line, 4); in is_shared_mount() 322 opts = get_field(target, 2); in is_shared_mount()
|
/openbmc/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()
|