Searched refs:IOAPIC_NUM_PINS (Results 1 – 16 of 16) sorted by relevance
/openbmc/qemu/hw/intc/ |
H A D | ioapic_internal.h | 105 uint64_t ioredtbl[IOAPIC_NUM_PINS]; 108 uint64_t irq_count[IOAPIC_NUM_PINS]; 109 int irq_level[IOAPIC_NUM_PINS]; 110 int irq_eoi[IOAPIC_NUM_PINS];
|
H A D | ioapic_common.c | 56 *nb_irqs = IOAPIC_NUM_PINS; in ioapic_get_statistics() 70 for (i = 0; i < IOAPIC_NUM_PINS; i++) { in ioapic_irr_dump() 93 for (i = 0; i < IOAPIC_NUM_PINS; i++) { in ioapic_print_redtbl() 127 for (i = 0; i < IOAPIC_NUM_PINS; i++) { in ioapic_reset_common() 195 VMSTATE_UINT64_ARRAY(ioredtbl, IOAPICCommonState, IOAPIC_NUM_PINS),
|
H A D | ioapic.c | 99 for (i = 0; i < IOAPIC_NUM_PINS; i++) { in ioapic_service() 166 if (vector < IOAPIC_NUM_PINS) { in ioapic_set_irq() 198 for (i = 0; i < IOAPIC_NUM_PINS; i++) { in ioapic_update_kvm_routes() 236 for (n = 0; n < IOAPIC_NUM_PINS; n++) { in ioapic_eoi_broadcast() 319 ((IOAPIC_NUM_PINS - 1) << IOAPIC_VER_ENTRIES_SHIFT); in ioapic_mem_read() 323 if (index >= 0 && index < IOAPIC_NUM_PINS) { in ioapic_mem_read() 394 if (index >= 0 && index < IOAPIC_NUM_PINS) { in ioapic_mem_write() 465 qdev_init_gpio_in(dev, ioapic_set_irq, IOAPIC_NUM_PINS); in ioapic_realize()
|
/openbmc/linux/arch/x86/kvm/ |
H A D | ioapic.h | 12 #define IOAPIC_NUM_PINS KVM_IOAPIC_NUM_PINS macro 80 union kvm_ioapic_redirect_entry redirtbl[IOAPIC_NUM_PINS]; 81 unsigned long irq_states[IOAPIC_NUM_PINS]; 87 u32 irq_eoi[IOAPIC_NUM_PINS];
|
H A D | ioapic.c | 64 result = ((((IOAPIC_NUM_PINS - 1) & 0xff) << 16) in ioapic_read_indirect() 78 if (redir_index < IOAPIC_NUM_PINS) { in ioapic_read_indirect() 80 redir_index, IOAPIC_NUM_PINS); in ioapic_read_indirect() 153 if (RTC_GSI >= IOAPIC_NUM_PINS) in kvm_rtc_eoi_tracking_restore_all() 271 for_each_set_bit(idx, &irr, IOAPIC_NUM_PINS) in kvm_ioapic_inject_all() 292 for (index = 0; index < IOAPIC_NUM_PINS; index++) { in kvm_ioapic_scan_entry() 339 if (index >= IOAPIC_NUM_PINS) in ioapic_write_indirect() 341 index = array_index_nospec(index, IOAPIC_NUM_PINS); in ioapic_write_indirect() 490 BUG_ON(irq < 0 || irq >= IOAPIC_NUM_PINS); in kvm_ioapic_set_irq() 518 for (i = 0; i < IOAPIC_NUM_PINS; i++) { in kvm_ioapic_eoi_inject_work() [all …]
|
/openbmc/qemu/hw/i386/kvm/ |
H A D | ioapic.c | 74 for (i = 0; i < IOAPIC_NUM_PINS; i++) { in kvm_ioapic_get() 92 for (i = 0; i < IOAPIC_NUM_PINS; i++) { in kvm_ioapic_put() 133 qdev_init_gpio_in(dev, kvm_ioapic_set_irq, IOAPIC_NUM_PINS); in kvm_ioapic_realize()
|
H A D | xen_evtchn.c | 164 uint16_t gsi_pirq[IOAPIC_NUM_PINS]; 226 for (i = 0; i < IOAPIC_NUM_PINS; i++) { in xen_evtchn_post_load() 263 VMSTATE_UINT16_ARRAY(gsi_pirq, XenEvtchnState, IOAPIC_NUM_PINS), 1566 for (pirq = 16 ; pirq < IOAPIC_NUM_PINS; pirq++) { in allocate_pirq() 1575 for (pirq = s->nr_pirqs - 1; pirq >= IOAPIC_NUM_PINS; pirq--) { in allocate_pirq() 1592 assert(gsi < IOAPIC_NUM_PINS); in allocate_pirq() 1606 if (!s || gsi < 0 || gsi >= IOAPIC_NUM_PINS) { in xen_evtchn_set_gsi() 1836 if (gsi < 0 || gsi >= IOAPIC_NUM_PINS) { in xen_physdev_map_pirq()
|
/openbmc/qemu/include/hw/i386/ |
H A D | x86.h | 147 qemu_irq ioapic_irq[IOAPIC_NUM_PINS]; 148 qemu_irq ioapic2_irq[IOAPIC_NUM_PINS];
|
/openbmc/qemu/include/hw/intc/ |
H A D | ioapic.h | 23 #define IOAPIC_NUM_PINS 24 macro
|
/openbmc/qemu/include/hw/southbridge/ |
H A D | ich9.h | 70 qemu_irq gsi[IOAPIC_NUM_PINS];
|
/openbmc/qemu/hw/i386/ |
H A D | x86-common.c | 462 case ISA_NUM_IRQS ... IOAPIC_NUM_PINS - 1: in gsi_handler() 477 ... IO_APIC_SECONDARY_IRQBASE + IOAPIC_NUM_PINS - 1: in gsi_handler() 500 for (i = 0; i < IOAPIC_NUM_PINS; i++) { in ioapic_init_gsi() 516 for (i = 0; i < IOAPIC_NUM_PINS; i++) { in ioapic_init_secondary()
|
H A D | microvm.c | 172 IOAPIC_NUM_PINS * ioapics); in microvm_devices_init() 193 mms->virtio_num_transports = IOAPIC_NUM_PINS; in microvm_devices_init()
|
H A D | pc.c | 294 *irqs = qemu_allocate_irqs(gsi_handler, s, IOAPIC_NUM_PINS); in pc_gsi_create() 1184 for (i = 0; i < IOAPIC_NUM_PINS; i++) { in pc_basic_device_init() 1201 xen_evtchn_create(IOAPIC_NUM_PINS, gsi); in pc_basic_device_init()
|
H A D | pc_q35.c | 238 for (i = 0; i < IOAPIC_NUM_PINS; i++) { in pc_q35_init()
|
/openbmc/qemu/hw/isa/ |
H A D | lpc_ich9.c | 688 IOAPIC_NUM_PINS); in ich9_lpc_initfn()
|
/openbmc/qemu/target/i386/kvm/ |
H A D | kvm.c | 6160 for (i = 0; i < IOAPIC_NUM_PINS; i++) { in kvm_arch_init_irq_routing()
|