Home
last modified time | relevance | path

Searched refs:typer (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/arch/arm64/kvm/
Dpmu.c136 u64 typer; in kvm_vcpu_pmu_enable_el0() local
140 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() local
155 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()
/Linux-v5.4/include/linux/irqchip/
Darm-gic-v3.h86 #define GICD_TYPER_ID_BITS(typer) ((((typer) >> 19) & 0x1f) + 1) argument
87 #define GICD_TYPER_NUM_LPIS(typer) ((((typer) >> 11) & 0x1f) + 1) argument
88 #define GICD_TYPER_SPIS(typer) ((((typer) & 0x1f) + 1) * 32) argument
89 #define GICD_TYPER_ESPIS(typer) \ argument
90 (((typer) & GICD_TYPER_ESPI) ? GICD_TYPER_SPIS((typer) >> 27) : 0)
/Linux-v5.4/drivers/irqchip/
Dirq-gic-v3.c772 u64 typer; in gic_iterate_rdists() local
783 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() local
819 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() local
852 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 …]
Dirq-gic-v2m.c347 u32 typer; in gicv2m_init_one() local
354 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()
Dirq-gic-v3-its.c3569 u64 baser, tmp, typer; in its_probe_one() local
3604 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()