Searched refs:NR_VECTORS (Results 1 – 14 of 14) sorted by relevance
| /linux-6.15/arch/x86/include/asm/ |
| H A D | irq_vectors.h | 106 #define NR_VECTORS 256 macro 111 #define FIRST_SYSTEM_VECTOR NR_VECTORS 115 #define NR_SYSTEM_VECTORS (NR_VECTORS - FIRST_SYSTEM_VECTOR) 136 (NR_VECTORS + CPU_VECTOR_LIMIT) : \ 137 (NR_VECTORS + IO_APIC_VECTOR_LIMIT)) 139 #define NR_IRQS (NR_VECTORS + IO_APIC_VECTOR_LIMIT) 141 #define NR_IRQS (NR_VECTORS + CPU_VECTOR_LIMIT)
|
| H A D | posted_intr.h | 51 return bitmap_empty((unsigned long *)pi_desc->pir, NR_VECTORS); in pi_is_pir_empty() 105 if (WARN_ON_ONCE(vector > NR_VECTORS || vector < FIRST_EXTERNAL_VECTOR)) in pi_pending_this_cpu()
|
| H A D | hw_irq.h | 128 typedef struct irq_desc* vector_irq_t[NR_VECTORS];
|
| /linux-6.15/tools/perf/trace/beauty/arch/x86/include/asm/ |
| H A D | irq_vectors.h | 106 #define NR_VECTORS 256 macro 111 #define FIRST_SYSTEM_VECTOR NR_VECTORS 115 #define NR_SYSTEM_VECTORS (NR_VECTORS - FIRST_SYSTEM_VECTOR) 136 (NR_VECTORS + CPU_VECTOR_LIMIT) : \ 137 (NR_VECTORS + IO_APIC_VECTOR_LIMIT)) 139 #define NR_IRQS (NR_VECTORS + IO_APIC_VECTOR_LIMIT) 141 #define NR_IRQS (NR_VECTORS + CPU_VECTOR_LIMIT)
|
| /linux-6.15/arch/loongarch/include/asm/ |
| H A D | irq.h | 49 #define NR_VECTORS 256 macro 51 #define IRQ_MATRIX_BITS NR_VECTORS 57 #define NR_IRQS (64 + NR_VECTORS * (NR_CPUS + MAX_IO_PICS))
|
| /linux-6.15/arch/loongarch/kernel/ |
| H A D | irq.c | 95 irq_set_nr_irqs(64 + NR_VECTORS * nr_io_pics); in arch_probe_nr_irqs() 97 irq_set_nr_irqs(64 + NR_VECTORS * (nr_cpu_ids + nr_io_pics)); in arch_probe_nr_irqs()
|
| /linux-6.15/drivers/irqchip/ |
| H A D | irq-loongarch-avec.c | 38 static DEFINE_PER_CPU(struct irq_desc * [NR_VECTORS], irq_map); 338 loongarch_avec.vector_matrix = irq_alloc_matrix(NR_VECTORS, 0, NR_VECTORS); in irq_matrix_init()
|
| /linux-6.15/arch/x86/kernel/ |
| H A D | irqinit.c | 51 [0 ... NR_VECTORS - 1] = VECTOR_UNUSED,
|
| H A D | idt.c | 297 for_each_clear_bit_from(i, system_vectors, NR_VECTORS) { in idt_setup_apic_and_irq_gates() 327 for ( ; i < NR_VECTORS; i++) in idt_setup_early_handler()
|
| H A D | irq.c | 517 for (vector = FIRST_EXTERNAL_VECTOR; vector < NR_VECTORS; vector++) { in fixup_irqs()
|
| H A D | traps.c | 81 DECLARE_BITMAP(system_vectors, NR_VECTORS);
|
| /linux-6.15/arch/x86/kernel/apic/ |
| H A D | vector.c | 715 if (irq_get_nr_irqs() > NR_VECTORS * nr_cpu_ids) in arch_probe_nr_irqs() 716 irq_set_nr_irqs(NR_VECTORS * nr_cpu_ids); in arch_probe_nr_irqs() 772 for_each_set_bit(vector, system_vectors, NR_VECTORS) in lapic_assign_system_vectors() 810 vector_matrix = irq_alloc_matrix(NR_VECTORS, FIRST_EXTERNAL_VECTOR, in arch_early_irq_init() 851 for (vector = 0; vector < NR_VECTORS; vector++) in lapic_online()
|
| /linux-6.15/tools/testing/selftests/kvm/include/riscv/ |
| H A D | processor.h | 100 #define NR_VECTORS 2 macro
|
| /linux-6.15/tools/testing/selftests/kvm/lib/riscv/ |
| H A D | processor.c | 402 exception_handler_fn exception_handlers[NR_VECTORS][NR_EXCEPTIONS];
|