Home
last modified time | relevance | path

Searched refs:apic (Results 1 – 25 of 30) sorted by relevance

12

/xen/xen/arch/x86/
A Dio_apic.c134 entry->apic = apic; in add_pin_to_irq()
210 for (apic = 0; apic < nr_ioapics; apic++) { in alloc_ioapic_entries()
337 for (apic = 0; apic < nr_ioapics; apic++) { in save_IO_APIC_setup()
361 for (apic = 0; apic < nr_ioapics; apic++) { in mask_IO_APIC_setup()
392 for (apic = 0; apic < nr_ioapics; apic++) { in restore_IO_APIC_setup()
410 for (apic = 0; apic < nr_ioapics; apic++) in free_ioapic_entries()
548 for (apic = 0; apic < nr_ioapics; apic++) { in clear_IO_APIC()
948 for (apic = 0; apic < nr_ioapics; apic++) { in IO_APIC_irq_trigger()
992 for (apic = 0; apic < nr_ioapics; apic++) { in setup_IO_APIC_irqs()
1121 for (apic = 0; apic < nr_ioapics; apic++) { in __print_IO_APIC()
[all …]
A Dphysdev.c354 struct physdev_apic apic; in do_physdev_op() local
356 if ( copy_from_guest(&apic, arg, 1) != 0 ) in do_physdev_op()
361 ret = ioapic_guest_read(apic.apic_physbase, apic.reg, &apic.value); in do_physdev_op()
362 if ( __copy_to_guest(arg, &apic, 1) ) in do_physdev_op()
368 struct physdev_apic apic; in do_physdev_op() local
370 if ( copy_from_guest(&apic, arg, 1) != 0 ) in do_physdev_op()
375 ret = ioapic_guest_write(apic.apic_physbase, apic.reg, apic.value); in do_physdev_op()
A Dmpparse.c925 unsigned int io_apic_gsi_base(unsigned int apic) in io_apic_gsi_base() argument
927 return mp_ioapic_routing[apic].gsi_base; in io_apic_gsi_base()
A DMakefile14 obj-y += apic.o
/xen/xen/include/asm-x86/
A Dio_apic.h131 unsigned int io_apic_gsi_base(unsigned int apic);
138 *IO_APIC_BASE(apic) = reg; in __io_apic_read()
139 return *(IO_APIC_BASE(apic)+4); in __io_apic_read()
145 return iommu_read_apic_from_ire(apic, reg); in io_apic_read()
146 return __io_apic_read(apic, reg); in io_apic_read()
151 *IO_APIC_BASE(apic) = reg; in __io_apic_write()
152 *(IO_APIC_BASE(apic)+4) = value; in __io_apic_write()
159 __io_apic_write(apic, reg, value); in io_apic_write()
170 *(IO_APIC_BASE(apic)+4) = value; in io_apic_modify()
191 unsigned int apic, unsigned int pin, bool raw);
[all …]
A Diommu.h89 void iommu_update_ire_from_apic(unsigned int apic, unsigned int reg, unsigned int value);
90 unsigned int iommu_read_apic_from_ire(unsigned int apic, unsigned int reg);
/xen/xen/drivers/passthrough/vtd/
A Dintremap.c148 unsigned int apic; in intel_iommu_supports_eim() local
154 for ( apic = 0; apic < nr_ioapics; apic++ ) in intel_iommu_supports_eim()
155 if ( !ioapic_to_drhd(IO_APIC_ID(apic)) ) in intel_iommu_supports_eim()
159 apic, IO_APIC_ID(apic)); in intel_iommu_supports_eim()
344 index = apic_pin_2_ir_idx[apic][ioapic_pin]; in ioapic_rte_to_remap_entry()
418 unsigned int apic, unsigned int reg) in io_apic_read_remap_rte() argument
428 return __io_apic_read(apic, reg); in io_apic_read_remap_rte()
430 old_rte = __ioapic_read_entry(apic, ioapic_pin, 1); in io_apic_read_remap_rte()
433 return __io_apic_read(apic, reg); in io_apic_read_remap_rte()
458 __io_apic_write(apic, reg & ~1, *(u32 *)&old_rte); in io_apic_write_remap_rte()
[all …]
A Dutils.c264 int apic; in vtd_dump_iommu_info() local
268 for ( apic = 0; apic < nr_ioapics; apic++ ) in vtd_dump_iommu_info()
270 iommu = ioapic_to_iommu(mp_ioapics[apic].mpc_apicid); in vtd_dump_iommu_info()
275 printk( "\nRedirection table of IOAPIC %x:\n", apic); in vtd_dump_iommu_info()
278 reg_01.raw = __io_apic_read(apic, 1); in vtd_dump_iommu_info()
284 __ioapic_read_entry(apic, i, TRUE); in vtd_dump_iommu_info()
A Dextern.h83 unsigned int io_apic_read_remap_rte(unsigned int apic, unsigned int reg);
84 void io_apic_write_remap_rte(unsigned int apic,
A Diommu.c2163 int apic; in init_vtd_hw() local
2164 for ( apic = 0; apic < nr_ioapics; apic++ ) in init_vtd_hw()
2166 if ( ioapic_to_iommu(IO_APIC_ID(apic)) == NULL ) in init_vtd_hw()
2172 apic, IO_APIC_ID(apic)); in init_vtd_hw()
/xen/xen/drivers/passthrough/amd/
A Diommu_intr.c368 __io_apic_write(apic, reg, value); in amd_iommu_ioapic_update_ire()
372 idx = ioapic_id_to_index(IO_APIC_ID(apic)); in amd_iommu_ioapic_update_ire()
384 __io_apic_write(apic, reg, value); in amd_iommu_ioapic_update_ire()
415 __io_apic_write(apic, reg, value); in amd_iommu_ioapic_update_ire()
440 IO_APIC_ID(apic), pin, rc); in amd_iommu_ioapic_update_ire()
461 unsigned int apic, unsigned int reg) in amd_iommu_read_ioapic_from_ire() argument
465 unsigned int val = __io_apic_read(apic, reg); in amd_iommu_read_ioapic_from_ire()
471 idx = ioapic_id_to_index(IO_APIC_ID(apic)); in amd_iommu_read_ioapic_from_ire()
780 unsigned int apic; in iov_supports_xt() local
788 for ( apic = 0; apic < nr_ioapics; apic++ ) in iov_supports_xt()
[all …]
A Diommu_acpi.c725 unsigned int apic, idx; in parse_ivhd_device_special() local
773 for ( apic = 0; apic < nr_ioapics; apic++ ) in parse_ivhd_device_special()
811 u16, nr_ioapic_entries[apic]); in parse_ivhd_device_special()
812 if ( nr_ioapic_entries[apic] && in parse_ivhd_device_special()
819 nr_ioapic_entries[apic] * in parse_ivhd_device_special()
824 if ( apic == nr_ioapics ) in parse_ivhd_device_special()
1030 unsigned int apic; in parse_ivrs_table() local
1066 for ( apic = 0; !error && iommu_intremap && apic < nr_ioapics; ++apic ) in parse_ivrs_table()
1070 if ( !nr_ioapic_entries[apic] ) in parse_ivrs_table()
1077 IO_APIC_ID(apic)); in parse_ivrs_table()
[all …]
A Diommu.h275 unsigned int apic, unsigned int reg, unsigned int value);
277 unsigned int apic, unsigned int reg);
/xen/xen/drivers/passthrough/x86/
A Diommu.c112 unsigned int apic, unsigned int reg, unsigned int value) in iommu_update_ire_from_apic() argument
114 iommu_vcall(&iommu_ops, update_ire_from_apic, apic, reg, value); in iommu_update_ire_from_apic()
117 unsigned int iommu_read_apic_from_ire(unsigned int apic, unsigned int reg) in iommu_read_apic_from_ire() argument
119 return iommu_call(&iommu_ops, read_apic_from_ire, apic, reg); in iommu_read_apic_from_ire()
/xen/xen/arch/x86/cpu/mcheck/
A Dmce_intel.c672 u32 l, apic; in intel_init_cmci() local
682 apic = apic_read(APIC_CMCI); in intel_init_cmci()
683 if ( apic & APIC_VECTOR_MASK ) in intel_init_cmci()
686 cpu, ( apic & APIC_VECTOR_MASK )); in intel_init_cmci()
692 apic = cmci_apic_vector; in intel_init_cmci()
693 apic |= (APIC_DM_FIXED | APIC_LVT_MASKED); in intel_init_cmci()
694 apic_write(APIC_CMCI, apic); in intel_init_cmci()
/xen/xen/include/asm-x86/mach-generic/
A Dmach_apic.h41 static inline int multi_timer_check(int apic, int irq) in multi_timer_check() argument
/xen/xen/include/xen/
A Diommu.h272 void (*update_ire_from_apic)(unsigned int apic, unsigned int reg, unsigned int value);
273 unsigned int (*read_apic_from_ire)(unsigned int apic, unsigned int reg);
/xen/xen/xsm/
A Ddummy.c141 set_to_dummy_if_null(ops, apic); in xsm_fixup_ops()
/xen/tools/libxl/
A Dlibxl_x86_acpi.c112 hvminfo->apic_mode = libxl_defbool_val(b_info->apic); in init_acpi_config()
A Dlibxl_types.idl558 ("apic", libxl_defbool),
565 … ("apic", libxl_defbool, {'deprecated_by': 'apic'}),
A Dlibxl_dom.c750 va_hvm->apic_mode = libxl_defbool_val(info->apic); in hvm_build_set_params()
/xen/xen/include/xsm/
A Dxsm.h164 int (*apic) (struct domain *d, int cmd); member
636 return xsm_ops->apic(d, cmd); in xsm_apic()
/xen/tools/xl/
A Dxl_sxp.c94 libxl_defbool_to_string(b_info->apic)); in printf_info_sexp()
/xen/tools/golang/xenlight/
A Dhelpers.gen.go1086 if err := x.Apic.fromC(&xc.apic);err != nil {
1134 if err := x.Apic.fromC(&tmp.apic);err != nil {
1419 if err := x.Apic.toC(&xc.apic); err != nil {
1440 if err := tmp.Apic.toC(&hvm.apic); err != nil {
/xen/xen/xsm/flask/
A Dhooks.c1865 .apic = flask_apic,

Completed in 50 milliseconds

12