Searched refs:vector (Results 1 - 200 of 1117) sorted by relevance

123456

/linux-4.1.27/arch/x86/include/asm/trace/
H A 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), \
43 * vector handler
48 * reschedule - called when entering/exiting a reschedule vector handler
53 * spurious_apic - called when entering/exiting a spurious apic vector handler
58 * error_apic - called when entering/exiting an error apic vector handler
64 * vector handler
70 * vector handler
87 * vector handler
93 * single interrupt vector handler
99 * vector handler
105 * vector handler
/linux-4.1.27/arch/x86/xen/
H A 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);
H A Dsmp.c565 int vector) __xen_send_IPI_mask()
570 xen_send_IPI_one(cpu, vector); __xen_send_IPI_mask()
594 static inline int xen_map_vector(int vector) xen_map_vector() argument
598 switch (vector) { xen_map_vector()
619 printk(KERN_ERR "xen: vector 0x%x is not implemented\n", xen_map_vector()
620 vector); xen_map_vector()
627 int vector) xen_send_IPI_mask()
629 int xen_vector = xen_map_vector(vector); xen_send_IPI_mask()
635 void xen_send_IPI_all(int vector) xen_send_IPI_all() argument
637 int xen_vector = xen_map_vector(vector); xen_send_IPI_all()
643 void xen_send_IPI_self(int vector) xen_send_IPI_self() argument
645 int xen_vector = xen_map_vector(vector); xen_send_IPI_self()
652 int vector) xen_send_IPI_mask_allbutself()
656 int xen_vector = xen_map_vector(vector); xen_send_IPI_mask_allbutself()
669 void xen_send_IPI_allbutself(int vector) xen_send_IPI_allbutself() argument
671 xen_send_IPI_mask_allbutself(cpu_online_mask, vector); xen_send_IPI_allbutself()
564 __xen_send_IPI_mask(const struct cpumask *mask, int vector) __xen_send_IPI_mask() argument
626 xen_send_IPI_mask(const struct cpumask *mask, int vector) xen_send_IPI_mask() argument
651 xen_send_IPI_mask_allbutself(const struct cpumask *mask, int vector) xen_send_IPI_mask_allbutself() argument
/linux-4.1.27/arch/sh/kernel/cpu/sh2a/
H A Dex.S4 * The SH-2A exception vector table
64 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
H A Dentry.S45 ! r1 = vector (pseudo EXPEVT / INTEVT / TRA)
75 mov r1,r9 ! r9 = interrupt vector
88 mov r1,r9 ! r9 = interrupt vector
146 cmp/ge r8,r9 ! vector 0x20-0x2f is systemcall
/linux-4.1.27/arch/x86/include/asm/
H A Dipi.h33 static inline unsigned int __prepare_ICR(unsigned int shortcut, int vector, __prepare_ICR() argument
38 switch (vector) { __prepare_ICR()
40 icr |= APIC_DM_FIXED | vector; __prepare_ICR()
61 __default_send_IPI_shortcut(unsigned int shortcut, int vector, unsigned int dest) __default_send_IPI_shortcut() argument
80 cfg = __prepare_ICR(shortcut, vector, dest); __default_send_IPI_shortcut()
93 __default_send_IPI_dest_field(unsigned int mask, int vector, unsigned int dest) __default_send_IPI_dest_field() argument
100 if (unlikely(vector == NMI_VECTOR)) __default_send_IPI_dest_field()
114 cfg = __prepare_ICR(0, vector, dest); __default_send_IPI_dest_field()
123 int vector);
125 int vector);
132 static inline void __default_local_send_IPI_allbutself(int vector) __default_local_send_IPI_allbutself() argument
134 if (no_broadcast || vector == NMI_VECTOR) __default_local_send_IPI_allbutself()
135 apic->send_IPI_mask_allbutself(cpu_online_mask, vector); __default_local_send_IPI_allbutself()
137 __default_send_IPI_shortcut(APIC_DEST_ALLBUT, vector, apic->dest_logical); __default_local_send_IPI_allbutself()
140 static inline void __default_local_send_IPI_all(int vector) __default_local_send_IPI_all() argument
142 if (no_broadcast || vector == NMI_VECTOR) __default_local_send_IPI_all()
143 apic->send_IPI_mask(cpu_online_mask, vector); __default_local_send_IPI_all()
145 __default_send_IPI_shortcut(APIC_DEST_ALLINC, vector, apic->dest_logical); __default_local_send_IPI_all()
150 int vector);
152 int vector);
154 int vector);
155 extern void default_send_IPI_allbutself(int vector);
156 extern void default_send_IPI_all(int vector);
157 extern void default_send_IPI_self(int vector);
H A Dx2apic.h23 __x2apic_send_IPI_dest(unsigned int apicid, int vector, unsigned int dest) __x2apic_send_IPI_dest() argument
25 unsigned long cfg = __prepare_ICR(0, vector, dest); __x2apic_send_IPI_dest()
44 static void x2apic_send_IPI_self(int vector) x2apic_send_IPI_self() argument
46 apic_write(APIC_SELF_IPI, vector); x2apic_send_IPI_self()
H A Dirq_vectors.h6 * Linux IRQ vector layout.
10 * given vector is triggered - by a CPU-external, CPU-internal or
33 * (0x80 is the syscall vector, 0x30-0x3f are for ISA)
38 * priority levels. (0x80 is the syscall vector)
43 * Reserve the lowest usable vector (and hence lowest priority) 0x20 for
56 * round up to the next 16-vector boundary
80 * into a single vector (CALL_FUNCTION_VECTOR) to save vector space.
101 * Generic system vector for platform specific use
111 * IRQ work vector:
121 * Local APIC timer IRQ vector is on a different priority level,
H A Dirq.h39 /* Interrupt vector management */
41 extern int vector_used_by_percpu_irq(unsigned int vector);
H A Dintel_scu_ipc.h25 /* Read a vector */
37 /* Write a vector */
H A Dapicdef.h304 u32 vector : 8, member in struct:local_apic::__anon2999
329 u32 vector : 8, member in struct:local_apic::__anon3002
340 u32 vector : 8, member in struct:local_apic::__anon3003
351 u32 vector : 8, member in struct:local_apic::__anon3004
362 u32 vector : 8, member in struct:local_apic::__anon3005
375 u32 vector : 8, member in struct:local_apic::__anon3006
388 u32 vector : 8, member in struct:local_apic::__anon3007
H A Dapic.h240 extern int setup_APIC_eilvt(u8 lvt_off, u8 vector, u8 msg_type, u8 mask);
306 void (*send_IPI_mask)(const struct cpumask *mask, int vector); disable_local_APIC()
308 int vector); disable_local_APIC()
309 void (*send_IPI_allbutself)(int vector); disable_local_APIC()
310 void (*send_IPI_all)(int vector); disable_local_APIC()
311 void (*send_IPI_self)(int vector); disable_local_APIC()
457 * Warm reset vector position:
463 extern void apic_send_IPI_self(int vector);
H A Dirq_remapping.h45 int vector,
70 int vector, setup_ioapic_remapped_entry()
67 setup_ioapic_remapped_entry(int irq, struct IO_APIC_route_entry *entry, unsigned int destination, int vector, struct io_apic_irq_attr *attr) setup_ioapic_remapped_entry() argument
H A Dio_apic.h67 __u32 vector : 8, member in struct:IO_APIC_route_entry
85 __u64 vector : 8, member in struct:IR_IO_APIC_route_entry
155 extern void native_eoi_ioapic_pin(int apic, int pin, int vector);
238 extern void io_apic_eoi(unsigned int apic, unsigned int vector);
/linux-4.1.27/drivers/net/wireless/ti/wl12xx/
H A Devent.c51 u32 vector; wl12xx_process_mailbox_events() local
54 vector = le32_to_cpu(mbox->events_vector); wl12xx_process_mailbox_events()
55 vector &= ~(le32_to_cpu(mbox->events_mask)); wl12xx_process_mailbox_events()
57 wl1271_debug(DEBUG_EVENT, "MBOX vector: 0x%x", vector); wl12xx_process_mailbox_events()
59 if (vector & SCAN_COMPLETE_EVENT_ID) { wl12xx_process_mailbox_events()
67 if (vector & PERIODIC_SCAN_REPORT_EVENT_ID) { wl12xx_process_mailbox_events()
75 if (vector & PERIODIC_SCAN_COMPLETE_EVENT_ID) wl12xx_process_mailbox_events()
78 if (vector & SOFT_GEMINI_SENSE_EVENT_ID) wl12xx_process_mailbox_events()
82 if (vector & BSS_LOSE_EVENT_ID) wl12xx_process_mailbox_events()
85 if (vector & RSSI_SNR_TRIGGER_0_EVENT_ID) wl12xx_process_mailbox_events()
88 if (vector & BA_SESSION_RX_CONSTRAINT_EVENT_ID) wl12xx_process_mailbox_events()
93 if (vector & CHANNEL_SWITCH_COMPLETE_EVENT_ID) wl12xx_process_mailbox_events()
97 if (vector & DUMMY_PACKET_EVENT_ID) wl12xx_process_mailbox_events()
104 if (vector & MAX_TX_RETRY_EVENT_ID) wl12xx_process_mailbox_events()
108 if (vector & INACTIVE_STA_EVENT_ID) wl12xx_process_mailbox_events()
112 if (vector & REMAIN_ON_CHANNEL_COMPLETE_EVENT_ID) wl12xx_process_mailbox_events()
/linux-4.1.27/arch/ia64/kernel/
H A Dirq_ia64.c12 * PCI to vector allocation routine.
66 * Legacy IRQ to IA-64 vector translation table.
79 .vector = IRQ_VECTOR_UNASSIGNED,
109 int pos, vector; find_unassigned_vector() local
116 vector = IA64_FIRST_DEVICE_VECTOR + pos; find_unassigned_vector()
117 cpumask_and(&mask, &domain, &vector_table[vector]); find_unassigned_vector()
120 return vector; find_unassigned_vector()
125 static int __bind_irq_vector(int irq, int vector, cpumask_t domain) __bind_irq_vector() argument
132 BUG_ON((unsigned)vector >= IA64_NUM_VECTORS); __bind_irq_vector()
137 if ((cfg->vector == vector) && cpumask_equal(&cfg->domain, &domain)) __bind_irq_vector()
139 if (cfg->vector != IRQ_VECTOR_UNASSIGNED) __bind_irq_vector()
142 per_cpu(vector_irq, cpu)[vector] = irq; __bind_irq_vector()
143 cfg->vector = vector; __bind_irq_vector()
146 cpumask_or(&vector_table[vector], &vector_table[vector], &domain); __bind_irq_vector()
150 int bind_irq_vector(int irq, int vector, cpumask_t domain) bind_irq_vector() argument
156 ret = __bind_irq_vector(irq, vector, domain); bind_irq_vector()
163 int vector, cpu; __clear_irq_vector() local
168 BUG_ON(cfg->vector == IRQ_VECTOR_UNASSIGNED); __clear_irq_vector()
169 vector = cfg->vector; __clear_irq_vector()
172 per_cpu(vector_irq, cpu)[vector] = -1; __clear_irq_vector()
173 cfg->vector = IRQ_VECTOR_UNASSIGNED; __clear_irq_vector()
176 cpumask_andnot(&vector_table[vector], &vector_table[vector], &domain); __clear_irq_vector()
192 int vector, cpu; ia64_native_assign_irq_vector() local
195 vector = -ENOSPC; ia64_native_assign_irq_vector()
200 vector = find_unassigned_vector(domain); for_each_online_cpu()
201 if (vector >= 0) for_each_online_cpu()
204 if (vector < 0)
207 irq = vector;
208 BUG_ON(__bind_irq_vector(irq, vector, domain));
211 return vector;
215 ia64_native_free_irq_vector (int vector) ia64_native_free_irq_vector() argument
217 if (vector < IA64_FIRST_DEVICE_VECTOR || ia64_native_free_irq_vector()
218 vector > IA64_LAST_DEVICE_VECTOR) ia64_native_free_irq_vector()
220 clear_irq_vector(vector); ia64_native_free_irq_vector()
224 reserve_irq_vector (int vector) reserve_irq_vector() argument
226 if (vector < IA64_FIRST_DEVICE_VECTOR || reserve_irq_vector()
227 vector > IA64_LAST_DEVICE_VECTOR) reserve_irq_vector()
229 return !!bind_irq_vector(vector, vector, CPU_MASK_ALL); reserve_irq_vector()
238 int irq, vector; __setup_vector_irq() local
241 for (vector = 0; vector < IA64_NUM_VECTORS; ++vector) __setup_vector_irq()
242 per_cpu(vector_irq, cpu)[vector] = -1; __setup_vector_irq()
247 vector = irq_to_vector(irq); __setup_vector_irq()
248 per_cpu(vector_irq, cpu)[vector] = irq; __setup_vector_irq()
269 int vector; __irq_prepare_move() local
274 if (cfg->vector == IRQ_VECTOR_UNASSIGNED || !cpu_online(cpu)) __irq_prepare_move()
279 vector = find_unassigned_vector(domain); __irq_prepare_move()
280 if (vector < 0) __irq_prepare_move()
284 cfg->vector = IRQ_VECTOR_UNASSIGNED; __irq_prepare_move()
286 BUG_ON(__bind_irq_vector(irq, vector, domain)); __irq_prepare_move()
323 ia64_vector vector; smp_irq_move_cleanup_interrupt() local
326 for (vector = IA64_FIRST_DEVICE_VECTOR; smp_irq_move_cleanup_interrupt()
327 vector < IA64_LAST_DEVICE_VECTOR; vector++) { smp_irq_move_cleanup_interrupt()
331 irq = __this_cpu_read(vector_irq[vector]); smp_irq_move_cleanup_interrupt()
345 __this_cpu_write(vector_irq[vector], -1); smp_irq_move_cleanup_interrupt()
346 cpumask_clear_cpu(me, &vector_table[vector]); smp_irq_move_cleanup_interrupt()
370 early_param("vector", parse_vector_domain);
396 int irq, vector, cpu; create_irq() local
399 irq = vector = -ENOSPC; create_irq()
403 vector = find_unassigned_vector(domain); for_each_online_cpu()
404 if (vector >= 0) for_each_online_cpu()
407 if (vector < 0)
412 BUG_ON(__bind_irq_vector(irq, vector, domain));
439 ia64_handle_irq (ia64_vector vector, struct pt_regs *regs) ia64_handle_irq() argument
478 while (vector != IA64_SPURIOUS_INT_VECTOR) { ia64_handle_irq()
479 int irq = local_vector_to_irq(vector); ia64_handle_irq()
481 if (unlikely(IS_LOCAL_TLB_FLUSH(vector))) { ia64_handle_irq()
484 } else if (unlikely(IS_RESCHEDULE(vector))) { ia64_handle_irq()
488 ia64_setreg(_IA64_REG_CR_TPR, vector); ia64_handle_irq()
493 "vector %d on CPU %d is not mapped " ia64_handle_irq()
494 "to any IRQ!\n", __func__, vector, ia64_handle_irq()
506 vector = ia64_get_ivr(); ia64_handle_irq()
524 ia64_vector vector; ia64_process_pending_intr() local
528 vector = ia64_get_ivr(); ia64_process_pending_intr()
537 while (vector != IA64_SPURIOUS_INT_VECTOR) { ia64_process_pending_intr()
538 int irq = local_vector_to_irq(vector); ia64_process_pending_intr()
540 if (unlikely(IS_LOCAL_TLB_FLUSH(vector))) { ia64_process_pending_intr()
543 } else if (unlikely(IS_RESCHEDULE(vector))) { ia64_process_pending_intr()
548 ia64_setreg(_IA64_REG_CR_TPR, vector); ia64_process_pending_intr()
559 "vector %d on CPU %d not being mapped " ia64_process_pending_intr()
560 "to any IRQ!!\n", __func__, vector, ia64_process_pending_intr()
575 vector = ia64_get_ivr(); ia64_process_pending_intr()
654 ia64_send_ipi (int cpu, int vector, int delivery_mode, int redirect) ia64_send_ipi() argument
666 ipi_data = (delivery_mode << 8) | (vector & 0xff); ia64_send_ipi()
H A Dmsi_ia64.c49 int irq, vector; ia64_setup_msi_irq() local
58 vector = irq_to_vector(irq); ia64_setup_msi_irq()
71 MSI_DATA_VECTOR(vector); ia64_setup_msi_irq()
93 unsigned int vector = irq_to_vector(data->irq); ia64_msi_retrigger_irq() local
94 ia64_resend_irq(vector); ia64_msi_retrigger_irq()
146 msg.data |= MSI_DATA_VECTOR(cfg->vector); dmar_msi_set_affinity()
188 MSI_DATA_VECTOR(cfg->vector); msi_compose_msg()
H A Diosapic.c16 * 00/10/27 Asit Mallick, Goutham Rao <goutham.rao@intel.com> IRQ vector
17 * allocation PCI to vector mapping, shared PCI
34 * interrupt, vector, etc.)
62 * IOSAPIC pin into the IA-64 interrupt vector. This interrupt vector is then
68 * IA-64 interrupt vector number <-> IRQ number mapping. On smaller
69 * systems, we use one-to-one mapping between IA-64 vector and IRQ. A
71 * platform_local_vector_to_irq(vector) APIs to differentiate the mapping.
76 * PCI pin -> global system interrupt (GSI) -> IA-64 vector <-> IRQ
114 * vector.
131 struct list_head rte_list; /* RTEs sharing the same vector */
138 struct list_head rtes; /* RTEs using this vector (empty =>
224 ia64_vector vector = irq_to_vector(irq); set_rte() local
226 DBG(KERN_DEBUG"IOSAPIC: routing vector %d to 0x%x\n", vector, dest); set_rte()
247 vector); set_rte()
513 * if the given vector is already owned by other,
514 * assign a new vector for the other and make the vector available
525 printk(KERN_INFO "Reassigning vector %d to %d\n", iosapic_reassign_vector()
608 "%s: changing vector %d from %s to %s\n", register_intr()
628 * In case of vector shared by multiple RTEs, all RTEs that get_target_cpu()
629 * share the vector need to use the same destination CPU. get_target_cpu()
746 /* If vector is running out, we try to find a sharable vector */ iosapic_register_intr()
765 * If the vector is shared and already unmasked for other iosapic_register_intr()
773 printk(KERN_INFO "GSI %u (%s, %s) -> CPU %d (0x%04x) vector %d\n", iosapic_register_intr()
833 "GSI %u (%s, %s) -> CPU %d (0x%04x) vector %d unregistered\n", iosapic_unregister_intr()
867 int irq, vector, mask = 0; iosapic_register_platform_intr() local
872 irq = vector = iosapic_vector; iosapic_register_platform_intr()
873 bind_irq_vector(irq, vector, CPU_MASK_ALL); iosapic_register_platform_intr()
875 * since PMI vector is alloc'd by FW(ACPI) not by kernel, iosapic_register_platform_intr()
876 * we need to make sure the vector is available iosapic_register_platform_intr()
885 vector = irq_to_vector(irq); iosapic_register_platform_intr()
889 irq = vector = IA64_CPE_VECTOR; iosapic_register_platform_intr()
890 BUG_ON(bind_irq_vector(irq, vector, CPU_MASK_ALL)); iosapic_register_platform_intr()
904 " vector %d\n", iosapic_register_platform_intr()
908 cpu_logical_id(dest), dest, vector); iosapic_register_platform_intr()
911 return vector; iosapic_register_platform_intr()
920 int vector, irq; iosapic_override_isa_irq() local
924 irq = vector = isa_irq_to_vector(isa_irq); iosapic_override_isa_irq()
925 BUG_ON(bind_irq_vector(irq, vector, CPU_MASK_ALL)); iosapic_override_isa_irq()
929 DBG("ISA: IRQ %u -> GSI %u (%s,%s) -> CPU %d (0x%04x) vector %d\n", iosapic_override_isa_irq()
932 cpu_logical_id(dest), dest, vector); iosapic_override_isa_irq()
H A Dpci-swiotlb.c59 printk(KERN_INFO "PCI-DMA: Re-initialize machine vector.\n"); pci_swiotlb_init()
H A Dsal.c59 case -8: str = "Invalid interrupt vector"; break; ia64_sal_strerror()
144 * on again in the vector. This is cumbersome for something that the set_smp_redirect()
190 ap_wakeup_vector = ap->vector; sal_desc_ap_wakeup()
192 "vector 0x%lx\n", ap_wakeup_vector); sal_desc_ap_wakeup()
245 u64 vector, cache_type = 3; check_sal_cache_flush() local
269 vector = ia64_get_ivr(); check_sal_cache_flush()
271 WARN_ON(vector != IA64_TIMER_VECTOR); check_sal_cache_flush()
H A Dirq.c29 * 'what should we do if we get a hw irq event on an illegal vector'.
34 printk(KERN_ERR "Unexpected irq vector 0x%x on CPU %u!\n", irq, smp_processor_id()); ack_bad_irq()
40 return irq_cfg[irq].vector; __ia64_irq_to_vector()
/linux-4.1.27/arch/m32r/include/asm/
H A Dsyscall.h4 /* Definitions for the system call vector. */
/linux-4.1.27/arch/sh/kernel/cpu/sh2/
H A Dex.S4 * The SH-2 exception vector table
43 vector = 0 define
45 .long exception_entry + vector * 6
46 vector = vector + 1 define
/linux-4.1.27/arch/x86/kernel/apic/
H A Dx2apic_phys.c38 __x2apic_send_IPI_mask(const struct cpumask *mask, int vector, int apic_dest) __x2apic_send_IPI_mask() argument
53 vector, APIC_DEST_PHYSICAL); for_each_cpu() local
58 static void x2apic_send_IPI_mask(const struct cpumask *mask, int vector) x2apic_send_IPI_mask() argument
60 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLINC); x2apic_send_IPI_mask()
64 x2apic_send_IPI_mask_allbutself(const struct cpumask *mask, int vector) x2apic_send_IPI_mask_allbutself() argument
66 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLBUT); x2apic_send_IPI_mask_allbutself()
69 static void x2apic_send_IPI_allbutself(int vector) x2apic_send_IPI_allbutself() argument
71 __x2apic_send_IPI_mask(cpu_online_mask, vector, APIC_DEST_ALLBUT); x2apic_send_IPI_allbutself()
74 static void x2apic_send_IPI_all(int vector) x2apic_send_IPI_all() argument
76 __x2apic_send_IPI_mask(cpu_online_mask, vector, APIC_DEST_ALLINC); x2apic_send_IPI_all()
H A Dipi.c21 void default_send_IPI_mask_sequence_phys(const struct cpumask *mask, int vector) default_send_IPI_mask_sequence_phys() argument
34 query_cpu), vector, APIC_DEST_PHYSICAL); for_each_cpu() local
40 int vector) default_send_IPI_mask_allbutself_phys()
53 query_cpu), vector, APIC_DEST_PHYSICAL); for_each_cpu() local
61 int vector) default_send_IPI_mask_sequence_logical()
76 vector, apic->dest_logical); default_send_IPI_mask_sequence_logical()
81 int vector) default_send_IPI_mask_allbutself_logical()
95 vector, apic->dest_logical); for_each_cpu() local
103 void default_send_IPI_mask_logical(const struct cpumask *cpumask, int vector) default_send_IPI_mask_logical() argument
113 __default_send_IPI_dest_field(mask, vector, apic->dest_logical); default_send_IPI_mask_logical()
117 void default_send_IPI_allbutself(int vector) default_send_IPI_allbutself() argument
126 __default_local_send_IPI_allbutself(vector); default_send_IPI_allbutself()
129 void default_send_IPI_all(int vector) default_send_IPI_all() argument
131 __default_local_send_IPI_all(vector); default_send_IPI_all()
134 void default_send_IPI_self(int vector) default_send_IPI_self() argument
136 __default_send_IPI_shortcut(APIC_DEST_SELF, vector, apic->dest_logical); default_send_IPI_self()
39 default_send_IPI_mask_allbutself_phys(const struct cpumask *mask, int vector) default_send_IPI_mask_allbutself_phys() argument
60 default_send_IPI_mask_sequence_logical(const struct cpumask *mask, int vector) default_send_IPI_mask_sequence_logical() argument
80 default_send_IPI_mask_allbutself_logical(const struct cpumask *mask, int vector) default_send_IPI_mask_allbutself_logical() argument
H A Dvector.c107 * vector number and shifting that right by 4, we __assign_irq_vector()
130 int new_cpu, vector, offset; __assign_irq_vector() local
139 * New cpumask using the vector is a proper subset of __assign_irq_vector()
140 * the current in use mask. So cleanup the vector __assign_irq_vector()
150 vector = current_vector; __assign_irq_vector()
153 vector += 16; __assign_irq_vector()
154 if (vector >= first_system_vector) { __assign_irq_vector()
156 vector = FIRST_EXTERNAL_VECTOR + offset; __assign_irq_vector()
159 if (unlikely(current_vector == vector)) { __assign_irq_vector()
166 if (test_bit(vector, used_vectors)) __assign_irq_vector()
170 if (per_cpu(vector_irq, new_cpu)[vector] > for_each_cpu_and()
175 current_vector = vector;
177 if (cfg->vector) {
183 per_cpu(vector_irq, new_cpu)[vector] = irq;
184 cfg->vector = vector;
207 int cpu, vector; clear_irq_vector() local
211 BUG_ON(!cfg->vector); clear_irq_vector()
213 vector = cfg->vector; clear_irq_vector()
215 per_cpu(vector_irq, cpu)[vector] = VECTOR_UNDEFINED; clear_irq_vector()
217 cfg->vector = 0; clear_irq_vector()
226 for (vector = FIRST_EXTERNAL_VECTOR; vector < NR_VECTORS; clear_irq_vector()
227 vector++) { clear_irq_vector()
228 if (per_cpu(vector_irq, cpu)[vector] != irq) clear_irq_vector()
230 per_cpu(vector_irq, cpu)[vector] = VECTOR_UNDEFINED; clear_irq_vector()
269 int irq, vector; __setup_vector_irq() local
273 * vector_lock will make sure that we don't run into irq vector __setup_vector_irq()
275 * while we setup our initial vector to irq mappings. __setup_vector_irq()
286 vector = cfg->vector; for_each_active_irq()
287 per_cpu(vector_irq, cpu)[vector] = irq; for_each_active_irq()
290 for (vector = 0; vector < NR_VECTORS; ++vector) {
291 irq = per_cpu(vector_irq, cpu)[vector];
297 per_cpu(vector_irq, cpu)[vector] = VECTOR_UNDEFINED;
303 * Setup the vector to irq mappings.
314 * legacy vector to irq mapping: setup_vector_irq()
330 apic->send_IPI_mask(cpumask_of(cpu), cfg->vector); apic_retrigger_irq()
368 pr_err("Failed to recover vector for irq %d\n", irq); apic_set_affinity()
398 unsigned vector, me; smp_irq_move_cleanup_interrupt() local
405 for (vector = FIRST_EXTERNAL_VECTOR; vector < NR_VECTORS; vector++) { smp_irq_move_cleanup_interrupt()
411 irq = __this_cpu_read(vector_irq[vector]); smp_irq_move_cleanup_interrupt()
433 if (vector == cfg->vector && cpumask_test_cpu(me, cfg->domain)) smp_irq_move_cleanup_interrupt()
436 irr = apic_read(APIC_IRR + (vector / 32 * 0x10)); smp_irq_move_cleanup_interrupt()
438 * Check if the vector that needs to be cleanedup is smp_irq_move_cleanup_interrupt()
444 if (irr & (1 << (vector % 32))) { smp_irq_move_cleanup_interrupt()
448 __this_cpu_write(vector_irq[vector], VECTOR_UNDEFINED); smp_irq_move_cleanup_interrupt()
456 static void __irq_complete_move(struct irq_cfg *cfg, unsigned vector) __irq_complete_move() argument
465 if (vector == cfg->vector && cpumask_test_cpu(me, cfg->domain)) __irq_complete_move()
481 __irq_complete_move(cfg, cfg->vector); irq_force_complete_move()
H A Dapic_flat_64.c56 static inline void _flat_send_IPI_mask(unsigned long mask, int vector) _flat_send_IPI_mask() argument
61 __default_send_IPI_dest_field(mask, vector, apic->dest_logical); _flat_send_IPI_mask()
65 static void flat_send_IPI_mask(const struct cpumask *cpumask, int vector) flat_send_IPI_mask() argument
69 _flat_send_IPI_mask(mask, vector); flat_send_IPI_mask()
73 flat_send_IPI_mask_allbutself(const struct cpumask *cpumask, int vector) flat_send_IPI_mask_allbutself() argument
81 _flat_send_IPI_mask(mask, vector); flat_send_IPI_mask_allbutself()
84 static void flat_send_IPI_allbutself(int vector) flat_send_IPI_allbutself() argument
92 if (hotplug || vector == NMI_VECTOR) { flat_send_IPI_allbutself()
99 _flat_send_IPI_mask(mask, vector); flat_send_IPI_allbutself()
103 vector, apic->dest_logical); flat_send_IPI_allbutself()
107 static void flat_send_IPI_all(int vector) flat_send_IPI_all() argument
109 if (vector == NMI_VECTOR) { flat_send_IPI_all()
110 flat_send_IPI_mask(cpu_online_mask, vector); flat_send_IPI_all()
113 vector, apic->dest_logical); flat_send_IPI_all()
234 static void physflat_send_IPI_mask(const struct cpumask *cpumask, int vector) physflat_send_IPI_mask() argument
236 default_send_IPI_mask_sequence_phys(cpumask, vector); physflat_send_IPI_mask()
240 int vector) physflat_send_IPI_mask_allbutself()
242 default_send_IPI_mask_allbutself_phys(cpumask, vector); physflat_send_IPI_mask_allbutself()
245 static void physflat_send_IPI_allbutself(int vector) physflat_send_IPI_allbutself() argument
247 default_send_IPI_mask_allbutself_phys(cpu_online_mask, vector); physflat_send_IPI_allbutself()
250 static void physflat_send_IPI_all(int vector) physflat_send_IPI_all() argument
252 physflat_send_IPI_mask(cpu_online_mask, vector); physflat_send_IPI_all()
239 physflat_send_IPI_mask_allbutself(const struct cpumask *cpumask, int vector) physflat_send_IPI_mask_allbutself() argument
H A Dapic_numachip.c99 static void numachip_send_IPI_one(int cpu, int vector) numachip_send_IPI_one() argument
105 int_gen.s._vector = vector; numachip_send_IPI_one()
106 int_gen.s._msgtype = (vector == NMI_VECTOR ? APIC_DM_NMI : APIC_DM_FIXED) >> 8; numachip_send_IPI_one()
112 static void numachip_send_IPI_mask(const struct cpumask *mask, int vector) numachip_send_IPI_mask() argument
117 numachip_send_IPI_one(cpu, vector); numachip_send_IPI_mask()
121 int vector) numachip_send_IPI_mask_allbutself()
128 numachip_send_IPI_one(cpu, vector); for_each_cpu()
132 static void numachip_send_IPI_allbutself(int vector) numachip_send_IPI_allbutself() argument
139 numachip_send_IPI_one(cpu, vector); for_each_online_cpu()
143 static void numachip_send_IPI_all(int vector) numachip_send_IPI_all() argument
145 numachip_send_IPI_mask(cpu_online_mask, vector); numachip_send_IPI_all()
148 static void numachip_send_IPI_self(int vector) numachip_send_IPI_self() argument
150 apic_write(APIC_SELF_IPI, vector); numachip_send_IPI_self()
120 numachip_send_IPI_mask_allbutself(const struct cpumask *mask, int vector) numachip_send_IPI_mask_allbutself() argument
H A Dx2apic_cluster.c27 __x2apic_send_IPI_mask(const struct cpumask *mask, int vector, int apic_dest) __x2apic_send_IPI_mask() argument
66 __x2apic_send_IPI_dest(dest, vector, apic->dest_logical);
77 static void x2apic_send_IPI_mask(const struct cpumask *mask, int vector) x2apic_send_IPI_mask() argument
79 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLINC); x2apic_send_IPI_mask()
83 x2apic_send_IPI_mask_allbutself(const struct cpumask *mask, int vector) x2apic_send_IPI_mask_allbutself() argument
85 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLBUT); x2apic_send_IPI_mask_allbutself()
88 static void x2apic_send_IPI_allbutself(int vector) x2apic_send_IPI_allbutself() argument
90 __x2apic_send_IPI_mask(cpu_online_mask, vector, APIC_DEST_ALLBUT); x2apic_send_IPI_allbutself()
93 static void x2apic_send_IPI_all(int vector) x2apic_send_IPI_all() argument
95 __x2apic_send_IPI_mask(cpu_online_mask, vector, APIC_DEST_ALLINC); x2apic_send_IPI_all()
223 * To minimize vector pressure, default case of boot, device bringup cluster_vector_allocation_domain()
H A Dhtirq.c24 static void target_ht_irq(unsigned int irq, unsigned int dest, u8 vector) target_ht_irq() argument
33 msg.address_lo |= HT_IRQ_LOW_VECTOR(vector) | HT_IRQ_LOW_DEST_ID(dest); target_ht_irq()
50 target_ht_irq(data->irq, dest, cfg->vector); ht_set_affinity()
89 HT_IRQ_LOW_VECTOR(cfg->vector) | arch_setup_ht_irq()
H A Dbigsmp_32.c99 static inline void bigsmp_send_IPI_mask(const struct cpumask *mask, int vector) bigsmp_send_IPI_mask() argument
101 default_send_IPI_mask_sequence_phys(mask, vector); bigsmp_send_IPI_mask()
104 static void bigsmp_send_IPI_allbutself(int vector) bigsmp_send_IPI_allbutself() argument
106 default_send_IPI_mask_allbutself_phys(cpu_online_mask, vector); bigsmp_send_IPI_allbutself()
109 static void bigsmp_send_IPI_all(int vector) bigsmp_send_IPI_all() argument
111 bigsmp_send_IPI_mask(cpu_online_mask, vector); bigsmp_send_IPI_all()
H A Dapic_noop.c33 static void noop_send_IPI_mask(const struct cpumask *cpumask, int vector) { } noop_send_IPI_mask_allbutself() argument
34 static void noop_send_IPI_mask_allbutself(const struct cpumask *cpumask, int vector) { } noop_send_IPI_allbutself() argument
35 static void noop_send_IPI_allbutself(int vector) { } noop_send_IPI_all() argument
36 static void noop_send_IPI_all(int vector) { } noop_send_IPI_self() argument
37 static void noop_send_IPI_self(int vector) { } noop_apic_wait_icr_idle() argument
H A Dprobe_64.c52 void apic_send_IPI_self(int vector) apic_send_IPI_self() argument
54 __default_send_IPI_shortcut(APIC_DEST_SELF, vector, APIC_DEST_PHYSICAL); apic_send_IPI_self()
H A Dapic.c288 * lapic_get_maxlvt - get the maximum number of local vector table entries
373 * vector also to be used on other cores. An offset is freed by
393 unsigned int rsvd, vector; reserve_eilvt_offset() local
400 vector = rsvd & ~APIC_EILVT_MASKED; /* 0: unassigned */ reserve_eilvt_offset()
401 if (vector && !eilvt_entry_is_changeable(vector, new)) reserve_eilvt_offset()
408 if (rsvd && rsvd != vector) reserve_eilvt_offset()
409 pr_info("LVT offset %d assigned for vector 0x%02x\n", reserve_eilvt_offset()
417 * enables the vector. See also the BKDGs. Must be called with
421 int setup_APIC_eilvt(u8 offset, u8 vector, u8 msg_type, u8 mask) setup_APIC_eilvt() argument
426 new = (mask << 16) | (msg_type << 8) | vector; setup_APIC_eilvt()
432 "vector 0x%x, but the register is already in use for " setup_APIC_eilvt()
433 "vector 0x%x on another cpu\n", setup_APIC_eilvt()
440 "vector 0x%x, but the register is already in use for " setup_APIC_eilvt()
441 "vector 0x%x on this cpu\n", setup_APIC_eilvt()
976 * if the vector is zero. Mask LVTERR first to prevent this. clear_local_APIC()
979 v = ERROR_APIC_VECTOR; /* any non-zero vector will do */ clear_local_APIC()
1193 * spec says clear errors after enabling vector. lapic_setup_esr()
1200 "vector: 0x%08x after: 0x%08x\n", lapic_setup_esr()
1279 * the interrupt. Hence a vector might get locked. It was noticed setup_local_APIC()
1280 * for timer irq (vector 0x31). Issue an extra EOI to clear ISR. setup_local_APIC()
1351 * Set spurious IRQ vector setup_local_APIC()
1806 static inline void __smp_spurious_interrupt(u8 vector) __smp_spurious_interrupt() argument
1815 v = apic_read(APIC_ISR + ((vector & ~0x1f) >> 1)); __smp_spurious_interrupt()
1816 if (v & (1 << (vector & 0x1f))) __smp_spurious_interrupt()
1822 pr_info("spurious APIC interrupt through vector %02x on CPU#%d, " __smp_spurious_interrupt()
1823 "should never happen.\n", vector, smp_processor_id()); __smp_spurious_interrupt()
1835 u8 vector = ~regs->orig_ax; smp_trace_spurious_interrupt() local
1838 trace_spurious_apic_entry(vector); smp_trace_spurious_interrupt()
1839 __smp_spurious_interrupt(vector); smp_trace_spurious_interrupt()
1840 trace_spurious_apic_exit(vector); smp_trace_spurious_interrupt()
1857 "Send illegal vector", /* APIC Error Bit 5 */ __smp_error_interrupt()
1858 "Received illegal vector", /* APIC Error Bit 6 */ __smp_error_interrupt()
1950 /* For the spurious interrupt use vector F, and enable it */ disconnect_bsp_APIC()
H A Dx2apic_uv_x.c255 static void uv_send_IPI_one(int cpu, int vector) uv_send_IPI_one() argument
262 uv_hub_send_ipi(pnode, apicid, vector); uv_send_IPI_one()
265 static void uv_send_IPI_mask(const struct cpumask *mask, int vector) uv_send_IPI_mask() argument
270 uv_send_IPI_one(cpu, vector); uv_send_IPI_mask()
273 static void uv_send_IPI_mask_allbutself(const struct cpumask *mask, int vector) uv_send_IPI_mask_allbutself() argument
280 uv_send_IPI_one(cpu, vector); for_each_cpu()
284 static void uv_send_IPI_allbutself(int vector) uv_send_IPI_allbutself() argument
291 uv_send_IPI_one(cpu, vector); for_each_online_cpu()
295 static void uv_send_IPI_all(int vector) uv_send_IPI_all() argument
297 uv_send_IPI_mask(cpu_online_mask, vector); uv_send_IPI_all()
368 static void uv_send_IPI_self(int vector) uv_send_IPI_self() argument
370 apic_write(APIC_SELF_IPI, vector); uv_send_IPI_self()
H A Dmsi.c50 MSI_DATA_VECTOR(cfg->vector); native_compose_msi_msg()
93 msg.data |= MSI_DATA_VECTOR(cfg->vector); msi_set_affinity()
195 msg.data |= MSI_DATA_VECTOR(cfg->vector); dmar_msi_set_affinity()
250 msg.data |= MSI_DATA_VECTOR(cfg->vector); hpet_msi_set_affinity()
/linux-4.1.27/drivers/net/wireless/ti/wl18xx/
H A Devent.c118 u32 vector; wl18xx_process_mailbox_events() local
120 vector = le32_to_cpu(mbox->events_vector); wl18xx_process_mailbox_events()
121 wl1271_debug(DEBUG_EVENT, "MBOX vector: 0x%x", vector); wl18xx_process_mailbox_events()
123 if (vector & SCAN_COMPLETE_EVENT_ID) { wl18xx_process_mailbox_events()
131 if (vector & RADAR_DETECTED_EVENT_ID) { wl18xx_process_mailbox_events()
139 if (vector & PERIODIC_SCAN_REPORT_EVENT_ID) { wl18xx_process_mailbox_events()
147 if (vector & PERIODIC_SCAN_COMPLETE_EVENT_ID) wl18xx_process_mailbox_events()
150 if (vector & RSSI_SNR_TRIGGER_0_EVENT_ID) wl18xx_process_mailbox_events()
153 if (vector & BA_SESSION_RX_CONSTRAINT_EVENT_ID) wl18xx_process_mailbox_events()
158 if (vector & BSS_LOSS_EVENT_ID) wl18xx_process_mailbox_events()
162 if (vector & CHANNEL_SWITCH_COMPLETE_EVENT_ID) wl18xx_process_mailbox_events()
167 if (vector & DUMMY_PACKET_EVENT_ID) wl18xx_process_mailbox_events()
174 if (vector & MAX_TX_FAILURE_EVENT_ID) wl18xx_process_mailbox_events()
178 if (vector & INACTIVE_STA_EVENT_ID) wl18xx_process_mailbox_events()
182 if (vector & REMAIN_ON_CHANNEL_COMPLETE_EVENT_ID) wl18xx_process_mailbox_events()
185 if (vector & SMART_CONFIG_SYNC_EVENT_ID) wl18xx_process_mailbox_events()
189 if (vector & SMART_CONFIG_DECODE_EVENT_ID) wl18xx_process_mailbox_events()
/linux-4.1.27/arch/powerpc/platforms/86xx/
H A Dmpc86xx_smp.c65 unsigned int *vector = (unsigned int *)(KERNELBASE + 0x100); smp_86xx_kick_cpu() local
74 /* Save reset vector */ smp_86xx_kick_cpu()
75 save_vector = *vector; smp_86xx_kick_cpu()
77 /* Setup fake reset vector to call __secondary_start_mpc86xx. */ smp_86xx_kick_cpu()
79 patch_branch(vector, target, BRANCH_SET_LINK); smp_86xx_kick_cpu()
88 /* Restore the exception vector */ smp_86xx_kick_cpu()
89 *vector = save_vector; smp_86xx_kick_cpu()
90 flush_icache_range((unsigned long) vector, (unsigned long) vector + 4); smp_86xx_kick_cpu()
/linux-4.1.27/arch/m68k/include/asm/
H A Dm68360.h11 #define CPM_VECTOR_BASE 0x04 /* 3 MSbits of CPM vector */
H A Dhardirq.h12 pr_crit("unexpected IRQ trap at vector %02x\n", irq); ack_bad_irq()
H A Dsun3xprom.h29 /* vector table */
/linux-4.1.27/include/linux/
H A Daltera_jtaguart.h13 unsigned int irq; /* Interrupt vector */
H A Daltera_uart.h10 unsigned int irq; /* Interrupt vector */
/linux-4.1.27/arch/arm/mach-berlin/
H A Dheadsmp.S16 * If the following instruction is set in the reset exception vector, CPUs
17 * will fetch the value of the software reset address vector when being
H A Dplatsmp.c45 * exception vector. berlin_boot_secondary()
79 * in the reset exception vector. berlin_smp_prepare_cpus()
85 * vector. This is used by boot_inst. berlin_smp_prepare_cpus()
/linux-4.1.27/arch/x86/kernel/
H A Dirq.c27 /* Function pointer for generic interrupt vector handling */
31 * 'what should we do if we get a hw irq event on an illegal vector'.
37 pr_err("unexpected IRQ trap at vector %02x\n", irq); ack_bad_irq()
192 unsigned vector = ~regs->orig_ax; do_IRQ() local
198 irq = __this_cpu_read(vector_irq[vector]); do_IRQ()
204 pr_emerg_ratelimited("%s: %d.%d No irq handler for vector (irq %d)\n", do_IRQ()
206 vector, irq); do_IRQ()
208 __this_cpu_write(vector_irq[vector], VECTOR_UNDEFINED); do_IRQ()
292 unsigned int this_cpu, vector, this_count, count; check_irq_vectors_for_cpu_disable() local
301 for (vector = FIRST_EXTERNAL_VECTOR; vector < NR_VECTORS; vector++) { check_irq_vectors_for_cpu_disable()
302 irq = __this_cpu_read(vector_irq[vector]); check_irq_vectors_for_cpu_disable()
343 * vector. If the vector is marked in the used vectors for_each_online_cpu()
347 for (vector = FIRST_EXTERNAL_VECTOR; for_each_online_cpu()
348 vector < first_system_vector; vector++) { for_each_online_cpu()
349 if (!test_bit(vector, used_vectors) && for_each_online_cpu()
350 per_cpu(vector_irq, cpu)[vector] < 0) for_each_online_cpu()
366 unsigned int irq, vector; fixup_irqs() local
447 for (vector = FIRST_EXTERNAL_VECTOR; vector < NR_VECTORS; vector++) {
450 if (__this_cpu_read(vector_irq[vector]) <= VECTOR_UNDEFINED)
453 irr = apic_read(APIC_IRR + (vector / 32 * 0x10));
454 if (irr & (1 << (vector % 32))) {
455 irq = __this_cpu_read(vector_irq[vector]);
463 __this_cpu_write(vector_irq[vector], VECTOR_RETRIGGERED);
467 if (__this_cpu_read(vector_irq[vector]) != VECTOR_RETRIGGERED)
468 __this_cpu_write(vector_irq[vector], VECTOR_UNDEFINED);
H A Dirqinit.c42 * (these are usually mapped into the 0x30-0xff vector range)
58 int vector_used_by_percpu_irq(unsigned int vector) vector_used_by_percpu_irq() argument
63 if (per_cpu(vector_irq, cpu)[vector] > VECTOR_UNDEFINED) for_each_online_cpu()
93 * then this vector space can be freed and re-used dynamically as the init_IRQ()
171 * Cover the whole vector space, no vector can escape native_init_IRQ()
H A Dtracepoint.c2 * Code for supporting irq vector tracepoints.
/linux-4.1.27/arch/ia64/include/asm/
H A Dhw_irq.h48 #define IA64_CPEP_VECTOR 0x1c /* corrected platform error polling vector */
49 #define IA64_CMCP_VECTOR 0x1d /* corrected machine-check polling vector */
50 #define IA64_CPE_VECTOR 0x1e /* corrected platform error interrupt vector */
51 #define IA64_CMC_VECTOR 0x1f /* corrected machine-check interrupt vector */
54 * Use vectors 0x30-0xe7 as the default device vector range for ia64.
63 /* Reserve the lower priority vector than device vectors for "move IRQ" IPI */
76 #define IA64_PERFMON_VECTOR 0xee /* performance monitor interrupt vector */
81 #define IA64_IPI_VECTOR 0xfe /* inter-processor interrupt vector */
95 IA64_IPI_DM_NMI = 0x4, /* pend an NMI (vector 2) */
104 ia64_vector vector; member in struct:irq_cfg
128 extern int bind_irq_vector(int irq, int vector, cpumask_t domain);
129 extern int ia64_native_assign_irq_vector (int irq); /* allocate a free vector */
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) ia64_native_resend_irq() argument
147 platform_send_ipi(smp_processor_id(), vector, IA64_IPI_DM_INT, 0); ia64_native_resend_irq() local
156 return irq_cfg[irq].vector; __ia64_irq_to_vector()
170 * domains meaning that the translation from vector number to irq number depends on the
172 * differences and provides a uniform means to translate between vector and irq numbers
176 /* Extract the IA-64 vector that corresponds to IRQ. */
184 * Convert the local IA-64 vector to the corresponding irq number. This translation is
H A Diosapic.h84 static inline void iosapic_eoi(char __iomem *iosapic, u32 vector) iosapic_eoi() argument
86 writel(vector, iosapic + IOSAPIC_EOI); iosapic_eoi()
H A Dparavirt.h218 void (*free_irq_vector)(int vector);
223 void (*resend_irq)(unsigned int vector);
241 free_irq_vector(int vector) free_irq_vector() argument
243 return pv_irq_ops.free_irq_vector(vector); free_irq_vector()
253 ia64_resend_irq(unsigned int vector) ia64_resend_irq() argument
255 pv_irq_ops.resend_irq(vector); ia64_resend_irq()
/linux-4.1.27/arch/x86/kvm/
H A Dirq.c90 * vector and intack.
100 * Read pending interrupt vector and intack.
104 int vector; kvm_cpu_get_interrupt() local
109 vector = kvm_cpu_get_extint(v); kvm_cpu_get_interrupt()
111 if (vector != -1) kvm_cpu_get_interrupt()
112 return vector; /* PIC */ kvm_cpu_get_interrupt()
H A Dioapic.h50 u8 vector; member in struct:kvm_ioapic_redirect_entry::__anon3166
101 static inline bool kvm_ioapic_handles_vector(struct kvm *kvm, int vector) kvm_ioapic_handles_vector() argument
105 return test_bit(vector, ioapic->handled_vectors); kvm_ioapic_handles_vector()
112 void kvm_ioapic_update_eoi(struct kvm_vcpu *vcpu, int vector,
H A Dlapic.c88 bool kvm_apic_pending_eoi(struct kvm_vcpu *vcpu, int vector) kvm_apic_pending_eoi() argument
92 return apic_test_vector(vector, apic->regs + APIC_ISR) || kvm_apic_pending_eoi()
93 apic_test_vector(vector, apic->regs + APIC_IRR); kvm_apic_pending_eoi()
419 * The highest vector is injected. Thus the latest bit set matches apic_set_isr()
487 int vector, int level, int trig_mode,
495 return __apic_accept_irq(apic, irq->delivery_mode, irq->vector, kvm_apic_set_irq()
765 int vector, int level, int trig_mode, __apic_accept_irq()
772 trig_mode, vector); __apic_accept_irq()
787 kvm_x86_ops->deliver_posted_interrupt(vcpu, vector); __apic_accept_irq()
789 apic_set_irr(vector, apic); __apic_accept_irq()
830 apic_debug("SIPI to vcpu %d vector 0x%02x\n", __apic_accept_irq()
831 vcpu->vcpu_id, vector); __apic_accept_irq()
833 apic->sipi_vector = vector; __apic_accept_irq()
862 static void kvm_ioapic_send_eoi(struct kvm_lapic *apic, int vector) kvm_ioapic_send_eoi() argument
864 if (kvm_ioapic_handles_vector(apic->vcpu->kvm, vector)) { kvm_ioapic_send_eoi()
866 if (apic_test_vector(vector, apic->regs + APIC_TMR)) kvm_ioapic_send_eoi()
870 kvm_ioapic_update_eoi(apic->vcpu, vector, trigger_mode); kvm_ioapic_send_eoi()
876 int vector = apic_find_highest_isr(apic); apic_set_eoi() local
878 trace_kvm_eoi(apic, vector); apic_set_eoi()
884 if (vector == -1) apic_set_eoi()
885 return vector; apic_set_eoi()
887 apic_clear_isr(vector, apic); apic_set_eoi()
890 kvm_ioapic_send_eoi(apic, vector); apic_set_eoi()
892 return vector; apic_set_eoi()
899 void kvm_apic_set_eoi_accelerated(struct kvm_vcpu *vcpu, int vector) kvm_apic_set_eoi_accelerated() argument
903 trace_kvm_eoi(apic, vector); kvm_apic_set_eoi_accelerated()
905 kvm_ioapic_send_eoi(apic, vector); kvm_apic_set_eoi_accelerated()
916 irq.vector = icr_low & APIC_VECTOR_MASK; apic_send_ipi()
931 "dest_mode 0x%x, delivery_mode 0x%x, vector 0x%x\n", apic_send_ipi()
934 irq.vector); apic_send_ipi()
1338 /* TODO: Check vector */ apic_reg_write()
1649 int vector, mode, trig_mode; kvm_apic_local_deliver() local
1652 vector = reg & APIC_VECTOR_MASK; kvm_apic_local_deliver()
1655 return __apic_accept_irq(apic, mode, vector, 1, trig_mode, kvm_apic_local_deliver()
1778 int vector = kvm_apic_has_interrupt(vcpu); kvm_get_apic_interrupt() local
1781 if (vector == -1) kvm_get_apic_interrupt()
1791 apic_set_isr(vector, apic); kvm_get_apic_interrupt()
1793 apic_clear_irr(vector, apic); kvm_get_apic_interrupt()
1794 return vector; kvm_get_apic_interrupt()
1853 int vector; apic_sync_pv_eoi_from_guest() local
1875 vector = apic_set_eoi(apic); apic_sync_pv_eoi_from_guest()
1876 trace_kvm_pv_eoi(apic, vector); apic_sync_pv_eoi_from_guest()
1972 /* if this is ICR write vector before command */ kvm_x2apic_msr_write()
2009 /* if this is ICR write vector before command */ kvm_hv_vapic_msr_write()
2067 /* evaluate pending_events before reading the vector */ kvm_apic_accept_events()
2070 apic_debug("vcpu %d received sipi with vector # %x\n", kvm_apic_accept_events()
764 __apic_accept_irq(struct kvm_lapic *apic, int delivery_mode, int vector, int level, int trig_mode, unsigned long *dest_map) __apic_accept_irq() argument
H A Dioapic.c119 new_val = kvm_apic_pending_eoi(vcpu, e->fields.vector); __rtc_irq_eoi_tracking_restore_one()
243 __set_bit(ioapic->redirtbl[i].fields.vector, handled_vectors); update_handled_vectors()
264 __set_bit(e->fields.vector, kvm_ioapic_scan_entry()
267 __set_bit(e->fields.vector, kvm_ioapic_scan_entry()
340 "vector=%x trig_mode=%x\n", ioapic_service()
342 entry->fields.delivery_mode, entry->fields.vector, ioapic_service()
346 irqe.vector = entry->fields.vector; ioapic_service()
424 struct kvm_ioapic *ioapic, int vector, int trigger_mode) __kvm_ioapic_update_eoi()
432 if (ent->fields.vector != vector) __kvm_ioapic_update_eoi()
441 * to notifiers if the same vector will be delivered while lock __kvm_ioapic_update_eoi()
478 void kvm_ioapic_update_eoi(struct kvm_vcpu *vcpu, int vector, int trigger_mode) kvm_ioapic_update_eoi() argument
483 __kvm_ioapic_update_eoi(vcpu, ioapic, vector, trigger_mode); kvm_ioapic_update_eoi()
423 __kvm_ioapic_update_eoi(struct kvm_vcpu *vcpu, struct kvm_ioapic *ioapic, int vector, int trigger_mode) __kvm_ioapic_update_eoi() argument
H A Dassigned-dev.c74 if (irq == host_msix_entries[i].vector) { find_index_from_host_irq()
102 int vector) kvm_assigned_dev_raise_guest_irq()
109 assigned_dev->irq_source_id, vector, 1, kvm_assigned_dev_raise_guest_irq()
114 vector, 1, false); kvm_assigned_dev_raise_guest_irq()
160 u32 vector; kvm_assigned_dev_msix() local
164 vector = assigned_dev->guest_msix_entries[index].vector; kvm_assigned_dev_msix()
167 vector, 1); kvm_assigned_dev_msix()
177 u32 vector; kvm_assigned_dev_thread_msix() local
180 vector = assigned_dev->guest_msix_entries[index].vector; kvm_assigned_dev_thread_msix()
181 kvm_assigned_dev_raise_guest_irq(assigned_dev, vector); kvm_assigned_dev_thread_msix()
257 disable_irq(assigned_dev->host_msix_entries[i].vector); deassign_host_irq()
260 free_irq(assigned_dev->host_msix_entries[i].vector, deassign_host_irq()
430 r = request_threaded_irq(dev->host_msix_entries[i].vector, assigned_device_enable_host_msix()
441 free_irq(dev->host_msix_entries[i].vector, dev); assigned_device_enable_host_msix()
892 if (adev->guest_msix_entries[i].vector == 0 || kvm_vm_ioctl_set_msix_entry()
895 adev->guest_msix_entries[i].vector = entry->gsi; kvm_vm_ioctl_set_msix_entry()
101 kvm_assigned_dev_raise_guest_irq(struct kvm_assigned_dev_kernel *assigned_dev, int vector) kvm_assigned_dev_raise_guest_irq() argument
H A Dtrace.h443 TP_PROTO(struct kvm_lapic *apic, int vector),
444 TP_ARGS(apic, vector),
448 __field( int, vector )
453 __entry->vector = vector;
456 TP_printk("apicid %x vector %d", __entry->apicid, __entry->vector)
460 TP_PROTO(struct kvm_lapic *apic, int vector),
461 TP_ARGS(apic, vector),
465 __field( int, vector )
470 __entry->vector = vector;
473 TP_printk("apicid %x vector %d", __entry->apicid, __entry->vector)
H A Dlapic.h31 /* The highest vector set in ISR; if -1 - invalid, must scan ISR. */
79 void kvm_apic_set_eoi_accelerated(struct kvm_vcpu *vcpu, int vector);
156 bool kvm_apic_pending_eoi(struct kvm_vcpu *vcpu, int vector);
/linux-4.1.27/drivers/crypto/ux500/cryp/
H A Dcryp_irqp.h64 * @init_vect_0_l - init vector 0 L
65 * @init_vect_0_r - init vector 0 R
66 * @init_vect_1_l - init vector 1 L
67 * @init_vect_1_r - init vector 1 R
103 u32 init_vect_0_l; /*init vector 0 L */
104 u32 init_vect_0_r; /*init vector 0 R */
105 u32 init_vect_1_l; /*init vector 1 L */
106 u32 init_vect_1_r; /*init vector 1 R */
H A Dcryp.h174 * @init_vect_0_l: Initialization vector 0l register
175 * @init_vect_0_r: Initialization vector 0r register
176 * @init_vect_1_l: Initialization vector 1l register
177 * @init_vect_1_r: Initialization vector 0r register
/linux-4.1.27/drivers/s390/cio/
H A Dairq.c115 * airq_iv_create - create an interrupt vector
116 * @bits: number of bits in the interrupt vector
119 * Returns a pointer to an interrupt vector structure
131 iv->vector = kzalloc(size, GFP_KERNEL); airq_iv_create()
132 if (!iv->vector) airq_iv_create()
166 kfree(iv->vector); airq_iv_create()
174 * airq_iv_release - release an interrupt vector
175 * @iv: pointer to interrupt vector structure
182 kfree(iv->vector); airq_iv_release()
189 * airq_iv_alloc - allocate irq bits from an interrupt vector
190 * @iv: pointer to an interrupt vector structure
227 * airq_iv_free - free irq bits of an interrupt vector
228 * @iv: pointer to interrupt vector structure
241 clear_bit_inv(bit + i, iv->vector); airq_iv_free()
255 * airq_iv_scan - scan interrupt vector for non-zero bits
256 * @iv: pointer to interrupt vector structure
269 bit = find_next_bit_inv(iv->vector, end, start); airq_iv_scan()
272 clear_bit_inv(bit, iv->vector); airq_iv_scan()
/linux-4.1.27/drivers/net/wireless/ti/wl1251/
H A Devent.c96 u32 vector; wl1251_event_process() local
100 vector = mbox->events_vector & ~(mbox->events_mask); wl1251_event_process()
101 wl1251_debug(DEBUG_EVENT, "vector: 0x%x", vector); wl1251_event_process()
103 if (vector & SCAN_COMPLETE_EVENT_ID) { wl1251_event_process()
109 if (vector & BSS_LOSE_EVENT_ID) { wl1251_event_process()
120 if (vector & PS_REPORT_EVENT_ID) { wl1251_event_process()
127 if (vector & SYNCHRONIZATION_TIMEOUT_EVENT_ID) { wl1251_event_process()
135 if (vector & REGAINED_BSS_EVENT_ID) { wl1251_event_process()
144 if (vector & ROAMING_TRIGGER_LOW_RSSI_EVENT_ID) { wl1251_event_process()
152 if (vector & ROAMING_TRIGGER_REGAINED_RSSI_EVENT_ID) { wl1251_event_process()
/linux-4.1.27/arch/s390/include/asm/
H A Dhardirq.h23 printk(KERN_CRIT "unexpected IRQ trap at vector %02x\n", irq); ack_bad_irq()
H A Dairq.h28 /* Adapter interrupt bit vector */
30 unsigned long *vector; /* Adapter interrupt bit vector */ member in struct:airq_iv
31 unsigned long *avail; /* Allocation bit mask for the bit vector */
32 unsigned long *bitlock; /* Lock bit mask for the bit vector */
35 unsigned long bits; /* Number of bits in the vector */
H A Dpci_insn.h67 u32 aibvo : 6; /* Adapter interrupt bit vector offset */
72 u64 aibv; /* Adapter int bit vector address */
H A Dnmi.h41 __u32 vr : 1; /* 25 vector register validity */
/linux-4.1.27/arch/m68k/hp300/
H A Dtime.c41 irq_handler_t vector = dev_id; hp300_tick() local
46 return vector(irq, NULL); hp300_tick()
65 void __init hp300_sched_init(irq_handler_t vector) hp300_sched_init() argument
72 if (request_irq(IRQ_AUTO_6, hp300_tick, 0, "timer tick", vector)) hp300_sched_init()
/linux-4.1.27/arch/m68k/include/uapi/asm/
H A Dptrace.h43 unsigned vector : 12; /* vector offset */ member in struct:pt_regs
50 unsigned vector : 12; /* vector offset */ member in struct:pt_regs
/linux-4.1.27/arch/m68k/sun3x/
H A Dtime.h6 void sun3x_sched_init(irq_handler_t vector);
H A Dtime.c82 void (*vector)(int, void *, struct pt_regs *) = dev_id;
88 vector(irq, NULL, regs);
92 void __init sun3x_sched_init(irq_handler_t vector) sun3x_sched_init() argument
H A Dprom.c30 /* prom vector table */
96 /* Read the vector table */ sun3x_prom_init()
/linux-4.1.27/arch/arm/include/asm/
H A Dhw_irq.h11 pr_crit("unexpected IRQ trap at vector %02x\n", irq); ack_bad_irq()
/linux-4.1.27/security/selinux/include/
H A Davc_ss.h2 * Access vector cache interface for the security server.
/linux-4.1.27/include/asm-generic/
H A Dhardirq.h17 printk(KERN_CRIT "unexpected IRQ trap at vector %02x\n", irq); ack_bad_irq()
/linux-4.1.27/arch/m68k/kernel/
H A Dints.c69 * @handler: called from auto vector interrupts
71 * setup the handler to be called from auto vector interrupts instead of the
84 * @vec: first user vector interrupt to handle
85 * @cnt: number of active user vector interrupts
87 * setup user vector interrupts, this includes activating the specified range
89 * different from auto vector interrupts).
168 pr_warn("unexpected interrupt from %u\n", regs->vector); handle_badint()
/linux-4.1.27/arch/alpha/kernel/
H A Dirq_srm.c60 srm_device_interrupt(unsigned long vector) srm_device_interrupt() argument
62 int irq = (vector - 0x800) >> 4; srm_device_interrupt()
H A Dsys_jensen.c37 * Jensen is special: the vector is 0x8X0 for EISA interrupt X, and
96 jensen_device_interrupt(unsigned long vector) jensen_device_interrupt() argument
100 switch (vector) { jensen_device_interrupt()
113 if (vector > 0x900) { jensen_device_interrupt()
114 printk("Unknown local interrupt %lx\n", vector); jensen_device_interrupt()
118 irq = (vector - 0x800) >> 4; jensen_device_interrupt()
127 if (vector >= 0x900) jensen_device_interrupt()
211 jensen_machine_check(unsigned long vector, unsigned long la) jensen_machine_check() argument
H A Dsys_titan.c163 titan_device_interrupt(unsigned long vector) titan_device_interrupt()
169 titan_srm_device_interrupt(unsigned long vector) titan_srm_device_interrupt()
173 irq = (vector - 0x800) >> 4; titan_srm_device_interrupt()
238 unsigned long vector; titan_dispatch_irqs()
249 /* convert to SRM vector... priority is <63> -> <0> */ titan_dispatch_irqs()
250 vector = 63 - __kernel_ctlz(mask); titan_dispatch_irqs()
251 mask &= ~(1UL << vector); /* clear it out */ titan_dispatch_irqs()
252 vector = 0x900 + (vector << 4); /* convert to SRM vector */ titan_dispatch_irqs()
255 alpha_mv.device_interrupt(vector); titan_dispatch_irqs()
162 titan_device_interrupt(unsigned long vector) titan_device_interrupt() argument
168 titan_srm_device_interrupt(unsigned long vector) titan_srm_device_interrupt() argument
237 unsigned long vector; titan_dispatch_irqs() local
H A Dirq_alpha.c30 dummy_perf(unsigned long vector, struct pt_regs *regs) dummy_perf() argument
44 do_entInt(unsigned long type, unsigned long vector, do_entInt() argument
74 alpha_mv.machine_check(vector, la_ptr); do_entInt()
79 alpha_mv.device_interrupt(vector); do_entInt()
87 type, vector); do_entInt()
127 process_mcheck_info(unsigned long vector, unsigned long la_ptr, process_mcheck_info() argument
154 printk(KERN_CRIT "%s machine check: vector=0x%lx pc=0x%lx code=0x%x\n", process_mcheck_info()
155 machine, vector, get_irq_regs()->pc, mchk_header->code); process_mcheck_info()
213 * processed by PALcode, and comes in via entInt vector 1.
H A Dirq_i8259.c124 isa_device_interrupt(unsigned long vector) isa_device_interrupt() argument
128 * respond with the interrupt vector of the highest priority isa_device_interrupt()
130 * interrupts vectors such that irq level L generates vector L. isa_device_interrupt()
140 isa_no_iack_sc_device_interrupt(unsigned long vector) isa_no_iack_sc_device_interrupt() argument
H A 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,
H A Dirq_pyxis.c67 pyxis_device_interrupt(unsigned long vector) pyxis_device_interrupt() argument
84 isa_device_interrupt(vector); pyxis_device_interrupt()
H A Dsys_nautilus.c121 naut_sys_machine_check(unsigned long vector, unsigned long la_ptr, naut_sys_machine_check() argument
132 nautilus_machine_check(unsigned long vector, unsigned long la_ptr) nautilus_machine_check() argument
140 if (vector == SCB_Q_SYSMCHK nautilus_machine_check()
167 if (vector == SCB_Q_SYSERR) nautilus_machine_check()
169 else if (vector == SCB_Q_SYSMCHK) nautilus_machine_check()
172 ev6_machine_check(vector, la_ptr); nautilus_machine_check()
178 vector, mchk_class); nautilus_machine_check()
180 naut_sys_machine_check(vector, la_ptr, get_irq_regs()); nautilus_machine_check()
H A Dsys_eiger.c78 eiger_device_interrupt(unsigned long vector) eiger_device_interrupt() argument
110 isa_device_interrupt(vector); eiger_device_interrupt()
115 eiger_srm_device_interrupt(unsigned long vector) eiger_srm_device_interrupt() argument
117 int irq = (vector - 0x800) >> 4; eiger_srm_device_interrupt()
H A Dsys_mikasa.c65 mikasa_device_interrupt(unsigned long vector) mikasa_device_interrupt() argument
83 isa_device_interrupt(vector); mikasa_device_interrupt()
169 mikasa_apecs_machine_check(unsigned long vector, unsigned long la_ptr) mikasa_apecs_machine_check() argument
188 process_mcheck_info(vector, la_ptr, "MIKASA APECS", mikasa_apecs_machine_check()
H A Dsys_noritake.c70 noritake_device_interrupt(unsigned long vector) noritake_device_interrupt() argument
89 isa_device_interrupt(vector); noritake_device_interrupt()
97 noritake_srm_device_interrupt(unsigned long vector) noritake_srm_device_interrupt() argument
101 irq = (vector - 0x800) >> 4; noritake_srm_device_interrupt()
258 noritake_apecs_machine_check(unsigned long vector, unsigned long la_ptr) noritake_apecs_machine_check() argument
277 process_mcheck_info(vector, la_ptr, "NORITAKE APECS", noritake_apecs_machine_check()
H A Dsys_dp264.c191 dp264_device_interrupt(unsigned long vector) dp264_device_interrupt() argument
207 isa_device_interrupt(vector); dp264_device_interrupt()
214 dp264_srm_device_interrupt(unsigned long vector) dp264_srm_device_interrupt() argument
218 irq = (vector - 0x800) >> 4; dp264_srm_device_interrupt()
221 * The SRM console reports PCI interrupts with a vector calculated by: dp264_srm_device_interrupt()
238 clipper_srm_device_interrupt(unsigned long vector) clipper_srm_device_interrupt() argument
242 irq = (vector - 0x800) >> 4; clipper_srm_device_interrupt()
245 * The SRM console reports PCI interrupts with a vector calculated by: clipper_srm_device_interrupt()
252 * to scale down the vector reported, we just use it. clipper_srm_device_interrupt()
H A Derr_ev6.c233 ev6_machine_check(unsigned long vector, unsigned long la_ptr) ev6_machine_check() argument
260 (vector == SCB_Q_PROCERR)?"Correctable":"Uncorrectable", ev6_machine_check()
261 (unsigned int)vector, (int)smp_processor_id()); ev6_machine_check()
H A Derr_ev7.c120 ev7_machine_check(unsigned long vector, unsigned long la_ptr) ev7_machine_check() argument
134 (vector == SCB_Q_PROCERR) ? "Correctable" : "Uncorrectable", ev7_machine_check()
135 (unsigned int)vector, (int)smp_processor_id()); ev7_machine_check()
H A Derr_titan.c388 titan_machine_check(unsigned long vector, unsigned long la_ptr) titan_machine_check() argument
416 if ((vector != SCB_Q_SYSMCHK) && (vector != SCB_Q_SYSERR)) { titan_machine_check()
417 ev6_machine_check(vector, la_ptr); titan_machine_check()
445 (vector == SCB_Q_SYSERR)?"Correctable":"Uncorrectable", titan_machine_check()
446 (unsigned int)vector, (int)smp_processor_id()); titan_machine_check()
658 * Fall through to vector 670 for processing... privateer_process_logout_frame()
676 * Fall through to vector 660 for processing... privateer_process_logout_frame()
709 privateer_machine_check(unsigned long vector, unsigned long la_ptr) privateer_machine_check()
730 if (vector != SCB_Q_SYSEVENT) privateer_machine_check()
731 return titan_machine_check(vector, la_ptr); privateer_machine_check()
741 (unsigned int)vector, (int)smp_processor_id()); privateer_machine_check()
708 privateer_machine_check(unsigned long vector, unsigned long la_ptr) privateer_machine_check() argument
H A Dsys_rawhide.c134 rawhide_srm_device_interrupt(unsigned long vector) rawhide_srm_device_interrupt() argument
138 irq = (vector - 0x800) >> 4; rawhide_srm_device_interrupt()
141 * The RAWHIDE SRM console reports PCI interrupts with a vector rawhide_srm_device_interrupt()
H A Dcore_polaris.c191 polaris_machine_check(unsigned long vector, unsigned long la_ptr) polaris_machine_check()
201 process_mcheck_info(vector, la_ptr, "POLARIS", polaris_machine_check()
190 polaris_machine_check(unsigned long vector, unsigned long la_ptr) polaris_machine_check() argument
H A Dsys_rx164.c68 rx164_device_interrupt(unsigned long vector) rx164_device_interrupt() argument
87 isa_no_iack_sc_device_interrupt(vector); rx164_device_interrupt()
/linux-4.1.27/arch/x86/kernel/cpu/mcheck/
H A Dthreshold.c15 printk(KERN_ERR "Unexpected threshold interrupt at vector %x\n", default_threshold_interrupt()
H A Dwinchip.c32 /* Make sure the vector pointer is visible before we enable MCEs: */ winchip_mcheck_init()
H A Dp5.c59 /* Make sure the vector pointer is visible before we enable MCEs: */ intel_p5_mcheck_init()
/linux-4.1.27/arch/arm/mach-shmobile/
H A Dplatsmp-scu.c27 /* For this particular CPU register SCU SMP boot vector */ shmobile_smp_scu_notifier_call()
50 /* Use CPU notifier for reset vector control */ shmobile_smp_scu_prepare_cpus()
57 /* For this particular CPU deregister boot vector */ shmobile_smp_scu_cpu_die()
/linux-4.1.27/arch/mn10300/kernel/
H A Dtraps.c523 u8 *vector = (u8 *)(CONFIG_INTERRUPT_VECTOR_BASE + code); __set_intr_stub() local
525 addr = (unsigned long) handler - (unsigned long) vector; __set_intr_stub()
526 vector[0] = 0xdc; /* JMP handler */ __set_intr_stub()
527 vector[1] = addr; __set_intr_stub()
528 vector[2] = addr >> 8; __set_intr_stub()
529 vector[3] = addr >> 16; __set_intr_stub()
530 vector[4] = addr >> 24; __set_intr_stub()
531 vector[5] = 0xcb; __set_intr_stub()
532 vector[6] = 0xcb; __set_intr_stub()
533 vector[7] = 0xcb; __set_intr_stub()
542 u8 *vector = (u8 *)(CONFIG_INTERRUPT_VECTOR_BASE + code); set_intr_stub() local
545 addr = (unsigned long) handler - (unsigned long) vector; set_intr_stub()
549 vector[0] = 0xdc; /* JMP handler */ set_intr_stub()
550 vector[1] = addr; set_intr_stub()
551 vector[2] = addr >> 8; set_intr_stub()
552 vector[3] = addr >> 16; set_intr_stub()
553 vector[4] = addr >> 24; set_intr_stub()
554 vector[5] = 0xcb; set_intr_stub()
555 vector[6] = 0xcb; set_intr_stub()
556 vector[7] = 0xcb; set_intr_stub()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
H A Den_cq.c120 if (!cq->vector) { mlx4_en_activate_cq()
125 &cq->vector)) { mlx4_en_activate_cq()
126 cq->vector = (cq->ring + 1 + priv->port) mlx4_en_activate_cq()
134 cq->vector = (cq->ring + 1 + priv->port) % mlx4_en_activate_cq()
140 cq->vector)); mlx4_en_activate_cq()
148 cq->vector = rx_cq->vector; mlx4_en_activate_cq()
160 cq->vector, 0, timestamp_en); mlx4_en_activate_cq()
194 if (priv->mdev->dev->caps.comp_pool && cq->vector) { mlx4_en_destroy_cq()
195 mlx4_release_eq(priv->mdev->dev, cq->vector); mlx4_en_destroy_cq()
197 cq->vector = 0; mlx4_en_destroy_cq()
H A Dcq.c285 struct mlx4_cq *cq, unsigned vector, int collapsed, mlx4_cq_alloc()
295 if (vector > dev->caps.num_comp_vectors + dev->caps.comp_pool) mlx4_cq_alloc()
298 cq->vector = vector; mlx4_cq_alloc()
322 cq_context->comp_eqn = priv->eq_table.eq[vector].eqn; mlx4_cq_alloc()
342 &priv->eq_table.eq[cq->vector].tasklet_ctx; mlx4_cq_alloc()
346 cq->irq = priv->eq_table.eq[cq->vector].irq; mlx4_cq_alloc()
371 synchronize_irq(priv->eq_table.eq[cq->vector].irq); mlx4_cq_free()
283 mlx4_cq_alloc(struct mlx4_dev *dev, int nent, struct mlx4_mtt *mtt, struct mlx4_uar *uar, u64 db_rec, struct mlx4_cq *cq, unsigned vector, int collapsed, int timestamp_en) mlx4_cq_alloc() argument
/linux-4.1.27/arch/powerpc/include/asm/
H A Dprom.h108 /* New method - extensible architecture description vector. */
110 /* Option vector bits - generic bits in byte 1 */
111 #define OV_IGNORE 0x80 /* ignore this vector */
114 /* Option vector 1: processor architectures supported */
124 /* Option vector 2: Open Firmware options supported */
127 /* Option vector 3: processor options supported */
132 /* Option vector 4: IBM PAPR implementation */
135 /* Option vector 5: PAPR/OF options supported
137 * the capabilities reported for vector 5 in the device tree so we
138 * encode the vector index in the define and use the OV5_FEAT()
163 * The architecture vector has an array of PVR mask/value pairs,
H A Dhardirq.h33 printk(KERN_CRIT "unexpected IRQ trap at vector %02x\n", irq); ack_bad_irq()
H A Dkgdb.h37 * things. For 64bit we default to not including vector registers and
38 * vector state registers. */
/linux-4.1.27/drivers/vfio/pci/
H A Dvfio_pci_intrs.c309 int vector, int fd, bool msix) vfio_msi_set_vector_signal()
312 int irq = msix ? vdev->msix[vector].vector : pdev->irq + vector; vfio_msi_set_vector_signal()
317 if (vector >= vdev->num_ctx) vfio_msi_set_vector_signal()
320 if (vdev->ctx[vector].trigger) { vfio_msi_set_vector_signal()
321 free_irq(irq, vdev->ctx[vector].trigger); vfio_msi_set_vector_signal()
322 kfree(vdev->ctx[vector].name); vfio_msi_set_vector_signal()
323 eventfd_ctx_put(vdev->ctx[vector].trigger); vfio_msi_set_vector_signal()
324 vdev->ctx[vector].trigger = NULL; vfio_msi_set_vector_signal()
330 vdev->ctx[vector].name = kasprintf(GFP_KERNEL, "%s[%d](%s)", vfio_msi_set_vector_signal()
331 name, vector, pci_name(pdev)); vfio_msi_set_vector_signal()
332 if (!vdev->ctx[vector].name) vfio_msi_set_vector_signal()
337 kfree(vdev->ctx[vector].name); vfio_msi_set_vector_signal()
342 * The MSIx vector table resides in device memory which may be cleared vfio_msi_set_vector_signal()
343 * via backdoor resets. We don't allow direct access to the vector vfio_msi_set_vector_signal()
356 vdev->ctx[vector].name, trigger); vfio_msi_set_vector_signal()
358 kfree(vdev->ctx[vector].name); vfio_msi_set_vector_signal()
363 vdev->ctx[vector].trigger = trigger; vfio_msi_set_vector_signal()
308 vfio_msi_set_vector_signal(struct vfio_pci_device *vdev, int vector, int fd, bool msix) vfio_msi_set_vector_signal() argument
/linux-4.1.27/drivers/staging/vme/devices/
H A Dvme_pio2_core.c34 static int vector[PIO2_CARDS_MAX]; variable
76 static void pio2_int(int level, int vector, void *ptr) pio2_int() argument
82 vec = vector & ~PIO2_VME_VECTOR_MASK; pio2_int()
136 /* Clear VME vector */ pio2_reset_card()
196 "The IRQ vector used by the card must be specified\n"); pio2_match()
231 card->irq_vector = vector[card->id]; pio2_probe()
246 * Bottom 4 bits of VME interrupt vector used to determine source, pio2_probe()
247 * provided vector should only use upper 4 bits. pio2_probe()
251 "Invalid VME IRQ Vector, vector must not use lower 4 bits\n"); pio2_probe()
341 /* Set VME vector */ pio2_probe()
492 MODULE_PARM_DESC(vector, "VME IRQ Vector (Lower 4 bits masked)");
493 module_param_array(vector, int, &vector_num, S_IRUGO);
/linux-4.1.27/arch/sh/kernel/
H A Dmachvec.c4 * The SuperH machine vector setup handlers, yanked from setup.c
64 /* Boot with the generic vector */ early_parse_mv()
104 * vector (usually the only one) from .machvec.init. sh_mv_setup()
H A Dsh_bios.c69 * Read the old value of the VBR register to initialise the vector
84 printk(KERN_NOTICE "Setting GDB trap vector to %p\n", sh_bios_vbr_init()
91 * sh_bios_vbr_reload - Re-load the system VBR from the BIOS vector.
/linux-4.1.27/drivers/crypto/qat/qat_dh895xcc/
H A Dadf_isr.c122 ret = request_irq(msixe[i].vector, adf_request_irqs()
127 msixe[i].vector, name); adf_request_irqs()
132 irq_set_affinity_hint(msixe[i].vector, get_cpu_mask(cpu)); adf_request_irqs()
139 ret = request_irq(msixe[i].vector, adf_msix_isr_ae, 0, name, accel_dev); adf_request_irqs()
143 msixe[i].vector, name); adf_request_irqs()
158 irq_set_affinity_hint(msixe[i].vector, NULL); adf_free_irqs()
159 free_irq(msixe[i].vector, &etr_data->banks[i]); adf_free_irqs()
161 irq_set_affinity_hint(msixe[i].vector, NULL); adf_free_irqs()
162 free_irq(msixe[i].vector, accel_dev); adf_free_irqs()
/linux-4.1.27/arch/x86/include/asm/uv/
H A Duv_irq.h16 __u64 vector : 8, member in struct:uv_IO_APIC_route_entry
/linux-4.1.27/arch/sh/include/mach-x3proto/mach/
H A Dilsel.h20 * demuxing a shared vector, really.
/linux-4.1.27/arch/powerpc/include/uapi/asm/
H A Dsigcontext.h32 * allows the array of vector registers to be quadword aligned independent of
38 * The pointer (v_regs) of vector type (elf_vrreg_t) is type compatible with
40 * indexes 0-31 contain the corresponding vector registers. The entry with
43 * it must be copied via a vector register to/from storage) or as a word.
/linux-4.1.27/arch/frv/kernel/
H A Dentry-table.S1 /* entry-table.S: main trap vector tables and exception jump table
19 # Declare the main trap and vector tables
33 # (4) The exception handler vector table
72 .section .trap.vector,"ax"
103 .section .trap.vector
124 .section .trap.vector
143 .section .trap.vector
232 .section .trap.vector
316 .section .trap.vector
/linux-4.1.27/arch/m68k/sun3/prom/
H A Dinit.c26 * It gets passed the pointer to the PROM vector.
/linux-4.1.27/arch/arc/kernel/
H A Dreset.c22 /* Soft reset : jump to reset vector */ machine_restart()
H A Dvmlinux.lds.S28 * Essentially vector is also in ICCM.
34 .vector : {
35 *(.vector)
/linux-4.1.27/net/ceph/
H A Dpagevec.c13 * build a vector of user pages
72 * allocate a vector new pages
94 * copy user data into a page vector
169 * Zero an extent within a page vector. Offset is relative to the
/linux-4.1.27/drivers/sh/intc/
H A Dirqdomain.c20 * This takes care of exception vector to hwirq translation through
23 * Note: For platforms that use a flat vector space without INTEVT this
/linux-4.1.27/arch/ia64/include/asm/sn/
H A Dintr.h66 #define CPU_VECTOR_TO_IRQ(cpuid,vector) (vector)
H A Dshub_mmr.h36 /* Description: Optional interrupt vector area, 2MB aligned */
41 /* Description: Targeted McKinley interrupt vector */
249 /* Description: Optional interrupt vector area, 2MB aligned */
254 /* Description: Targeted McKinley interrupt vector */
300 /* Description: Optional interrupt vector area, 2MB aligned */
305 /* Description: Targeted McKinley interrupt vector */
351 /* Description: Optional interrupt vector area, 2MB aligned */
356 /* Description: Targeted McKinley interrupt vector */
449 /* privilege vector for acc=0 */
455 /* privilege vector for acc=0 */
/linux-4.1.27/arch/m68k/68000/
H A Dentry.S136 movel #65,%sp@- /* put vector # on stack*/
147 movel #66,%sp@- /* put vector # on stack*/
158 movel #67,%sp@- /* put vector # on stack*/
169 movel #68,%sp@- /* put vector # on stack*/
180 movel #69,%sp@- /* put vector # on stack*/
191 movel #70,%sp@- /* put vector # on stack*/
202 movel #71,%sp@- /* put vector # on stack*/
213 movel %d0,%sp@- /* put vector # on stack*/
H A Dints.c73 * not provide the vector number on the stack, we vector everything
74 * into one vector and look in the blasted mask register...
151 * the machine vector table.
/linux-4.1.27/drivers/virtio/
H A Dvirtio_pci_common.c40 synchronize_irq(vp_dev->msix_entries[i].vector); vp_synchronize_vectors()
116 free_irq(vp_dev->msix_entries[i].vector, vp_dev); vp_free_vectors()
123 /* Disable the vector used for configuration */ vp_free_vectors()
177 /* Set the vector used for configuration */ vp_request_msix_vectors()
181 err = request_irq(vp_dev->msix_entries[v].vector, vp_request_msix_vectors()
189 /* Verify we had enough resources to assign the vector */ vp_request_msix_vectors()
196 /* Shared vector for all VQs */ vp_request_msix_vectors()
200 err = request_irq(vp_dev->msix_entries[v].vector, vp_request_msix_vectors()
285 free_irq(vp_dev->msix_entries[info->msix_vector].vector, vp_del_vqs()
359 err = request_irq(vp_dev->msix_entries[msix_vec].vector, vp_try_to_find_vqs()
383 /* Try MSI-X with one vector per queue. */ vp_find_vqs()
387 /* Fallback: MSI-X with one vector for config, one shared for queues. */ vp_find_vqs()
405 * - force the affinity for per vq vector
422 irq = vp_dev->msix_entries[info->msix_vector].vector; vp_set_vq_affinity()
H A Dvirtio_pci_common.h47 /* MSI-X vector (or none) */
102 /* Whether we have vector per vq */
113 u16 (*config_vector)(struct virtio_pci_device *vp_dev, u16 vector);
117 /* Use first vector for configuration changes, second and the rest for
144 * - force the affinity for per vq vector
H A Dvirtio_pci_legacy.c105 static u16 vp_config_vector(struct virtio_pci_device *vp_dev, u16 vector) vp_config_vector() argument
107 /* Setup the vector used for configuration events */ vp_config_vector()
108 iowrite16(vector, vp_dev->ioaddr + VIRTIO_MSI_CONFIG_VECTOR); vp_config_vector()
109 /* Verify we had enough resources to assign the vector */ vp_config_vector()
/linux-4.1.27/arch/ia64/sn/kernel/
H A Dmsi_sn.c92 * Set up the vector plumbing. Let the prom (via sn_intr_alloc) sn_setup_msi_irq()
142 * In the SN platform, bit 16 is a "send vector" bit which sn_setup_msi_irq()
143 * must be present in order to move the vector through the system. sn_setup_msi_irq()
223 unsigned int vector = data->irq; sn_msi_retrigger_irq() local
224 ia64_resend_irq(vector); sn_msi_retrigger_irq()
H A Dirq.c118 int vector; sn_retarget_vector() local
140 vector = sn_irq_info->irq_irq; sn_retarget_vector()
164 new_irq_info, vector, sn_retarget_vector()
198 set_irq_affinity_info((vector & 0xff), cpuphys, 0); sn_retarget_vector()
265 unsigned int sn_local_vector_to_irq(u8 vector) sn_local_vector_to_irq() argument
267 return (CPU_VECTOR_TO_IRQ(smp_processor_id(), vector)); sn_local_vector_to_irq()
/linux-4.1.27/arch/arm/mm/
H A Dproc-v7m.S31 * to what would be the reset vector.
84 @ Configure the vector table base address
102 ldr r5, [r12, #11 * 4] @ read the SVC vector entry
103 str r1, [r12, #11 * 4] @ write the temporary SVC vector entry
110 str r5, [r12, #11 * 4] @ restore the original SVC vector entry
/linux-4.1.27/drivers/xen/xen-pciback/
H A Dpciback_ops.c51 * overwritten with the MSI vector. xen_pcibk_control_isr()
157 /* The value the guest needs is actually the IDT vector, not the xen_pcibk_enable_msi()
227 entries[i].vector = op->msix_entries[i].vector; xen_pcibk_enable_msix()
234 if (entries[i].vector) { xen_pcibk_enable_msix()
235 op->msix_entries[i].vector = xen_pcibk_enable_msix()
236 xen_pirq_from_irq(entries[i].vector); xen_pcibk_enable_msix()
241 op->msix_entries[i].vector); xen_pcibk_enable_msix()
372 pdev->sh_info->op.msix_entries[i].vector = xen_pcibk_do_op()
373 op->msix_entries[i].vector; xen_pcibk_do_op()
/linux-4.1.27/arch/mips/kernel/
H A Dbmips_vec.S32 * Alternate CPU1 startup vector for BMIPS4350
35 * it to resume execution at 0x8000_0200 (!BEV IV vector) when it is
57 /* set up relocation vector address based on thread ID */
76 * Reset/NMI vector
129 * CPU1 reset vector (used for the initial boot only)
169 /* set exception vector base */
213 * CPU1 warm restart vector (used for second and subsequent boots).
H A Dr4k_switch.S67 /* Check whether we're saving scalar or vector context. */
70 /* Save 128b MSA vector context + scalar FP control & status. */
141 * Save a thread's MSA vector context.
149 * Restore a thread's MSA vector context.
/linux-4.1.27/drivers/scsi/csiostor/
H A Dcsio_isr.c360 /* Non-data vector */ csio_add_msix_desc()
402 /* Add the MSIX vector descriptions */ csio_request_irqs()
405 rv = request_irq(entryp[k].vector, csio_nondata_isr, 0, csio_request_irqs()
409 entryp[k].vector, rv); csio_request_irqs()
415 rv = request_irq(entryp[k].vector, csio_fwevt_isr, 0, csio_request_irqs()
419 entryp[k].vector, rv); csio_request_irqs()
432 rv = request_irq(entryp[k].vector, csio_scsi_isr, 0, csio_request_irqs()
437 entryp[k].vector, rv); csio_request_irqs()
454 free_irq(entryp->vector, entryp->dev_id); csio_request_irqs()
471 free_irq(entryp->vector, entryp->dev_id); csio_disable_msix()
538 entryp->vector = entries[i].vector; csio_enable_msix()
/linux-4.1.27/include/trace/events/
H A Dirq.h122 * @vec_nr: softirq vector number
136 * @vec_nr: softirq vector number
150 * @vec_nr: softirq vector number
/linux-4.1.27/security/selinux/ss/
H A Davtab.h2 * An access vector table (avtab) is a hash table
4 * by a type pair and a class. An access vector
46 u32 data; /* access vector or type value */
/linux-4.1.27/drivers/xen/events/
H A Devents_internal.h27 * PIRQ - vector, with MSB being "needs EIO", or physical IRQ of the HVM
30 * IPI - IPI vector
47 unsigned char vector; member in struct:irq_info::__anon10705::__anon10706
/linux-4.1.27/arch/sparc/prom/
H A Dinit_64.c26 * It gets passed the pointer to the PROM vector.
H A Dinit_32.c31 * It gets passed the pointer to the PROM vector.
/linux-4.1.27/arch/tile/include/asm/
H A Dchecksum.h27 * The implementation does two vector adds to capture any overflow.
/linux-4.1.27/arch/mips/cobalt/
H A Dirq.c2 * IRQ vector handles
/linux-4.1.27/arch/mips/fw/arc/
H A Dinit.c35 printk(KERN_CRIT "Aieee, bad prom vector magic %08lx\n", prom_init()
/linux-4.1.27/include/uapi/linux/
H A Dauxvec.h8 #define AT_NULL 0 /* end of vector */
/linux-4.1.27/arch/s390/include/uapi/asm/
H A Ducontext.h11 #define UC_VXRS 2 /* uc_mcontext_ext has valid vector regs */
H A Dkvm.h168 __u64 vrs[32][2]; /* vector registers */
169 __u8 reserved[512]; /* for future vector expansion */
170 __u32 fpc; /* only valid with vector registers */
/linux-4.1.27/arch/sh/include/uapi/asm/
H A Dcpu-features.h13 * auxiliary vector as AT_HWCAP.
/linux-4.1.27/arch/mips/rb532/
H A Dsetup.c30 /* just jump to the reset vector */ rb_machine_restart()
/linux-4.1.27/arch/parisc/include/asm/
H A Dhardirq.h44 #define ack_bad_irq(irq) WARN(1, "unexpected IRQ trap at vector %02x\n", irq)
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/asm/
H A Dcpu_vect.h1 /* Interrupt vector numbers autogenerated by /n/asic/design/tools/rdesc/src/rdes2intr version
H A Dintr_vect.h1 /* Interrupt vector numbers autogenerated by /n/asic/design/tools/rdesc/src/rdes2intr version
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/
H A Dcpu_vect.h1 /* Interrupt vector numbers autogenerated by /n/asic/design/tools/rdesc/src/rdes2intr version
/linux-4.1.27/arch/cris/include/arch-v32/mach-a3/mach/hwregs/
H A Dintr_vect.h1 /* Interrupt vector numbers autogenerated by ../../../tools/rdesc/bin/rdes2intr
/linux-4.1.27/arch/cris/include/arch-v32/mach-fs/mach/hwregs/
H A Dintr_vect.h1 /* Interrupt vector numbers autogenerated by /n/asic/design/tools/rdesc/src/rdes2intr version
/linux-4.1.27/arch/m68k/coldfire/
H A Dvectors.c48 * handler that handle almost every vector. We treat trap_init()
/linux-4.1.27/arch/arm/mach-tegra/
H A Dirammap.h27 * This area is used for LPx resume vector, only while LPx power state is
H A Dreset.c47 * vector in the entire system. tegra_cpu_reset_handler_set()
54 * Prevent further modifications to the physical reset vector. tegra_cpu_reset_handler_set()
/linux-4.1.27/arch/arm/mach-keystone/
H A Dplatsmp.c32 pr_debug("keystone-smp: booting cpu %d, vector %08lx\n", keystone_smp_boot_secondary()
/linux-4.1.27/kernel/irq/
H A Ddummychip.c14 * What should we do if we get a hw irq event on an illegal vector?
/linux-4.1.27/arch/mips/bcm63xx/
H A Dprom.c79 * The bootloader has set up the CPU1 reset vector at prom_init()
81 * This conflicts with the special interrupt vector (IV). prom_init()
/linux-4.1.27/drivers/acpi/acpica/
H A Dhwxfsleep.c101 * waking vector should be cleared and the 32-bit waking vector should acpi_set_firmware_waking_vector()
104 * to fail to resume if the 64-bit vector is used. acpi_set_firmware_waking_vector()
107 /* Set the 32-bit vector */ acpi_set_firmware_waking_vector()
111 /* Clear the 64-bit vector if it exists */ acpi_set_firmware_waking_vector()
142 /* Determine if the 64-bit vector actually exists */ ACPI_EXPORT_SYMBOL()
148 /* Clear 32-bit vector, set the 64-bit X_ vector */ ACPI_EXPORT_SYMBOL()
/linux-4.1.27/arch/s390/hypfs/
H A Dhypfs_diag0c.c31 * Get hypfs_diag0c_entry from CPU vector and store diag0c data
59 /* Fill CPU vector for each online CPU */ for_each_online_cpu()
/linux-4.1.27/arch/m68k/mm/
H A Dhwtest.c22 * vector, and the CPU would do nothing at all. So we needed to set up
23 * a temporary VBR and a vector table for the duration of the test.
/linux-4.1.27/drivers/crypto/ccp/
H A Dccp-pci.c34 u32 vector; member in struct:ccp_msix
63 ccp_pci->msix[v].vector = msix_entry[v].vector; ccp_get_msix_irqs()
64 ret = request_irq(ccp_pci->msix[v].vector, ccp_irq_handler, ccp_get_msix_irqs()
77 free_irq(ccp_pci->msix[v].vector, dev); ccp_get_msix_irqs()
140 free_irq(ccp_pci->msix[ccp_pci->msix_count].vector, ccp_free_irqs()
/linux-4.1.27/arch/x86/platform/uv/
H A Duv_irq.c161 entry->vector = cfg->vector; arch_enable_uv_irq()
213 entry->vector = cfg->vector; uv_set_irq_affinity()
234 * Set up a mapping of an available irq and vector, and enable the specified
258 * Tear down a mapping of an irq and vector, and disable the specified MMR that
/linux-4.1.27/arch/m68k/68360/
H A Dcommproc.c65 /* CPM interrupt vector functions. */
143 * specific vector, obviating the necessity to vector through the IRQ cpm_interrupt_init()
172 /* figure out the vector */ cpm_interrupt()
173 /* call that vector's handler */ cpm_interrupt()
177 /* Get the vector by setting the ACK bit and then reading cpm_interrupt()
H A Dints.c59 * the vector table.
86 /* set up CICR for vector base address and irq level */ trap_init()
/linux-4.1.27/drivers/misc/
H A Dspear13xx_pcie_gadget.c265 ulong vector; pcie_gadget_store_int_type() local
271 vector = config->requested_msi; pcie_gadget_store_int_type()
273 while (vector > 1) { pcie_gadget_store_int_type()
274 vector /= 2; pcie_gadget_store_int_type()
297 ulong vector; pcie_gadget_show_no_of_msi() local
301 vector = 0; pcie_gadget_show_no_of_msi()
307 vector = 1; pcie_gadget_show_no_of_msi()
309 vector *= 2; pcie_gadget_show_no_of_msi()
311 config->configured_msi = vector; pcie_gadget_show_no_of_msi()
313 return sprintf(buf, "%lu", vector); pcie_gadget_show_no_of_msi()
359 ulong vector; pcie_gadget_store_send_msi() local
363 ret = kstrtoul(buf, 0, &vector); pcie_gadget_store_send_msi()
370 if (vector >= config->configured_msi) pcie_gadget_store_send_msi()
379 ven_msi |= vector << VEN_MSI_VECTOR_ID; pcie_gadget_store_send_msi()
381 /* generating interrupt for msi vector */ pcie_gadget_store_send_msi()
H A Ddummy-irq.c8 * which spurious IRQs would happen on disabled IRQ vector.
/linux-4.1.27/arch/sh/kernel/cpu/sh3/
H A Dentry.S296 ! 0x100: General exception vector
348 ! 0x400: Instruction and Data TLB miss exception vector
362 mov.l 5f, k2 ! vector register address
365 mov.l @k2, k2 ! read out vector and keep in k2
372 stc r2_bank, r0 ! k2 (vector)
439 ! 0x600: Interrupt / NMI vector
453 mov #-1, k2 ! default vector kept in k2
470 mov.l @r4, r4 ! pass INTEVT vector as arg0
474 mov r4, r0 ! save vector->jmp table offset for later
476 shlr2 r4 ! vector to IRQ# conversion
H A Dex.S4 * The SH-3 and SH-4 exception vector table.
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/
H A Di40evf_main.c192 synchronize_irq(adapter->msix_entries[0].vector); i40evf_misc_irq_disable()
225 synchronize_irq(adapter->msix_entries[i].vector); i40evf_irq_disable()
296 * i40evf_msix_aq - Interrupt handler for vector 0
388 * one vector per ring/queue, but on a constrained vector budget, we
419 * multiple queues per vector. i40evf_map_rings_to_vectors()
455 int vector, err, q_vectors; i40evf_request_traffic_irqs() local
462 for (vector = 0; vector < q_vectors; vector++) { i40evf_request_traffic_irqs()
463 struct i40e_q_vector *q_vector = adapter->q_vector[vector]; i40evf_request_traffic_irqs()
483 adapter->msix_entries[vector + NONQ_VECS].vector, i40evf_request_traffic_irqs()
496 adapter->msix_entries[vector + NONQ_VECS].vector, i40evf_request_traffic_irqs()
503 while (vector) { i40evf_request_traffic_irqs()
504 vector--; i40evf_request_traffic_irqs()
506 adapter->msix_entries[vector + NONQ_VECS].vector, i40evf_request_traffic_irqs()
508 free_irq(adapter->msix_entries[vector + NONQ_VECS].vector, i40evf_request_traffic_irqs()
509 adapter->q_vector[vector]); i40evf_request_traffic_irqs()
518 * Allocates MSI-X vector 0 and requests interrupts from the kernel. This
519 * vector is only for the admin queue, and stays active even when the netdev
530 err = request_irq(adapter->msix_entries[0].vector, i40evf_request_misc_irq()
537 free_irq(adapter->msix_entries[0].vector, netdev); i40evf_request_misc_irq()
556 irq_set_affinity_hint(adapter->msix_entries[i+1].vector, i40evf_free_traffic_irqs()
558 free_irq(adapter->msix_entries[i+1].vector, i40evf_free_traffic_irqs()
564 * i40evf_free_misc_irq - Free MSI-X miscellaneous vector
567 * Frees MSI-X vector 0.
573 free_irq(adapter->msix_entries[0].vector, netdev); i40evf_free_misc_irq()
1136 int vector, v_budget; i40evf_set_interrupt_capability() local
1161 for (vector = 0; vector < v_budget; vector++) i40evf_set_interrupt_capability()
1162 adapter->msix_entries[vector].entry = vector; i40evf_set_interrupt_capability()
1864 * needs to be disabled. All IRQs except vector 0 (reserved for admin queue)
2427 dev_err(&pdev->dev, "Cannot get interrupt vector.\n"); i40evf_resume()
/linux-4.1.27/arch/mips/include/asm/
H A Dsgiarcs.h185 /* This describes the vector containing function pointers to the ARC
254 _PLONG gevect; /* XXX General vector??? */
255 _PLONG utlbvect; /* XXX UTLB vector??? */
258 ULONG pveclen; /* Length of private vector. */
259 _PVOID pvector; /* Private vector. */
262 ULONG adap_vcnt0; /* Adapter 0 vector count. */
263 _PVOID adap_vector; /* Adapter 0 vector ptr. */
265 ULONG adap_vcnt1; /* Adapter 1 vector count. */
266 _PVOID adap_vector1; /* Adapter 1 vector ptr. */
/linux-4.1.27/drivers/iommu/
H A Dirq_remapping.c143 static void eoi_ioapic_pin_remapped(int apic, int pin, int vector) eoi_ioapic_pin_remapped() argument
146 * Intr-remapping uses pin number as the virtual vector eoi_ioapic_pin_remapped()
147 * in the RTE. Actual vector is programmed in eoi_ioapic_pin_remapped()
259 unsigned int destination, int vector, setup_ioapic_remapped_entry()
266 vector, attr); setup_ioapic_remapped_entry()
257 setup_ioapic_remapped_entry(int irq, struct IO_APIC_route_entry *entry, unsigned int destination, int vector, struct io_apic_irq_attr *attr) setup_ioapic_remapped_entry() argument
H A Dintel_irq_remapping.c948 static void prepare_irte(struct irte *irte, int vector, prepare_irte() argument
964 irte->vector = vector; prepare_irte()
971 unsigned int destination, int vector, intel_setup_ioapic_entry()
997 prepare_irte(&irte, vector, destination); intel_setup_ioapic_entry()
1011 irte.avail, irte.vector, irte.dest_id, intel_setup_ioapic_entry()
1022 * IO-APIC RTE will be configured with virtual vector. intel_setup_ioapic_entry()
1025 entry->vector = attr->ioapic_pin; intel_setup_ioapic_entry()
1043 * update(of vector and cpu destination) of IRTE and flush the hardware cache.
1046 * updated vector information), by using a virtual vector (io-apic pin number).
1047 * Real vector that is used for interrupting cpu will be coming from
1078 pr_err("Failed to recover vector for irq %d\n", irq); intel_ioapic_set_affinity()
1082 irte.vector = cfg->vector; intel_ioapic_set_affinity()
1086 * Atomically updates the IRTE with the new destination, vector intel_ioapic_set_affinity()
1094 * vector allocation. intel_ioapic_set_affinity()
1117 prepare_irte(&irte, cfg->vector, dest); intel_compose_msi_msg()
969 intel_setup_ioapic_entry(int irq, struct IO_APIC_route_entry *route_entry, unsigned int destination, int vector, struct io_apic_irq_attr *attr) intel_setup_ioapic_entry() argument
/linux-4.1.27/drivers/misc/sgi-gru/
H A Dgrukservices.h41 * - gru_create_message_queue() needs interrupt vector info
48 int interrupt_vector; /* interrupt vector */
66 * vector interrupt vector (zero if no interrupts)
75 void *p, unsigned int bytes, int nasid, int vector, int apicid);
/linux-4.1.27/drivers/usb/gadget/
H A Dconfig.c63 * @desc: Null-terminated vector of pointers to the descriptors (interface,
113 * usb_copy_descriptors - copy a vector of USB descriptors
114 * @src: null-terminated vector to copy
117 * This makes a copy of a vector of USB descriptors. Its primary use
133 /* count descriptors and their sizes; then add vector size */ usb_copy_descriptors()
/linux-4.1.27/arch/s390/kernel/
H A Dtraps.c232 /* Allocate vector register save area. */ alloc_vector_registers()
261 /* get vector interrupt code from fpc */ vector_exception()
265 case 1: /* invalid vector operation */ vector_exception()
283 do_trap(regs, SIGFPE, si_code, "vector exception"); vector_exception()
301 /* Check for vector register enablement */ data_exception()
/linux-4.1.27/fs/xfs/
H A Dxfs_icreate_item.c55 * This is called to fill in the vector of log iovecs for the
134 * This is the ops vector shared by all buf log items.
177 icp->ic_format.icl_size = 1; /* single vector */ xfs_icreate_log()
/linux-4.1.27/arch/openrisc/kernel/
H A Dtraps.c173 unsigned long ea, unsigned long vector) nommu_dump_state()
178 printk("\n\r[nommu_dump_state] :: ea %lx, vector %lx\n\r", ea, vector); nommu_dump_state()
276 void unhandled_exception(struct pt_regs *regs, int ea, int vector) unhandled_exception() argument
278 printk("Unable to handle exception at EA =0x%x, vector 0x%x", unhandled_exception()
279 ea, vector); unhandled_exception()
172 nommu_dump_state(struct pt_regs *regs, unsigned long ea, unsigned long vector) nommu_dump_state() argument
/linux-4.1.27/drivers/mcb/
H A Dmcb-internal.h53 * @irq: the position in the FPGA's IRQ controller vector
88 * @irq: the position in the FPGA's IRQ controller vector
/linux-4.1.27/drivers/i2c/
H A Di2c-boardinfo.c40 * @info: vector of i2c device descriptors
41 * @len: how many descriptors in the vector; may be zero to reserve
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dradeon_acpi.h77 * DWORD - supported functions bit vector
89 /* supported functions vector */
262 * DWORD - supported functions bit vector
264 /* supported functions vector */
338 * BYTE - ATIF display vector bit position } repeated
352 * BYTE - ATIF display vector bit position \
384 * DWORD - supported functions bit vector
386 /* supported functions vector */
/linux-4.1.27/arch/mips/mti-sead3/
H A Dsead3-init.c70 * Decrement the exception vector address by one for microMIPS. mips_nmi_setup()
87 * vector address at 0x80000381 which would have been 0x80000380 mips_nmi_setup()
/linux-4.1.27/arch/m68k/fpsp040/
H A Dx_fline.S34 | check for unimplemented vector first. Use EXC_VEC-4 because
88 movew #0x202c,EXC_VEC(%a6) |reformat vector to unimp
/linux-4.1.27/arch/arm/kernel/
H A Dfiq.c12 * be stacked onto the vector. We still do not support sharing
13 * the FIQ vector itself.
/linux-4.1.27/arch/alpha/include/asm/
H A Dmachvec.h83 void (*device_interrupt)(unsigned long vector);
84 void (*machine_check)(unsigned long vector, unsigned long la);
/linux-4.1.27/drivers/net/ethernet/brocade/bna/
H A Dbnad.c67 ((_bnad)->msix_table[BNAD_MAILBOX_MSIX_INDEX].vector) : \
121 int vector, nvecs; bnad_tx_buff_unmap() local
135 vector = 0; bnad_tx_buff_unmap()
137 vector++; bnad_tx_buff_unmap()
138 if (vector == BFI_TX_MAX_VECTORS_PER_WI) { bnad_tx_buff_unmap()
139 vector = 0; bnad_tx_buff_unmap()
145 dma_unmap_addr(&unmap->vectors[vector], dma_addr), bnad_tx_buff_unmap()
146 dma_unmap_len(&unmap->vectors[vector], dma_len), bnad_tx_buff_unmap()
148 dma_unmap_addr_set(&unmap->vectors[vector], dma_addr, 0); bnad_tx_buff_unmap()
323 dma_unmap_addr(&unmap->vector, dma_addr), bnad_rxq_cleanup_page()
324 unmap->vector.len, DMA_FROM_DEVICE); bnad_rxq_cleanup_page()
327 dma_unmap_addr_set(&unmap->vector, dma_addr, 0); bnad_rxq_cleanup_page()
328 unmap->vector.len = 0; bnad_rxq_cleanup_page()
338 dma_unmap_addr(&unmap->vector, dma_addr), bnad_rxq_cleanup_skb()
339 unmap->vector.len, DMA_FROM_DEVICE); bnad_rxq_cleanup_skb()
342 dma_unmap_addr_set(&unmap->vector, dma_addr, 0); bnad_rxq_cleanup_skb()
343 unmap->vector.len = 0; bnad_rxq_cleanup_skb()
405 dma_unmap_addr_set(&unmap->vector, dma_addr, dma_addr); bnad_rxq_refill_page()
406 unmap->vector.len = unmap_q->map_size; bnad_rxq_refill_page()
460 dma_unmap_addr_set(&unmap->vector, dma_addr, dma_addr); bnad_rxq_refill_skb()
461 unmap->vector.len = buff_sz; bnad_rxq_refill_skb()
551 dma_unmap_addr(&unmap->vector, dma_addr), bnad_cq_setup_skb_frags()
552 unmap->vector.len, DMA_FROM_DEVICE); bnad_cq_setup_skb_frags()
555 last_fraglen : unmap->vector.len; bnad_cq_setup_skb_frags()
556 skb->truesize += unmap->vector.len; bnad_cq_setup_skb_frags()
563 unmap->vector.len = 0; bnad_cq_setup_skb_frags()
577 dma_unmap_addr(&unmap->vector, dma_addr), bnad_cq_setup_skb()
578 unmap->vector.len, DMA_FROM_DEVICE); bnad_cq_setup_skb()
584 unmap->vector.len = 0; bnad_cq_setup_skb()
1426 irq = bnad->msix_table[BNAD_MAILBOX_MSIX_INDEX].vector; bnad_mbox_irq_alloc()
1495 intr_info->idl[i].vector = vector_start + i; bnad_txrx_irq_alloc()
1507 intr_info->idl[0].vector = BNAD_INTX_TX_IB_BITMASK; bnad_txrx_irq_alloc()
1511 intr_info->idl[0].vector = BNAD_INTX_RX_IB_BITMASK; bnad_txrx_irq_alloc()
1519 * Unregisters Tx MSIX vector(s) from the kernel
1533 free_irq(bnad->msix_table[vector_num].vector, tx_info->tcb[i]); bnad_tx_msix_unregister()
1538 * Registers Tx MSIX vector(s) and ISR(s), cookie with the kernel
1552 err = request_irq(bnad->msix_table[vector_num].vector, bnad_tx_msix_register()
1569 * Unregisters Rx MSIX vector(s) from the kernel
1583 free_irq(bnad->msix_table[vector_num].vector, bnad_rx_msix_unregister()
1589 * Registers Tx MSIX vector(s) and ISR(s), cookie with the kernel
1604 err = request_irq(bnad->msix_table[vector_num].vector, bnad_rx_msix_register()
2486 irq = bnad->msix_table[BNAD_MAILBOX_MSIX_INDEX].vector; bnad_mbox_irq_sync()
3037 BNA_SET_DMA_ADDR(dma_addr, &txqent->vector[0].host_addr); bnad_start_xmit()
3038 txqent->vector[0].length = htons(len); bnad_start_xmit()
3069 BNA_SET_DMA_ADDR(dma_addr, &txqent->vector[vect_id].host_addr); bnad_start_xmit()
3070 txqent->vector[vect_id].length = htons(size); bnad_start_xmit()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/
H A Dvf.c178 * ixgbevf_mta_vector - Determines bit-vector in multicast table to set
183 * bit-vector to set in the multicast table. The hardware uses 12 bits, from
184 * incoming Rx multicast addresses, to determine the bit-vector to check in
191 u32 vector = 0; ixgbevf_mta_vector() local
195 vector = ((mc_addr[4] >> 4) | (((u16)mc_addr[5]) << 4)); ixgbevf_mta_vector()
198 vector = ((mc_addr[4] >> 3) | (((u16)mc_addr[5]) << 5)); ixgbevf_mta_vector()
201 vector = ((mc_addr[4] >> 2) | (((u16)mc_addr[5]) << 6)); ixgbevf_mta_vector()
204 vector = ((mc_addr[4]) | (((u16)mc_addr[5]) << 8)); ixgbevf_mta_vector()
210 /* vector can only be 12-bits or boundary will be exceeded */ ixgbevf_mta_vector()
211 vector &= 0xFFF; ixgbevf_mta_vector()
212 return vector; ixgbevf_mta_vector()
/linux-4.1.27/drivers/misc/sgi-xp/
H A Dxp_nofault.S14 * corrected and vector to the xp_error_PIOR which will return an error.
/linux-4.1.27/arch/xtensa/kernel/
H A Dvectors.S6 * vector. These are the primary vectors executed by the processor if an
59 * User exception vector. (Exceptions with PS.UM == 1, PS.EXCM == 0)
87 * Kernel exception vector. (Exceptions with PS.UM == 0, PS.EXCM == 0)
114 * Double exception vector (Exceptions with PS.EXCM == 1)
120 * Note that this vector is never invoked for level-1 interrupts, because such
124 * double exception vector is much more careful, because a lot more error
125 * cases go through the double exception vector than through the user and
375 extui a2, a0, 0, 6 # get offset into 64-byte vector handler
376 beqz a2, 1f # if at start of vector, don't restore
444 * This is similar to the user exception vector,
592 * Debug interrupt vector
616 * simply jump (J) to another vector without having to use JX.
633 # branch to user or kernel vector
677 /* Not a window vector - but a convenient location
688 j _KernelExceptionVector # simulate kernel vector exception
690 j _UserExceptionVector # simulate user vector exception
/linux-4.1.27/arch/xtensa/platforms/iss/
H A Dsetup.c55 * jump to the reset vector. */ platform_restart()
/linux-4.1.27/arch/sparc/include/asm/
H A Dkdebug_32.h22 /* The debug vector is passed in %o1 at boot time. It is a pointer to
/linux-4.1.27/arch/tile/kernel/
H A Dhvglue.S1 /* Hypervisor call vector addresses; see <hv/hypervisor.h> */
H A Dvmlinux.lds.S7 /* Text loads starting from the supervisor interrupt vector address. */
/linux-4.1.27/arch/tile/lib/
H A Dstring-endian.h37 * the bytes of srcB as the index into the dest vector to select a
/linux-4.1.27/arch/um/os-Linux/
H A Delf_aux.c4 * Scan the Elf auxiliary vector provided by the host to extract
/linux-4.1.27/drivers/usb/serial/
H A Dusb-wwan.h50 unsigned long out_busy; /* Bit vector of URBs in use */
/linux-4.1.27/include/linux/platform_data/
H A Delm.h31 * struct elm_errorvec - error vector for elm
/linux-4.1.27/include/xen/interface/
H A Dfeatures.h50 /* x86: Does this Xen host support the HVM callback vector type? */
/linux-4.1.27/arch/powerpc/sysdev/
H A Dmpic.h38 extern void mpic_set_vector(unsigned int virq, unsigned int vector);
/linux-4.1.27/arch/mn10300/include/asm/
H A Dhardirq.h43 * - note that the MN103E010 doesn't always trap through the correct vector,
/linux-4.1.27/arch/powerpc/lib/
H A Dldstfp.S225 /* Load vector reg N from *p. N is in r3, p in r4. */
253 /* Store vector reg N to *p. N is in r3, p in r4. */
321 /* Load VSX reg N from vector doubleword *p. N is in r3, p in r4. */
349 /* Store VSX reg N to vector doubleword *p. N is in r3, p in r4. */
/linux-4.1.27/arch/blackfin/include/asm/
H A Dipipe_base.h36 /* Blackfin traps -- i.e. exception vector numbers */

Completed in 4186 milliseconds

123456