Searched refs:typer (Results 1 – 7 of 7) sorted by relevance
| /linux/arch/arm64/kvm/ |
| H A D | pmu.c | 100 u64 typer; in kvm_vcpu_pmu_enable_el0() local 104 typer = kvm_vcpu_pmu_read_evtype_direct(counter); in kvm_vcpu_pmu_enable_el0() 105 typer &= ~ARMV8_PMU_EXCLUDE_EL0; in kvm_vcpu_pmu_enable_el0() 106 kvm_vcpu_pmu_write_evtype_direct(counter, typer); in kvm_vcpu_pmu_enable_el0() 115 u64 typer; in kvm_vcpu_pmu_disable_el0() local 119 typer = kvm_vcpu_pmu_read_evtype_direct(counter); in kvm_vcpu_pmu_disable_el0() 120 typer |= ARMV8_PMU_EXCLUDE_EL0; in kvm_vcpu_pmu_disable_el0() 121 kvm_vcpu_pmu_write_evtype_direct(counter, typer); in kvm_vcpu_pmu_disable_el0()
|
| /linux/tools/testing/selftests/kvm/include/arm64/ |
| H A D | gic_v3.h | 87 #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/include/linux/irqchip/ |
| H A D | arm-gic-v3.h | 87 #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/drivers/irqchip/ |
| H A D | irq-gic-v3.c | 991 u64 typer; in gic_iterate_rdists() local 1002 typer = gic_read_typer(ptr + GICR_TYPER); in gic_iterate_rdists() 1014 if (typer & GICR_TYPER_VLPIS) in gic_iterate_rdists() 1017 } while (!(typer & GICR_TYPER_LAST)); in gic_iterate_rdists() 1026 u64 typer; in __gic_populate_rdist() local 1040 typer = gic_read_typer(ptr + GICR_TYPER); in __gic_populate_rdist() 1041 if ((typer >> 32) == aff) { in __gic_populate_rdist() 1073 u64 typer = gic_read_typer(ptr + GICR_TYPER); in __gic_update_rdist_properties() local 1077 if ((typer & GICR_TYPER_VLPIS) && (typer & GICR_TYPER_RVPEID)) { in __gic_update_rdist_properties() 1092 gic_data.rdists.has_vlpis &= !!(typer & GICR_TYPER_VLPIS); in __gic_update_rdist_properties() [all …]
|
| H A D | irq-gic-v2m.c | 317 u32 typer; in gicv2m_init_one() local 324 typer = readl_relaxed(v2m->base + V2M_MSI_TYPER); in gicv2m_init_one() 326 v2m->spi_start = V2M_MSI_TYPER_BASE_SPI(typer); in gicv2m_init_one() 327 v2m->nr_spis = V2M_MSI_TYPER_NUM_SPI(typer); in gicv2m_init_one()
|
| H A D | irq-gic-v3-its.c | 116 u64 typer; member 131 #define is_v4(its) (!!((its)->typer & GITS_TYPER_VLPIS)) 132 #define is_v4_1(its) (!!((its)->typer & GITS_TYPER_VMAPP)) 133 #define device_ids(its) (FIELD_GET(GITS_TYPER_DEVBITS, (its)->typer) + 1) 2565 svpet = FIELD_GET(GITS_TYPER_SVPET, its->typer); in compute_its_aff() 2576 if (!FIELD_GET(GITS_TYPER_SVPET, cur_its->typer)) in find_sibling_its() 2587 if (!FIELD_GET(GITS_TYPER_SVPET, its->typer)) in find_sibling_its() 2748 if (!FIELD_GET(GITS_TYPER_SVPET, its->typer)) in inherit_vpe_l1_table_from_its() 3491 id_bits = FIELD_GET(GITS_TYPER_IDBITS, its->typer) + 1; in its_create_device() 3494 sz = nr_ites * (FIELD_GET(GITS_TYPER_ITT_ENTRY_SIZE, its->typer) + 1); in its_create_device() [all …]
|
| /linux/tools/testing/selftests/kvm/lib/arm64/ |
| H A D | gic_v3.c | 315 u64 typer; in gicv3_cpu_init() local 323 typer = readq_relaxed(redist_base_cpu + GICR_TYPER); in gicv3_cpu_init() 324 GUEST_ASSERT_EQ(GICR_TYPER_CPU_NUMBER(typer), cpu); in gicv3_cpu_init()
|