Home
last modified time | relevance | path

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

/Linux-v5.15/arch/arm64/kvm/
Dpmu.c139 u64 typer; in kvm_vcpu_pmu_enable_el0() local
143 typer = kvm_vcpu_pmu_read_evtype_direct(counter); in kvm_vcpu_pmu_enable_el0()
144 typer &= ~ARMV8_PMU_EXCLUDE_EL0; in kvm_vcpu_pmu_enable_el0()
145 kvm_vcpu_pmu_write_evtype_direct(counter, typer); in kvm_vcpu_pmu_enable_el0()
154 u64 typer; in kvm_vcpu_pmu_disable_el0() local
158 typer = kvm_vcpu_pmu_read_evtype_direct(counter); in kvm_vcpu_pmu_disable_el0()
159 typer |= ARMV8_PMU_EXCLUDE_EL0; in kvm_vcpu_pmu_disable_el0()
160 kvm_vcpu_pmu_write_evtype_direct(counter, typer); in kvm_vcpu_pmu_disable_el0()
/Linux-v5.15/include/linux/irqchip/
Darm-gic-v3.h87 #define GICD_TYPER_ID_BITS(typer) ((((typer) >> 19) & 0x1f) + 1) argument
88 #define GICD_TYPER_NUM_LPIS(typer) ((((typer) >> 11) & 0x1f) + 1) argument
89 #define GICD_TYPER_SPIS(typer) ((((typer) & 0x1f) + 1) * 32) argument
90 #define GICD_TYPER_ESPIS(typer) \ argument
91 (((typer) & GICD_TYPER_ESPI) ? GICD_TYPER_SPIS((typer) >> 27) : 0)
/Linux-v5.15/drivers/irqchip/
Dirq-gic-v3.c841 u64 typer; in gic_iterate_rdists() local
852 typer = gic_read_typer(ptr + GICR_TYPER); in gic_iterate_rdists()
864 if (typer & GICR_TYPER_VLPIS) in gic_iterate_rdists()
867 } while (!(typer & GICR_TYPER_LAST)); in gic_iterate_rdists()
876 u64 typer; in __gic_populate_rdist() local
888 typer = gic_read_typer(ptr + GICR_TYPER); in __gic_populate_rdist()
889 if ((typer >> 32) == aff) { in __gic_populate_rdist()
921 u64 typer = gic_read_typer(ptr + GICR_TYPER); in __gic_update_rdist_properties() local
923 gic_data.rdists.has_vlpis &= !!(typer & GICR_TYPER_VLPIS); in __gic_update_rdist_properties()
926 gic_data.rdists.has_rvpeid &= !!(typer & GICR_TYPER_RVPEID); in __gic_update_rdist_properties()
[all …]
Dirq-gic-v2m.c346 u32 typer; in gicv2m_init_one() local
353 typer = readl_relaxed(v2m->base + V2M_MSI_TYPER); in gicv2m_init_one()
355 v2m->spi_start = V2M_MSI_TYPER_BASE_SPI(typer); in gicv2m_init_one()
356 v2m->nr_spis = V2M_MSI_TYPER_NUM_SPI(typer); in gicv2m_init_one()
Dirq-gic-v3-its.c107 u64 typer; member
120 #define is_v4(its) (!!((its)->typer & GITS_TYPER_VLPIS))
121 #define is_v4_1(its) (!!((its)->typer & GITS_TYPER_VMAPP))
122 #define device_ids(its) (FIELD_GET(GITS_TYPER_DEVBITS, (its)->typer) + 1)
2470 svpet = FIELD_GET(GITS_TYPER_SVPET, its->typer); in compute_its_aff()
2481 if (!FIELD_GET(GITS_TYPER_SVPET, cur_its->typer)) in find_sibling_its()
2492 if (!FIELD_GET(GITS_TYPER_SVPET, its->typer)) in find_sibling_its()
2649 if (!FIELD_GET(GITS_TYPER_SVPET, its->typer)) in inherit_vpe_l1_table_from_its()
3373 sz = nr_ites * (FIELD_GET(GITS_TYPER_ITT_ENTRY_SIZE, its->typer) + 1); in its_create_device()
4618 its->typer &= ~GITS_TYPER_DEVBITS; in its_enable_quirk_cavium_22375()
[all …]