Searched refs:typer (Results 1 – 5 of 5) sorted by relevance
136 u64 typer; in kvm_vcpu_pmu_enable_el0() local140 typer = kvm_vcpu_pmu_read_evtype_direct(counter); in kvm_vcpu_pmu_enable_el0()141 typer &= ~ARMV8_PMU_EXCLUDE_EL0; in kvm_vcpu_pmu_enable_el0()142 kvm_vcpu_pmu_write_evtype_direct(counter, typer); in kvm_vcpu_pmu_enable_el0()151 u64 typer; in kvm_vcpu_pmu_disable_el0() local155 typer = kvm_vcpu_pmu_read_evtype_direct(counter); in kvm_vcpu_pmu_disable_el0()156 typer |= ARMV8_PMU_EXCLUDE_EL0; in kvm_vcpu_pmu_disable_el0()157 kvm_vcpu_pmu_write_evtype_direct(counter, typer); in kvm_vcpu_pmu_disable_el0()
86 #define GICD_TYPER_ID_BITS(typer) ((((typer) >> 19) & 0x1f) + 1) argument87 #define GICD_TYPER_NUM_LPIS(typer) ((((typer) >> 11) & 0x1f) + 1) argument88 #define GICD_TYPER_SPIS(typer) ((((typer) & 0x1f) + 1) * 32) argument89 #define GICD_TYPER_ESPIS(typer) \ argument90 (((typer) & GICD_TYPER_ESPI) ? GICD_TYPER_SPIS((typer) >> 27) : 0)
772 u64 typer; in gic_iterate_rdists() local783 typer = gic_read_typer(ptr + GICR_TYPER); in gic_iterate_rdists()795 if (typer & GICR_TYPER_VLPIS) in gic_iterate_rdists()798 } while (!(typer & GICR_TYPER_LAST)); in gic_iterate_rdists()807 u64 typer; in __gic_populate_rdist() local819 typer = gic_read_typer(ptr + GICR_TYPER); in __gic_populate_rdist()820 if ((typer >> 32) == aff) { in __gic_populate_rdist()851 u64 typer = gic_read_typer(ptr + GICR_TYPER); in __gic_update_rdist_properties() local852 gic_data.rdists.has_vlpis &= !!(typer & GICR_TYPER_VLPIS); in __gic_update_rdist_properties()853 gic_data.rdists.has_direct_lpi &= !!(typer & GICR_TYPER_DirectLPIS); in __gic_update_rdist_properties()[all …]
347 u32 typer; in gicv2m_init_one() local354 typer = readl_relaxed(v2m->base + V2M_MSI_TYPER); in gicv2m_init_one()356 v2m->spi_start = V2M_MSI_TYPER_BASE_SPI(typer); in gicv2m_init_one()357 v2m->nr_spis = V2M_MSI_TYPER_NUM_SPI(typer); in gicv2m_init_one()
3569 u64 baser, tmp, typer; in its_probe_one() local3604 typer = gic_read_typer(its_base + GITS_TYPER); in its_probe_one()3607 its->ite_size = GITS_TYPER_ITT_ENTRY_SIZE(typer); in its_probe_one()3608 its->device_ids = GITS_TYPER_DEVBITS(typer); in its_probe_one()3609 its->is_v4 = !!(typer & GITS_TYPER_VLPIS); in its_probe_one()3611 if (!(typer & GITS_TYPER_VMOVP)) { in its_probe_one()3681 if (GITS_TYPER_HCC(typer)) in its_probe_one()