Home
last modified time | relevance | path

Searched refs:vector (Results 1 – 25 of 206) sorted by relevance

123456789

/arch/x86/include/asm/
Dipi.h33 static inline unsigned int __prepare_ICR(unsigned int shortcut, int vector, in __prepare_ICR() argument
38 switch (vector) { in __prepare_ICR()
40 icr |= APIC_DM_FIXED | vector; in __prepare_ICR()
60 void __default_send_IPI_shortcut(unsigned int shortcut, int vector, unsigned int dest);
66 void __default_send_IPI_dest_field(unsigned int mask, int vector, unsigned int dest);
68 extern void default_send_IPI_single(int cpu, int vector);
69 extern void default_send_IPI_single_phys(int cpu, int vector);
71 int vector);
73 int vector);
80 static inline void __default_local_send_IPI_allbutself(int vector) in __default_local_send_IPI_allbutself() argument
[all …]
Dx2apic.h24 __x2apic_send_IPI_dest(unsigned int apicid, int vector, unsigned int dest) in __x2apic_send_IPI_dest() argument
26 unsigned long cfg = __prepare_ICR(0, vector, dest); in __x2apic_send_IPI_dest()
45 static void x2apic_send_IPI_self(int vector) in x2apic_send_IPI_self() argument
47 apic_write(APIC_SELF_IPI, vector); in x2apic_send_IPI_self()
/arch/ia64/kernel/
Dirq_ia64.c80 .vector = IRQ_VECTOR_UNASSIGNED,
110 int pos, vector; in find_unassigned_vector() local
117 vector = IA64_FIRST_DEVICE_VECTOR + pos; in find_unassigned_vector()
118 cpumask_and(&mask, &domain, &vector_table[vector]); in find_unassigned_vector()
121 return vector; in find_unassigned_vector()
126 static int __bind_irq_vector(int irq, int vector, cpumask_t domain) in __bind_irq_vector() argument
133 BUG_ON((unsigned)vector >= IA64_NUM_VECTORS); in __bind_irq_vector()
138 if ((cfg->vector == vector) && cpumask_equal(&cfg->domain, &domain)) in __bind_irq_vector()
140 if (cfg->vector != IRQ_VECTOR_UNASSIGNED) in __bind_irq_vector()
143 per_cpu(vector_irq, cpu)[vector] = irq; in __bind_irq_vector()
[all …]
Dmsi_ia64.c50 int irq, vector; in ia64_setup_msi_irq() local
59 vector = irq_to_vector(irq); in ia64_setup_msi_irq()
72 MSI_DATA_VECTOR(vector); in ia64_setup_msi_irq()
94 unsigned int vector = irq_to_vector(data->irq); in ia64_msi_retrigger_irq() local
95 ia64_resend_irq(vector); in ia64_msi_retrigger_irq()
147 msg.data |= MSI_DATA_VECTOR(cfg->vector); in dmar_msi_set_affinity()
189 MSI_DATA_VECTOR(cfg->vector); in msi_compose_msg()
/arch/x86/kernel/apic/
Dipi.c21 void __default_send_IPI_shortcut(unsigned int shortcut, int vector, unsigned int dest) in __default_send_IPI_shortcut() argument
40 cfg = __prepare_ICR(shortcut, vector, dest); in __default_send_IPI_shortcut()
52 void __default_send_IPI_dest_field(unsigned int mask, int vector, unsigned int dest) in __default_send_IPI_dest_field() argument
59 if (unlikely(vector == NMI_VECTOR)) in __default_send_IPI_dest_field()
73 cfg = __prepare_ICR(0, vector, dest); in __default_send_IPI_dest_field()
81 void default_send_IPI_single_phys(int cpu, int vector) in default_send_IPI_single_phys() argument
87 vector, APIC_DEST_PHYSICAL); in default_send_IPI_single_phys()
91 void default_send_IPI_mask_sequence_phys(const struct cpumask *mask, int vector) in default_send_IPI_mask_sequence_phys() argument
104 query_cpu), vector, APIC_DEST_PHYSICAL); in default_send_IPI_mask_sequence_phys()
110 int vector) in default_send_IPI_mask_allbutself_phys() argument
[all …]
Dx2apic_phys.c40 static void x2apic_send_IPI(int cpu, int vector) in x2apic_send_IPI() argument
45 __x2apic_send_IPI_dest(dest, vector, APIC_DEST_PHYSICAL); in x2apic_send_IPI()
49 __x2apic_send_IPI_mask(const struct cpumask *mask, int vector, int apic_dest) in __x2apic_send_IPI_mask() argument
64 vector, APIC_DEST_PHYSICAL); in __x2apic_send_IPI_mask()
69 static void x2apic_send_IPI_mask(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask() argument
71 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLINC); in x2apic_send_IPI_mask()
75 x2apic_send_IPI_mask_allbutself(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask_allbutself() argument
77 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLBUT); in x2apic_send_IPI_mask_allbutself()
80 static void x2apic_send_IPI_allbutself(int vector) in x2apic_send_IPI_allbutself() argument
82 __x2apic_send_IPI_mask(cpu_online_mask, vector, APIC_DEST_ALLBUT); in x2apic_send_IPI_allbutself()
[all …]
Dapic_flat_64.c56 static void _flat_send_IPI_mask(unsigned long mask, int vector) in _flat_send_IPI_mask() argument
61 __default_send_IPI_dest_field(mask, vector, apic->dest_logical); in _flat_send_IPI_mask()
65 static void flat_send_IPI_mask(const struct cpumask *cpumask, int vector) in flat_send_IPI_mask() argument
69 _flat_send_IPI_mask(mask, vector); in flat_send_IPI_mask()
73 flat_send_IPI_mask_allbutself(const struct cpumask *cpumask, int vector) in flat_send_IPI_mask_allbutself() argument
81 _flat_send_IPI_mask(mask, vector); in flat_send_IPI_mask_allbutself()
84 static void flat_send_IPI_allbutself(int vector) in flat_send_IPI_allbutself() argument
92 if (hotplug || vector == NMI_VECTOR) { in flat_send_IPI_allbutself()
99 _flat_send_IPI_mask(mask, vector); in flat_send_IPI_allbutself()
103 vector, apic->dest_logical); in flat_send_IPI_allbutself()
[all …]
Dvector.c123 int cpu, vector; in __assign_irq_vector() local
162 vector = d->cfg.vector; in __assign_irq_vector()
166 vector = current_vector; in __assign_irq_vector()
169 vector += 16; in __assign_irq_vector()
170 if (vector >= FIRST_SYSTEM_VECTOR) { in __assign_irq_vector()
172 vector = FIRST_EXTERNAL_VECTOR + offset; in __assign_irq_vector()
176 if (unlikely(current_vector == vector)) in __assign_irq_vector()
179 if (test_bit(vector, used_vectors)) in __assign_irq_vector()
183 if (!IS_ERR_OR_NULL(per_cpu(vector_irq, new_cpu)[vector])) in __assign_irq_vector()
187 current_vector = vector; in __assign_irq_vector()
[all …]
Dapic_numachip.c94 static void numachip_send_IPI_one(int cpu, int vector) in numachip_send_IPI_one() argument
107 __default_send_IPI_dest_field(apicid, vector, in numachip_send_IPI_one()
115 dmode = (vector == NMI_VECTOR) ? APIC_DM_NMI : APIC_DM_FIXED; in numachip_send_IPI_one()
116 numachip_apic_icr_write(apicid, dmode | vector); in numachip_send_IPI_one()
119 static void numachip_send_IPI_mask(const struct cpumask *mask, int vector) in numachip_send_IPI_mask() argument
124 numachip_send_IPI_one(cpu, vector); in numachip_send_IPI_mask()
128 int vector) in numachip_send_IPI_mask_allbutself() argument
135 numachip_send_IPI_one(cpu, vector); in numachip_send_IPI_mask_allbutself()
139 static void numachip_send_IPI_allbutself(int vector) in numachip_send_IPI_allbutself() argument
146 numachip_send_IPI_one(cpu, vector); in numachip_send_IPI_allbutself()
[all …]
Dx2apic_cluster.c28 static void x2apic_send_IPI(int cpu, int vector) in x2apic_send_IPI() argument
33 __x2apic_send_IPI_dest(dest, vector, APIC_DEST_LOGICAL); in x2apic_send_IPI()
37 __x2apic_send_IPI_mask(const struct cpumask *mask, int vector, int apic_dest) in __x2apic_send_IPI_mask() argument
76 __x2apic_send_IPI_dest(dest, vector, apic->dest_logical); in __x2apic_send_IPI_mask()
87 static void x2apic_send_IPI_mask(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask() argument
89 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLINC); in x2apic_send_IPI_mask()
93 x2apic_send_IPI_mask_allbutself(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask_allbutself() argument
95 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLBUT); in x2apic_send_IPI_mask_allbutself()
98 static void x2apic_send_IPI_allbutself(int vector) in x2apic_send_IPI_allbutself() argument
100 __x2apic_send_IPI_mask(cpu_online_mask, vector, APIC_DEST_ALLBUT); in x2apic_send_IPI_allbutself()
[all …]
Dapic_noop.c33 static void noop_send_IPI(int cpu, int vector) { } in noop_send_IPI() argument
34 static void noop_send_IPI_mask(const struct cpumask *cpumask, int vector) { } in noop_send_IPI_mask() argument
35 static void noop_send_IPI_mask_allbutself(const struct cpumask *cpumask, int vector) { } in noop_send_IPI_mask_allbutself() argument
36 static void noop_send_IPI_allbutself(int vector) { } in noop_send_IPI_allbutself() argument
37 static void noop_send_IPI_all(int vector) { } in noop_send_IPI_all() argument
38 static void noop_send_IPI_self(int vector) { } in noop_send_IPI_self() argument
/arch/x86/include/asm/trace/
Dirq_vectors.h18 TP_PROTO(int vector),
20 TP_ARGS(vector),
23 __field( int, vector )
27 __entry->vector = vector;
30 TP_printk("vector=%d", __entry->vector) );
34 TP_PROTO(int vector), \
35 TP_ARGS(vector), NULL, NULL); \
37 TP_PROTO(int vector), \
38 TP_ARGS(vector), NULL, NULL);
42 TP_PROTO(int vector), \
[all …]
/arch/sh/kernel/cpu/sh2a/
Dex.S64 vector = 0 define
66 .long exception_entry0 + vector * 6
67 vector = vector + 1 define
69 vector = 0 define
71 .long exception_entry1 + vector * 6
72 vector = vector + 1 define
/arch/x86/kernel/
Dirq.c221 unsigned vector = ~regs->orig_ax; in do_IRQ() local
228 desc = __this_cpu_read(vector_irq[vector]); in do_IRQ()
236 vector); in do_IRQ()
238 __this_cpu_write(vector_irq[vector], VECTOR_UNUSED); in do_IRQ()
340 unsigned int this_cpu, vector, this_count, count; in check_irq_vectors_for_cpu_disable() local
350 for (vector = FIRST_EXTERNAL_VECTOR; vector < NR_VECTORS; vector++) { in check_irq_vectors_for_cpu_disable()
351 desc = __this_cpu_read(vector_irq[vector]); in check_irq_vectors_for_cpu_disable()
406 for (vector = FIRST_EXTERNAL_VECTOR; in check_irq_vectors_for_cpu_disable()
407 vector < FIRST_SYSTEM_VECTOR; vector++) { in check_irq_vectors_for_cpu_disable()
408 if (!test_bit(vector, used_vectors) && in check_irq_vectors_for_cpu_disable()
[all …]
/arch/x86/xen/
Dsmp.h6 int vector);
8 int vector);
9 extern void xen_send_IPI_allbutself(int vector);
10 extern void xen_send_IPI_all(int vector);
11 extern void xen_send_IPI_self(int vector);
Dsmp.c155 int vector) in __xen_send_IPI_mask() argument
160 xen_send_IPI_one(cpu, vector); in __xen_send_IPI_mask()
184 static inline int xen_map_vector(int vector) in xen_map_vector() argument
188 switch (vector) { in xen_map_vector()
210 vector); in xen_map_vector()
217 int vector) in xen_send_IPI_mask() argument
219 int xen_vector = xen_map_vector(vector); in xen_send_IPI_mask()
225 void xen_send_IPI_all(int vector) in xen_send_IPI_all() argument
227 int xen_vector = xen_map_vector(vector); in xen_send_IPI_all()
233 void xen_send_IPI_self(int vector) in xen_send_IPI_self() argument
[all …]
/arch/ia64/include/asm/
Dhw_irq.h101 ia64_vector vector; member
121 extern int bind_irq_vector(int irq, int vector, cpumask_t domain);
123 extern void ia64_native_free_irq_vector (int vector);
124 extern int reserve_irq_vector (int vector);
126 extern void ia64_send_ipi (int cpu, int vector, int delivery_mode, int redirect);
138 static inline void ia64_native_resend_irq(unsigned int vector) in ia64_native_resend_irq() argument
140 platform_send_ipi(smp_processor_id(), vector, IA64_IPI_DM_INT, 0); in ia64_native_resend_irq()
149 return irq_cfg[irq].vector; in __ia64_irq_to_vector()
/arch/powerpc/platforms/86xx/
Dmpc86xx_smp.c65 unsigned int *vector = (unsigned int *)(KERNELBASE + 0x100); in smp_86xx_kick_cpu() local
75 save_vector = *vector; in smp_86xx_kick_cpu()
79 patch_branch(vector, target, BRANCH_SET_LINK); in smp_86xx_kick_cpu()
89 *vector = save_vector; in smp_86xx_kick_cpu()
90 flush_icache_range((unsigned long) vector, (unsigned long) vector + 4); in smp_86xx_kick_cpu()
/arch/x86/kvm/
Dirq.c112 int vector = v->arch.pending_external_vector; in kvm_cpu_get_extint() local
115 return vector; in kvm_cpu_get_extint()
127 int vector; in kvm_cpu_get_interrupt() local
132 vector = kvm_cpu_get_extint(v); in kvm_cpu_get_interrupt()
134 if (vector != -1) in kvm_cpu_get_interrupt()
135 return vector; /* PIC */ in kvm_cpu_get_interrupt()
/arch/alpha/kernel/
Dproto.h24 extern void apecs_machine_check(unsigned long vector, unsigned long la_ptr);
33 extern void cia_machine_check(unsigned long vector, unsigned long la_ptr);
45 extern void lca_machine_check(unsigned long vector, unsigned long la_ptr);
67 extern void mcpcia_machine_check(unsigned long vector, unsigned long la_ptr);
75 extern void polaris_machine_check(unsigned long vector, unsigned long la_ptr);
82 extern void t2_machine_check(unsigned long vector, unsigned long la_ptr);
97 extern void tsunami_machine_check(unsigned long vector, unsigned long la_ptr);
104 extern void wildfire_machine_check(unsigned long vector, unsigned long la_ptr);
222 extern void process_mcheck_info(unsigned long vector, unsigned long la_ptr,
Dsys_jensen.c97 jensen_device_interrupt(unsigned long vector) in jensen_device_interrupt() argument
101 switch (vector) { in jensen_device_interrupt()
114 if (vector > 0x900) { in jensen_device_interrupt()
115 printk("Unknown local interrupt %lx\n", vector); in jensen_device_interrupt()
119 irq = (vector - 0x800) >> 4; in jensen_device_interrupt()
128 if (vector >= 0x900) in jensen_device_interrupt()
212 jensen_machine_check(unsigned long vector, unsigned long la) in jensen_machine_check() argument
Dirq_alpha.c31 dummy_perf(unsigned long vector, struct pt_regs *regs) in dummy_perf() argument
45 do_entInt(unsigned long type, unsigned long vector, in do_entInt() argument
75 alpha_mv.machine_check(vector, la_ptr); in do_entInt()
80 alpha_mv.device_interrupt(vector); in do_entInt()
88 type, vector); in do_entInt()
128 process_mcheck_info(unsigned long vector, unsigned long la_ptr, in process_mcheck_info() argument
156 machine, vector, get_irq_regs()->pc, mchk_header->code); in process_mcheck_info()
Dsys_nautilus.c121 naut_sys_machine_check(unsigned long vector, unsigned long la_ptr, in naut_sys_machine_check() argument
132 nautilus_machine_check(unsigned long vector, unsigned long la_ptr) in nautilus_machine_check() argument
140 if (vector == SCB_Q_SYSMCHK in nautilus_machine_check()
167 if (vector == SCB_Q_SYSERR) in nautilus_machine_check()
169 else if (vector == SCB_Q_SYSMCHK) in nautilus_machine_check()
172 ev6_machine_check(vector, la_ptr); in nautilus_machine_check()
178 vector, mchk_class); in nautilus_machine_check()
180 naut_sys_machine_check(vector, la_ptr, get_irq_regs()); in nautilus_machine_check()
/arch/sh/kernel/cpu/sh2/
Dex.S43 vector = 0 define
45 .long exception_entry + vector * 6
46 vector = vector + 1 define
/arch/mn10300/kernel/
Dtraps.c524 u8 *vector = (u8 *)(CONFIG_INTERRUPT_VECTOR_BASE + code); in __set_intr_stub() local
526 addr = (unsigned long) handler - (unsigned long) vector; in __set_intr_stub()
527 vector[0] = 0xdc; /* JMP handler */ in __set_intr_stub()
528 vector[1] = addr; in __set_intr_stub()
529 vector[2] = addr >> 8; in __set_intr_stub()
530 vector[3] = addr >> 16; in __set_intr_stub()
531 vector[4] = addr >> 24; in __set_intr_stub()
532 vector[5] = 0xcb; in __set_intr_stub()
533 vector[6] = 0xcb; in __set_intr_stub()
534 vector[7] = 0xcb; in __set_intr_stub()
[all …]

123456789