Home
last modified time | relevance | path

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

12345678

/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()
61 __default_send_IPI_shortcut(unsigned int shortcut, int vector, unsigned int dest) in __default_send_IPI_shortcut() argument
80 cfg = __prepare_ICR(shortcut, vector, dest); in __default_send_IPI_shortcut()
93 __default_send_IPI_dest_field(unsigned int mask, int vector, unsigned int dest) in __default_send_IPI_dest_field() argument
100 if (unlikely(vector == NMI_VECTOR)) in __default_send_IPI_dest_field()
114 cfg = __prepare_ICR(0, vector, dest); in __default_send_IPI_dest_field()
123 int vector);
125 int vector);
[all …]
Dx2apic.h23 __x2apic_send_IPI_dest(unsigned int apicid, int vector, unsigned int dest) in __x2apic_send_IPI_dest() argument
25 unsigned long cfg = __prepare_ICR(0, vector, dest); in __x2apic_send_IPI_dest()
44 static void x2apic_send_IPI_self(int vector) in x2apic_send_IPI_self() argument
46 apic_write(APIC_SELF_IPI, vector); in x2apic_send_IPI_self()
/arch/ia64/kernel/
Dirq_ia64.c79 .vector = IRQ_VECTOR_UNASSIGNED,
109 int pos, vector; in find_unassigned_vector() local
116 vector = IA64_FIRST_DEVICE_VECTOR + pos; in find_unassigned_vector()
117 cpus_and(mask, domain, vector_table[vector]); in find_unassigned_vector()
120 return vector; in find_unassigned_vector()
125 static int __bind_irq_vector(int irq, int vector, cpumask_t domain) in __bind_irq_vector() argument
132 BUG_ON((unsigned)vector >= IA64_NUM_VECTORS); in __bind_irq_vector()
137 if ((cfg->vector == vector) && cpus_equal(cfg->domain, domain)) in __bind_irq_vector()
139 if (cfg->vector != IRQ_VECTOR_UNASSIGNED) in __bind_irq_vector()
142 per_cpu(vector_irq, cpu)[vector] = irq; in __bind_irq_vector()
[all …]
/arch/x86/kernel/apic/
Dipi.c21 void default_send_IPI_mask_sequence_phys(const struct cpumask *mask, int vector) in default_send_IPI_mask_sequence_phys() argument
34 query_cpu), vector, APIC_DEST_PHYSICAL); in default_send_IPI_mask_sequence_phys()
40 int vector) in default_send_IPI_mask_allbutself_phys() argument
53 query_cpu), vector, APIC_DEST_PHYSICAL); in default_send_IPI_mask_allbutself_phys()
61 int vector) in default_send_IPI_mask_sequence_logical() argument
76 vector, apic->dest_logical); in default_send_IPI_mask_sequence_logical()
81 int vector) in default_send_IPI_mask_allbutself_logical() argument
95 vector, apic->dest_logical); in default_send_IPI_mask_allbutself_logical()
103 void default_send_IPI_mask_logical(const struct cpumask *cpumask, int vector) in default_send_IPI_mask_logical() argument
113 __default_send_IPI_dest_field(mask, vector, apic->dest_logical); in default_send_IPI_mask_logical()
[all …]
Dapic_flat_64.c56 static inline 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 …]
Dx2apic_phys.c38 __x2apic_send_IPI_mask(const struct cpumask *mask, int vector, int apic_dest) in __x2apic_send_IPI_mask() argument
53 vector, APIC_DEST_PHYSICAL); in __x2apic_send_IPI_mask()
58 static void x2apic_send_IPI_mask(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask() argument
60 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLINC); in x2apic_send_IPI_mask()
64 x2apic_send_IPI_mask_allbutself(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask_allbutself() argument
66 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLBUT); in x2apic_send_IPI_mask_allbutself()
69 static void x2apic_send_IPI_allbutself(int vector) in x2apic_send_IPI_allbutself() argument
71 __x2apic_send_IPI_mask(cpu_online_mask, vector, APIC_DEST_ALLBUT); in x2apic_send_IPI_allbutself()
74 static void x2apic_send_IPI_all(int vector) in x2apic_send_IPI_all() argument
76 __x2apic_send_IPI_mask(cpu_online_mask, vector, APIC_DEST_ALLINC); in x2apic_send_IPI_all()
Dapic_numachip.c97 static void numachip_send_IPI_one(int cpu, int vector) in numachip_send_IPI_one() argument
103 int_gen.s._vector = vector; in numachip_send_IPI_one()
104 int_gen.s._msgtype = (vector == NMI_VECTOR ? APIC_DM_NMI : APIC_DM_FIXED) >> 8; in numachip_send_IPI_one()
110 static void numachip_send_IPI_mask(const struct cpumask *mask, int vector) in numachip_send_IPI_mask() argument
115 numachip_send_IPI_one(cpu, vector); in numachip_send_IPI_mask()
119 int vector) in numachip_send_IPI_mask_allbutself() argument
126 numachip_send_IPI_one(cpu, vector); in numachip_send_IPI_mask_allbutself()
130 static void numachip_send_IPI_allbutself(int vector) in numachip_send_IPI_allbutself() argument
137 numachip_send_IPI_one(cpu, vector); in numachip_send_IPI_allbutself()
141 static void numachip_send_IPI_all(int vector) in numachip_send_IPI_all() argument
[all …]
Dx2apic_cluster.c27 __x2apic_send_IPI_mask(const struct cpumask *mask, int vector, int apic_dest) in __x2apic_send_IPI_mask() argument
66 __x2apic_send_IPI_dest(dest, vector, apic->dest_logical); in __x2apic_send_IPI_mask()
77 static void x2apic_send_IPI_mask(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask() argument
79 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLINC); in x2apic_send_IPI_mask()
83 x2apic_send_IPI_mask_allbutself(const struct cpumask *mask, int vector) in x2apic_send_IPI_mask_allbutself() argument
85 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLBUT); in x2apic_send_IPI_mask_allbutself()
88 static void x2apic_send_IPI_allbutself(int vector) in x2apic_send_IPI_allbutself() argument
90 __x2apic_send_IPI_mask(cpu_online_mask, vector, APIC_DEST_ALLBUT); in x2apic_send_IPI_allbutself()
93 static void x2apic_send_IPI_all(int vector) in x2apic_send_IPI_all() argument
95 __x2apic_send_IPI_mask(cpu_online_mask, vector, APIC_DEST_ALLINC); in x2apic_send_IPI_all()
Dapic_noop.c33 static void noop_send_IPI_mask(const struct cpumask *cpumask, int vector) { } in noop_send_IPI_mask() argument
34 static void noop_send_IPI_mask_allbutself(const struct cpumask *cpumask, int vector) { } in noop_send_IPI_mask_allbutself() argument
35 static void noop_send_IPI_allbutself(int vector) { } in noop_send_IPI_allbutself() argument
36 static void noop_send_IPI_all(int vector) { } in noop_send_IPI_all() argument
37 static void noop_send_IPI_self(int vector) { } in noop_send_IPI_self() argument
Dbigsmp_32.c99 static inline void bigsmp_send_IPI_mask(const struct cpumask *mask, int vector) in bigsmp_send_IPI_mask() argument
101 default_send_IPI_mask_sequence_phys(mask, vector); in bigsmp_send_IPI_mask()
104 static void bigsmp_send_IPI_allbutself(int vector) in bigsmp_send_IPI_allbutself() argument
106 default_send_IPI_mask_allbutself_phys(cpu_online_mask, vector); in bigsmp_send_IPI_allbutself()
109 static void bigsmp_send_IPI_all(int vector) in bigsmp_send_IPI_all() argument
111 bigsmp_send_IPI_mask(cpu_online_mask, vector); in bigsmp_send_IPI_all()
/arch/x86/include/asm/trace/
Dirq_vectors.h14 TP_PROTO(int vector),
16 TP_ARGS(vector),
19 __field( int, vector )
23 __entry->vector = vector;
26 TP_printk("vector=%d", __entry->vector) );
30 TP_PROTO(int vector), \
31 TP_ARGS(vector), \
35 TP_PROTO(int vector), \
36 TP_ARGS(vector), \
/arch/x86/xen/
Dsmp.h4 int vector);
6 int vector);
7 extern void xen_send_IPI_allbutself(int vector);
8 extern void xen_send_IPI_all(int vector);
9 extern void xen_send_IPI_self(int vector);
/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.c192 unsigned vector = ~regs->orig_ax; in do_IRQ() local
198 irq = __this_cpu_read(vector_irq[vector]); in do_IRQ()
206 vector, irq); in do_IRQ()
208 __this_cpu_write(vector_irq[vector], VECTOR_UNDEFINED); in do_IRQ()
292 unsigned int this_cpu, vector, this_count, count; in check_irq_vectors_for_cpu_disable() local
301 for (vector = FIRST_EXTERNAL_VECTOR; vector < NR_VECTORS; vector++) { in check_irq_vectors_for_cpu_disable()
302 irq = __this_cpu_read(vector_irq[vector]); in check_irq_vectors_for_cpu_disable()
344 for (vector = FIRST_EXTERNAL_VECTOR; in check_irq_vectors_for_cpu_disable()
345 vector < first_system_vector; vector++) { in check_irq_vectors_for_cpu_disable()
346 if (!test_bit(vector, used_vectors) && in check_irq_vectors_for_cpu_disable()
[all …]
/arch/ia64/include/asm/
Dhw_irq.h104 ia64_vector vector; member
128 extern int bind_irq_vector(int irq, int vector, cpumask_t domain);
130 extern void ia64_native_free_irq_vector (int vector);
131 extern int reserve_irq_vector (int vector);
133 extern void ia64_send_ipi (int cpu, int vector, int delivery_mode, int redirect);
145 static inline void ia64_native_resend_irq(unsigned int vector) in ia64_native_resend_irq() argument
147 platform_send_ipi(smp_processor_id(), vector, IA64_IPI_DM_INT, 0); in ia64_native_resend_irq()
156 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/sh/kernel/cpu/sh2/
Dex.S43 vector = 0 define
45 .long exception_entry + vector * 6
46 vector = vector + 1 define
/arch/alpha/kernel/
Dproto.h23 extern void apecs_machine_check(unsigned long vector, unsigned long la_ptr);
32 extern void cia_machine_check(unsigned long vector, unsigned long la_ptr);
44 extern void lca_machine_check(unsigned long vector, unsigned long la_ptr);
66 extern void mcpcia_machine_check(unsigned long vector, unsigned long la_ptr);
74 extern void polaris_machine_check(unsigned long vector, unsigned long la_ptr);
81 extern void t2_machine_check(unsigned long vector, unsigned long la_ptr);
96 extern void tsunami_machine_check(unsigned long vector, unsigned long la_ptr);
103 extern void wildfire_machine_check(unsigned long vector, unsigned long la_ptr);
221 extern void process_mcheck_info(unsigned long vector, unsigned long la_ptr,
Dsys_jensen.c96 jensen_device_interrupt(unsigned long vector) in jensen_device_interrupt() argument
100 switch (vector) { in jensen_device_interrupt()
113 if (vector > 0x900) { in jensen_device_interrupt()
114 printk("Unknown local interrupt %lx\n", vector); in jensen_device_interrupt()
118 irq = (vector - 0x800) >> 4; in jensen_device_interrupt()
127 if (vector >= 0x900) in jensen_device_interrupt()
211 jensen_machine_check(unsigned long vector, unsigned long la) in jensen_machine_check() argument
Dirq_alpha.c30 dummy_perf(unsigned long vector, struct pt_regs *regs) in dummy_perf() argument
44 do_entInt(unsigned long type, unsigned long vector, in do_entInt() argument
74 alpha_mv.machine_check(vector, la_ptr); in do_entInt()
79 alpha_mv.device_interrupt(vector); in do_entInt()
87 type, vector); in do_entInt()
127 process_mcheck_info(unsigned long vector, unsigned long la_ptr, in process_mcheck_info() argument
155 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/mn10300/kernel/
Dtraps.c523 u8 *vector = (u8 *)(CONFIG_INTERRUPT_VECTOR_BASE + code); in __set_intr_stub() local
525 addr = (unsigned long) handler - (unsigned long) vector; in __set_intr_stub()
526 vector[0] = 0xdc; /* JMP handler */ in __set_intr_stub()
527 vector[1] = addr; in __set_intr_stub()
528 vector[2] = addr >> 8; in __set_intr_stub()
529 vector[3] = addr >> 16; in __set_intr_stub()
530 vector[4] = addr >> 24; in __set_intr_stub()
531 vector[5] = 0xcb; in __set_intr_stub()
532 vector[6] = 0xcb; in __set_intr_stub()
533 vector[7] = 0xcb; in __set_intr_stub()
[all …]
/arch/m68k/hp300/
Dtime.c41 irq_handler_t vector = dev_id; in hp300_tick() local
46 return vector(irq, NULL); in hp300_tick()
65 void __init hp300_sched_init(irq_handler_t vector) in hp300_sched_init() argument
72 if (request_irq(IRQ_AUTO_6, hp300_tick, 0, "timer tick", vector)) in hp300_sched_init()
/arch/x86/kvm/
Dirq.c104 int vector; in kvm_cpu_get_interrupt() local
109 vector = kvm_cpu_get_extint(v); in kvm_cpu_get_interrupt()
111 if (vector != -1) in kvm_cpu_get_interrupt()
112 return vector; /* PIC */ in kvm_cpu_get_interrupt()
/arch/cris/arch-v32/kernel/
Dsmp.c64 static int send_ipi(int vector, int wait, cpumask_t cpu_mask);
265 int send_ipi(int vector, int wait, cpumask_t cpu_mask) in send_ipi() argument
277 ipi.vector |= vector; in send_ipi()
287 if (!ipi.vector) in send_ipi()
293 if (ipi.vector) { in send_ipi()
338 if (ipi.vector & IPI_SCHEDULE) { in crisv32_ipi_interrupt()
341 if (ipi.vector & IPI_CALL) { in crisv32_ipi_interrupt()
344 if (ipi.vector & IPI_FLUSH_TLB) { in crisv32_ipi_interrupt()
353 ipi.vector = 0; in crisv32_ipi_interrupt()

12345678