Lines Matching refs:hcr

2497     uint64_t hcr;  in gt_cntfrq_access()  local
2502 hcr = arm_hcr_el2_eff(env); in gt_cntfrq_access()
2503 if ((hcr & (HCR_E2H | HCR_TGE)) == (HCR_E2H | HCR_TGE)) { in gt_cntfrq_access()
2536 uint64_t hcr = arm_hcr_el2_eff(env); in gt_counter_access() local
2541 if ((hcr & (HCR_E2H | HCR_TGE)) == (HCR_E2H | HCR_TGE)) { in gt_counter_access()
2554 (hcr & HCR_E2H in gt_counter_access()
2574 uint64_t hcr = arm_hcr_el2_eff(env); in gt_timer_access() local
2578 if ((hcr & (HCR_E2H | HCR_TGE)) == (HCR_E2H | HCR_TGE)) { in gt_timer_access()
2595 if (hcr & HCR_E2H) { in gt_timer_access()
2808 uint64_t hcr; in gt_virt_cnt_offset() local
2812 hcr = arm_hcr_el2_eff(env); in gt_virt_cnt_offset()
2813 if (hcr & HCR_E2H) { in gt_virt_cnt_offset()
2818 hcr = arm_hcr_el2_eff(env); in gt_virt_cnt_offset()
2819 if ((hcr & (HCR_E2H | HCR_TGE)) == (HCR_E2H | HCR_TGE)) { in gt_virt_cnt_offset()
4912 uint64_t hcr = arm_hcr_el2_eff(env); in vae1_tlbmask() local
4917 if ((hcr & (HCR_E2H | HCR_TGE)) == (HCR_E2H | HCR_TGE)) { in vae1_tlbmask()
4932 uint64_t hcr = arm_hcr_el2_eff(env); in vae2_tlbmask() local
4935 if (hcr & HCR_E2H) { in vae2_tlbmask()
4958 uint64_t hcr = arm_hcr_el2_eff(env); in vae1_tlbbits() local
4964 if ((hcr & (HCR_E2H | HCR_TGE)) == (HCR_E2H | HCR_TGE)) { in vae1_tlbbits()
4975 uint64_t hcr = arm_hcr_el2_eff(env); in vae2_tlbbits() local
4983 if (hcr & HCR_E2H) { in vae2_tlbbits()
5399 uint64_t hcr = arm_hcr_el2_eff(env); in aa64_zva_access() local
5402 if ((hcr & (HCR_E2H | HCR_TGE)) == (HCR_E2H | HCR_TGE)) { in aa64_zva_access()
5410 if (hcr & HCR_TDZ) { in aa64_zva_access()
5414 } else if (hcr & HCR_TDZ) { in aa64_zva_access()
7010 uint64_t hcr = arm_hcr_el2_eff(env); in ctr_el0_access() local
7013 if ((hcr & (HCR_E2H | HCR_TGE)) == (HCR_E2H | HCR_TGE)) { in ctr_el0_access()
7021 if (hcr & HCR_TID2) { in ctr_el0_access()
7025 } else if (hcr & HCR_TID2) { in ctr_el0_access()
8152 uint64_t hcr = arm_hcr_el2_eff(env); in access_mte() local
8153 if (!(hcr & HCR_ATA) && (!(hcr & HCR_E2H) || !(hcr & HCR_TGE))) { in access_mte()
8192 uint64_t hcr = arm_hcr_el2_eff(env); in access_tfsr_el2() local
8193 if (!(hcr & HCR_ATA) && (!(hcr & HCR_E2H) || !(hcr & HCR_TGE))) { in access_tfsr_el2()
8352 uint64_t hcr = arm_hcr_el2_eff(env); in access_scxtnum() local
8355 if (el == 0 && !((hcr & HCR_E2H) && (hcr & HCR_TGE))) { in access_scxtnum()
8357 if (hcr & HCR_TGE) { in access_scxtnum()
8365 if (el < 2 && arm_is_el2_enabled(env) && !(hcr & HCR_ENSCXT)) { in access_scxtnum()
8483 uint64_t hcr = arm_hcr_el2_eff(env); in access_predinv() local
8484 if (hcr & HCR_NV) { in access_predinv()
10773 bool hcr; in arm_phys_excp_target_el() local
10795 hcr = hcr_el2 & HCR_IMO; in arm_phys_excp_target_el()
10799 hcr = hcr_el2 & HCR_FMO; in arm_phys_excp_target_el()
10803 hcr = hcr_el2 & HCR_AMO; in arm_phys_excp_target_el()
10811 hcr |= (hcr_el2 & HCR_TGE) != 0; in arm_phys_excp_target_el()
10814 target_el = target_el_table[is64][scr][rw][hcr][secure][cur_el]; in arm_phys_excp_target_el()
11574 uint64_t hcr; in arm_cpu_do_interrupt_aarch64() local
11581 hcr = arm_hcr_el2_eff(env); in arm_cpu_do_interrupt_aarch64()
11582 if ((hcr & (HCR_E2H | HCR_TGE)) != (HCR_E2H | HCR_TGE)) { in arm_cpu_do_interrupt_aarch64()
11583 is_aa64 = (hcr & HCR_RW) != 0; in arm_cpu_do_interrupt_aarch64()
11695 uint64_t hcr = arm_hcr_el2_eff(env); in arm_cpu_do_interrupt_aarch64() local
11696 if ((hcr & (HCR_NV | HCR_NV1 | HCR_NV2)) == HCR_NV || in arm_cpu_do_interrupt_aarch64()
11697 (hcr & (HCR_NV | HCR_NV2)) == (HCR_NV | HCR_NV2)) { in arm_cpu_do_interrupt_aarch64()
12584 uint64_t hcr; in arm_mmu_idx_el() local
12593 hcr = arm_hcr_el2_eff(env); in arm_mmu_idx_el()
12594 if ((hcr & (HCR_E2H | HCR_TGE)) == (HCR_E2H | HCR_TGE)) { in arm_mmu_idx_el()