/arch/ia64/kernel/ |
D | irq_ia64.c | 79 .vector = IRQ_VECTOR_UNASSIGNED, 117 int pos, vector; in find_unassigned_vector() local 124 vector = IA64_FIRST_DEVICE_VECTOR + pos; in find_unassigned_vector() 125 cpus_and(mask, domain, vector_table[vector]); in find_unassigned_vector() 128 return vector; in find_unassigned_vector() 133 static int __bind_irq_vector(int irq, int vector, cpumask_t domain) in __bind_irq_vector() argument 140 BUG_ON((unsigned)vector >= IA64_NUM_VECTORS); in __bind_irq_vector() 145 if ((cfg->vector == vector) && cpus_equal(cfg->domain, domain)) in __bind_irq_vector() 147 if (cfg->vector != IRQ_VECTOR_UNASSIGNED) in __bind_irq_vector() 150 per_cpu(vector_irq, cpu)[vector] = irq; in __bind_irq_vector() [all …]
|
/arch/x86/include/asm/mach-default/ |
D | mach_ipi.h | 7 void send_IPI_mask_bitmask(const struct cpumask *mask, int vector); 8 void send_IPI_mask_allbutself(const struct cpumask *mask, int vector); 9 void __send_IPI_shortcut(unsigned int shortcut, int vector); 18 static inline void send_IPI_mask(const struct cpumask *mask, int vector) in send_IPI_mask() argument 20 send_IPI_mask_bitmask(mask, vector); in send_IPI_mask() 22 void send_IPI_mask_allbutself(const struct cpumask *mask, int vector); 25 static inline void __local_send_IPI_allbutself(int vector) in __local_send_IPI_allbutself() argument 27 if (no_broadcast || vector == NMI_VECTOR) in __local_send_IPI_allbutself() 28 send_IPI_mask_allbutself(cpu_online_mask, vector); in __local_send_IPI_allbutself() 30 __send_IPI_shortcut(APIC_DEST_ALLBUT, vector); in __local_send_IPI_allbutself() [all …]
|
/arch/x86/kernel/ |
D | ipi.c | 31 static inline int __prepare_ICR(unsigned int shortcut, int vector) in __prepare_ICR() argument 35 switch (vector) { in __prepare_ICR() 37 icr |= APIC_DM_FIXED | vector; in __prepare_ICR() 51 void __send_IPI_shortcut(unsigned int shortcut, int vector) in __send_IPI_shortcut() argument 70 cfg = __prepare_ICR(shortcut, vector); in __send_IPI_shortcut() 78 void send_IPI_self(int vector) in send_IPI_self() argument 80 __send_IPI_shortcut(APIC_DEST_SELF, vector); in send_IPI_self() 87 static inline void __send_IPI_dest_field(unsigned long mask, int vector) in __send_IPI_dest_field() argument 94 if (unlikely(vector == NMI_VECTOR)) in __send_IPI_dest_field() 108 cfg = __prepare_ICR(0, vector); in __send_IPI_dest_field() [all …]
|
D | genapic_flat_64.c | 72 static inline void _flat_send_IPI_mask(unsigned long mask, int vector) in _flat_send_IPI_mask() argument 77 __send_IPI_dest_field(mask, vector, APIC_DEST_LOGICAL); in _flat_send_IPI_mask() 81 static void flat_send_IPI_mask(const struct cpumask *cpumask, int vector) in flat_send_IPI_mask() argument 85 _flat_send_IPI_mask(mask, vector); in flat_send_IPI_mask() 89 int vector) in flat_send_IPI_mask_allbutself() argument 96 _flat_send_IPI_mask(mask, vector); in flat_send_IPI_mask_allbutself() 99 static void flat_send_IPI_allbutself(int vector) in flat_send_IPI_allbutself() argument 107 if (hotplug || vector == NMI_VECTOR) { in flat_send_IPI_allbutself() 114 _flat_send_IPI_mask(mask, vector); in flat_send_IPI_allbutself() 117 __send_IPI_shortcut(APIC_DEST_ALLBUT, vector,APIC_DEST_LOGICAL); in flat_send_IPI_allbutself() [all …]
|
D | genx2apic_cluster.c | 39 static void __x2apic_send_IPI_dest(unsigned int apicid, int vector, in __x2apic_send_IPI_dest() argument 44 cfg = __prepare_ICR(0, vector, dest); in __x2apic_send_IPI_dest() 58 static void x2apic_send_IPI_mask(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask() argument 67 vector, APIC_DEST_LOGICAL); in x2apic_send_IPI_mask() 72 int vector) in x2apic_send_IPI_mask_allbutself() argument 83 vector, APIC_DEST_LOGICAL); in x2apic_send_IPI_mask_allbutself() 87 static void x2apic_send_IPI_allbutself(int vector) in x2apic_send_IPI_allbutself() argument 98 vector, APIC_DEST_LOGICAL); in x2apic_send_IPI_allbutself() 102 static void x2apic_send_IPI_all(int vector) in x2apic_send_IPI_all() argument 104 x2apic_send_IPI_mask(cpu_online_mask, vector); in x2apic_send_IPI_all() [all …]
|
D | genx2apic_phys.c | 43 static void __x2apic_send_IPI_dest(unsigned int apicid, int vector, in __x2apic_send_IPI_dest() argument 48 cfg = __prepare_ICR(0, vector, dest); in __x2apic_send_IPI_dest() 56 static void x2apic_send_IPI_mask(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask() argument 64 vector, APIC_DEST_PHYSICAL); in x2apic_send_IPI_mask() 70 int vector) in x2apic_send_IPI_mask_allbutself() argument 81 vector, APIC_DEST_PHYSICAL); in x2apic_send_IPI_mask_allbutself() 86 static void x2apic_send_IPI_allbutself(int vector) in x2apic_send_IPI_allbutself() argument 97 vector, APIC_DEST_PHYSICAL); in x2apic_send_IPI_allbutself() 101 static void x2apic_send_IPI_all(int vector) in x2apic_send_IPI_all() argument 103 x2apic_send_IPI_mask(cpu_online_mask, vector); in x2apic_send_IPI_all() [all …]
|
D | io_apic.c | 141 u8 vector; member 154 [0] = { .vector = IRQ0_VECTOR, }, 155 [1] = { .vector = IRQ1_VECTOR, }, 156 [2] = { .vector = IRQ2_VECTOR, }, 157 [3] = { .vector = IRQ3_VECTOR, }, 158 [4] = { .vector = IRQ4_VECTOR, }, 159 [5] = { .vector = IRQ5_VECTOR, }, 160 [6] = { .vector = IRQ6_VECTOR, }, 161 [7] = { .vector = IRQ7_VECTOR, }, 162 [8] = { .vector = IRQ8_VECTOR, }, [all …]
|
/arch/x86/include/asm/bigsmp/ |
D | ipi.h | 4 void send_IPI_mask_sequence(const struct cpumask *mask, int vector); 5 void send_IPI_mask_allbutself(const struct cpumask *mask, int vector); 7 static inline void send_IPI_mask(const struct cpumask *mask, int vector) in send_IPI_mask() argument 9 send_IPI_mask_sequence(mask, vector); in send_IPI_mask() 12 static inline void send_IPI_allbutself(int vector) in send_IPI_allbutself() argument 14 send_IPI_mask_allbutself(cpu_online_mask, vector); in send_IPI_allbutself() 17 static inline void send_IPI_all(int vector) in send_IPI_all() argument 19 send_IPI_mask(cpu_online_mask, vector); in send_IPI_all()
|
/arch/x86/include/asm/es7000/ |
D | ipi.h | 4 void send_IPI_mask_sequence(const struct cpumask *mask, int vector); 5 void send_IPI_mask_allbutself(const struct cpumask *mask, int vector); 7 static inline void send_IPI_mask(const struct cpumask *mask, int vector) in send_IPI_mask() argument 9 send_IPI_mask_sequence(mask, vector); in send_IPI_mask() 12 static inline void send_IPI_allbutself(int vector) in send_IPI_allbutself() argument 14 send_IPI_mask_allbutself(cpu_online_mask, vector); in send_IPI_allbutself() 17 static inline void send_IPI_all(int vector) in send_IPI_all() argument 19 send_IPI_mask(cpu_online_mask, vector); in send_IPI_all()
|
/arch/x86/include/asm/numaq/ |
D | ipi.h | 4 void send_IPI_mask_sequence(const struct cpumask *mask, int vector); 5 void send_IPI_mask_allbutself(const struct cpumask *mask, int vector); 7 static inline void send_IPI_mask(const struct cpumask *mask, int vector) in send_IPI_mask() argument 9 send_IPI_mask_sequence(mask, vector); in send_IPI_mask() 12 static inline void send_IPI_allbutself(int vector) in send_IPI_allbutself() argument 14 send_IPI_mask_allbutself(cpu_online_mask, vector); in send_IPI_allbutself() 17 static inline void send_IPI_all(int vector) in send_IPI_all() argument 19 send_IPI_mask(cpu_online_mask, vector); in send_IPI_all()
|
/arch/x86/include/asm/ |
D | ipi.h | 31 static inline unsigned int __prepare_ICR(unsigned int shortcut, int vector, in __prepare_ICR() argument 36 switch (vector) { in __prepare_ICR() 38 icr |= APIC_DM_FIXED | vector; in __prepare_ICR() 58 static inline void __send_IPI_shortcut(unsigned int shortcut, int vector, in __send_IPI_shortcut() argument 78 cfg = __prepare_ICR(shortcut, vector, dest); in __send_IPI_shortcut() 90 static inline void __send_IPI_dest_field(unsigned int mask, int vector, in __send_IPI_dest_field() argument 98 if (unlikely(vector == NMI_VECTOR)) in __send_IPI_dest_field() 112 cfg = __prepare_ICR(0, vector, dest); in __send_IPI_dest_field() 121 int vector) in send_IPI_mask_sequence() argument 134 vector, APIC_DEST_PHYSICAL); in send_IPI_mask_sequence() [all …]
|
D | genapic_64.h | 27 void (*send_IPI_mask)(const struct cpumask *mask, int vector); 29 int vector); 30 void (*send_IPI_allbutself)(int vector); 31 void (*send_IPI_all)(int vector); 32 void (*send_IPI_self)(int vector); 53 extern void apic_send_IPI_self(int vector);
|
/arch/x86/include/asm/summit/ |
D | ipi.h | 4 void send_IPI_mask_sequence(const cpumask_t *mask, int vector); 5 void send_IPI_mask_allbutself(const cpumask_t *mask, int vector); 7 static inline void send_IPI_mask(const cpumask_t *mask, int vector) in send_IPI_mask() argument 9 send_IPI_mask_sequence(mask, vector); in send_IPI_mask() 12 static inline void send_IPI_allbutself(int vector) in send_IPI_allbutself() argument 18 send_IPI_mask(&mask, vector); in send_IPI_allbutself() 21 static inline void send_IPI_all(int vector) in send_IPI_all() argument 23 send_IPI_mask(&cpu_online_map, vector); in send_IPI_all()
|
/arch/mn10300/kernel/ |
D | traps.c | 511 u8 *vector = (u8 *)(CONFIG_INTERRUPT_VECTOR_BASE + code); in __set_intr_stub() local 513 addr = (unsigned long) handler - (unsigned long) vector; in __set_intr_stub() 514 vector[0] = 0xdc; /* JMP handler */ in __set_intr_stub() 515 vector[1] = addr; in __set_intr_stub() 516 vector[2] = addr >> 8; in __set_intr_stub() 517 vector[3] = addr >> 16; in __set_intr_stub() 518 vector[4] = addr >> 24; in __set_intr_stub() 519 vector[5] = 0xcb; in __set_intr_stub() 520 vector[6] = 0xcb; in __set_intr_stub() 521 vector[7] = 0xcb; in __set_intr_stub() [all …]
|
/arch/sh/kernel/cpu/sh2a/ |
D | ex.S | 64 vector = 0 define 66 .long exception_entry0 + vector * 6 67 vector = vector + 1 define 70 .long exception_entry1 + vector * 6 71 vector = vector + 1 define
|
/arch/ia64/include/asm/ |
D | hw_irq.h | 98 ia64_vector vector; member 122 extern int bind_irq_vector(int irq, int vector, cpumask_t domain); 124 extern void ia64_native_free_irq_vector (int vector); 125 extern int reserve_irq_vector (int vector); 127 extern void ia64_send_ipi (int cpu, int vector, int delivery_mode, int redirect); 140 static inline void ia64_native_resend_irq(unsigned int vector) in ia64_native_resend_irq() argument 142 platform_send_ipi(smp_processor_id(), vector, IA64_IPI_DM_INT, 0); in ia64_native_resend_irq() 154 return irq_cfg[irq].vector; in __ia64_irq_to_vector()
|
D | paravirt.h | 161 void (*free_irq_vector)(int vector); 166 void (*resend_irq)(unsigned int vector); 184 free_irq_vector(int vector) in free_irq_vector() argument 186 return pv_irq_ops.free_irq_vector(vector); in free_irq_vector() 196 ia64_resend_irq(unsigned int vector) in ia64_resend_irq() argument 198 pv_irq_ops.resend_irq(vector); in ia64_resend_irq()
|
/arch/powerpc/platforms/86xx/ |
D | mpc86xx_smp.c | 60 unsigned int *vector = (unsigned int *)(KERNELBASE + 0x100); in smp_86xx_kick_cpu() local 70 save_vector = *vector; in smp_86xx_kick_cpu() 74 patch_branch(vector, target, BRANCH_SET_LINK); in smp_86xx_kick_cpu() 84 *vector = save_vector; in smp_86xx_kick_cpu() 85 flush_icache_range((unsigned long) vector, (unsigned long) vector + 4); in smp_86xx_kick_cpu()
|
/arch/x86/kvm/ |
D | irq.c | 68 int vector; in kvm_cpu_get_interrupt() local 70 vector = kvm_get_apic_interrupt(v); /* APIC */ in kvm_cpu_get_interrupt() 71 if (vector == -1) { in kvm_cpu_get_interrupt() 75 vector = kvm_pic_read_irq(v->kvm); in kvm_cpu_get_interrupt() 78 return vector; in kvm_cpu_get_interrupt()
|
/arch/sh/kernel/cpu/sh2/ |
D | ex.S | 43 vector = 0 define 45 .long exception_entry + vector * 6 46 vector = vector + 1 define
|
/arch/alpha/kernel/ |
D | sys_jensen.c | 132 jensen_device_interrupt(unsigned long vector) in jensen_device_interrupt() argument 136 switch (vector) { in jensen_device_interrupt() 149 if (vector > 0x900) { in jensen_device_interrupt() 150 printk("Unknown local interrupt %lx\n", vector); in jensen_device_interrupt() 154 irq = (vector - 0x800) >> 4; in jensen_device_interrupt() 163 if (vector >= 0x900) in jensen_device_interrupt() 247 jensen_machine_check (u64 vector, u64 la) in jensen_machine_check() argument
|
D | sys_nautilus.c | 122 naut_sys_machine_check(unsigned long vector, unsigned long la_ptr, in naut_sys_machine_check() argument 133 nautilus_machine_check(unsigned long vector, unsigned long la_ptr) in nautilus_machine_check() argument 141 if (vector == SCB_Q_SYSMCHK in nautilus_machine_check() 168 if (vector == SCB_Q_SYSERR) in nautilus_machine_check() 170 else if (vector == SCB_Q_SYSMCHK) in nautilus_machine_check() 173 ev6_machine_check(vector, la_ptr); in nautilus_machine_check() 179 vector, mchk_class); in nautilus_machine_check() 181 naut_sys_machine_check(vector, la_ptr, get_irq_regs()); in nautilus_machine_check()
|
D | irq_alpha.c | 28 dummy_perf(unsigned long vector, struct pt_regs *regs) in dummy_perf() argument 42 do_entInt(unsigned long type, unsigned long vector, in do_entInt() argument 79 alpha_mv.machine_check(vector, la_ptr); in do_entInt() 84 alpha_mv.device_interrupt(vector); in do_entInt() 92 type, vector); in do_entInt() 132 process_mcheck_info(unsigned long vector, unsigned long la_ptr, in process_mcheck_info() argument 160 machine, vector, get_irq_regs()->pc, mchk_header->code); in process_mcheck_info()
|
/arch/ia64/xen/ |
D | irq_xen.c | 47 return irq_op.vector; in xen_assign_irq_vector() 51 xen_free_irq_vector(int vector) in xen_free_irq_vector() argument 55 if (vector < IA64_FIRST_DEVICE_VECTOR || in xen_free_irq_vector() 56 vector > IA64_LAST_DEVICE_VECTOR) in xen_free_irq_vector() 59 irq_op.vector = vector; in xen_free_irq_vector() 62 __func__, vector); in xen_free_irq_vector() 361 xen_platform_send_ipi(int cpu, int vector, int delivery_mode, int redirect) in xen_platform_send_ipi() argument 365 if (unlikely(vector == ap_wakeup_vector)) { in xen_platform_send_ipi() 373 xen_send_ipi(cpu, vector); in xen_platform_send_ipi() 379 switch (vector) { in xen_platform_send_ipi() [all …]
|
/arch/m68k/hp300/ |
D | time.c | 42 irq_handler_t vector = dev_id; in hp300_tick() local 47 return vector(irq, NULL); in hp300_tick() 66 void __init hp300_sched_init(irq_handler_t vector) in hp300_sched_init() argument 73 if (request_irq(IRQ_AUTO_6, hp300_tick, IRQ_FLG_STD, "timer tick", vector)) in hp300_sched_init()
|