Home
last modified time | relevance | path

Searched refs:nr_spis (Results 1 – 18 of 18) sorted by relevance

/xen/xen/arch/arm/vgic/
A Dvgic-init.c129 int domain_vgic_init(struct domain *d, unsigned int nr_spis) in domain_vgic_init() argument
136 nr_spis = ROUNDUP(nr_spis, 32); in domain_vgic_init()
139 if ( nr_spis > (1020 - NR_LOCAL_IRQS) ) in domain_vgic_init()
142 dist->nr_spis = nr_spis; in domain_vgic_init()
143 dist->spis = xzalloc_array(struct vgic_irq, nr_spis); in domain_vgic_init()
155 for ( i = 0; i < nr_spis; i++ ) in domain_vgic_init()
220 for ( i = 0; i < dist->nr_spis; i++ ) in domain_vgic_free()
239 dist->nr_spis = 0; in domain_vgic_free()
A Dvgic-mmio-v2.c34 value = vcpu->domain->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS; in vgic_mmio_read_v2_misc()
A Dvgic-mmio.c506 unsigned int flags, nr_irqs = d->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS; in check_region()
A Dvgic.c806 for ( i = 0; i < d->arch.vgic.nr_spis; i++ ) in arch_move_irqs()
/xen/xen/arch/arm/
A Dgic-v2.c101 u32 nr_spis; /* The number of SPIs for MSIs */ member
700 v2m_data->spi_start, v2m_data->nr_spis); in gicv2_map_hwdown_extra_mappings()
792 v2m_data->spi_start, v2m_data->nr_spis); in gicv2m_make_dt_node()
948 if ( !spi_start || !nr_spis ) in gicv2_add_v2m_frame_to_list()
959 nr_spis = V2M_MSI_TYPER_NUM_SPI(msi_typer); in gicv2_add_v2m_frame_to_list()
967 if ( ( nr_spis == 0 ) || ( spi_start + nr_spis > V2M_MAX_SPI ) ) in gicv2_add_v2m_frame_to_list()
969 nr_spis, V2M_MAX_SPI - V2M_MIN_SPI + 1); in gicv2_add_v2m_frame_to_list()
980 v2m_data->nr_spis = nr_spis; in gicv2_add_v2m_frame_to_list()
989 v2m_data->spi_start, v2m_data->nr_spis); in gicv2_add_v2m_frame_to_list()
1004 u32 spi_start = 0, nr_spis = 0; in gicv2_extension_dt_init() local
[all …]
A Dvgic.c120 int domain_vgic_init(struct domain *d, unsigned int nr_spis) in domain_vgic_init() argument
132 nr_spis = ROUNDUP(nr_spis, 32); in domain_vgic_init()
135 if ( nr_spis > (1020 - NR_LOCAL_IRQS) ) in domain_vgic_init()
138 d->arch.vgic.nr_spis = nr_spis; in domain_vgic_init()
148 xzalloc_array(struct pending_irq, d->arch.vgic.nr_spis); in domain_vgic_init()
152 for (i=0; i<d->arch.vgic.nr_spis; i++) in domain_vgic_init()
185 for ( i = 0; i < (d->arch.vgic.nr_spis); i++ ) in domain_vgic_free()
A Ddomain_build.c2497 if ( !dt_property_read_u32(node, "nr_spis", &d_cfg.arch.nr_spis) ) in create_domUs()
2499 d_cfg.arch.nr_spis = gic_number_lines() - 32; in create_domUs()
2506 d_cfg.arch.nr_spis = MAX(d_cfg.arch.nr_spis, in create_domUs()
A Dvgic-v2.c195 | DIV_ROUND_UP(v->domain->arch.vgic.nr_spis, 32); in vgic_v2_distr_mmio_read()
A Ddomain.c731 if ( (rc = domain_vgic_init(d, config->arch.nr_spis)) != 0 ) in arch_domain_create()
A Dsetup.c949 dom0_cfg.arch.nr_spis = min(gic_number_lines(), (unsigned int) 992) - 32; in start_xen()
A Dvgic-v3.c1130 DIV_ROUND_UP(v->domain->arch.vgic.nr_spis, 32)); in vgic_v3_distr_mmio_read()
/xen/xen/include/asm-arm/
A Dvgic.h145 int nr_spis; /* Number of SPIs */ member
240 #define DOMAIN_NR_RANKS(d) (((d)->arch.vgic.nr_spis+31)/32)
309 #define vgic_num_irqs(d) ((d)->arch.vgic.nr_spis + 32)
339 int domain_vgic_init(struct domain *d, unsigned int nr_spis);
A Dnew_vgic.h115 unsigned int nr_spis; member
/xen/tools/libxl/
A Dlibxl_arm.c28 uint32_t nr_spis = 0; in libxl__arch_domain_prepare_config() local
38 nr_spis += (GUEST_VPL011_SPI - 32) + 1; in libxl__arch_domain_prepare_config()
67 if (nr_spis <= spi) in libxl__arch_domain_prepare_config()
68 nr_spis = spi + 1; in libxl__arch_domain_prepare_config()
73 config->arch.nr_spis = nr_spis; in libxl__arch_domain_prepare_config()
74 LOG(DEBUG, " - Allocate %u SPIs", nr_spis); in libxl__arch_domain_prepare_config()
/xen/xen/include/public/
A Darch-arm.h319 uint32_t nr_spis; member
/xen/docs/misc/arm/device-tree/
A Dbooting.txt154 - nr_spis
157 Peripheral Interrupts) to allocate for the domain. If nr_spis is
/xen/tools/ocaml/libs/xc/
A Dxenctrl.ml34 nr_spis: int; RecordField
A Dxenctrl.mli28 nr_spis: int; RecordField

Completed in 30 milliseconds