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

123456

/linux-4.4.14/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
111 * vector handler
/linux-4.4.14/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.c592 int vector) __xen_send_IPI_mask()
597 xen_send_IPI_one(cpu, vector); __xen_send_IPI_mask()
621 static inline int xen_map_vector(int vector) xen_map_vector() argument
625 switch (vector) { xen_map_vector()
646 printk(KERN_ERR "xen: vector 0x%x is not implemented\n", xen_map_vector()
647 vector); xen_map_vector()
654 int vector) xen_send_IPI_mask()
656 int xen_vector = xen_map_vector(vector); xen_send_IPI_mask()
662 void xen_send_IPI_all(int vector) xen_send_IPI_all() argument
664 int xen_vector = xen_map_vector(vector); xen_send_IPI_all()
670 void xen_send_IPI_self(int vector) xen_send_IPI_self() argument
672 int xen_vector = xen_map_vector(vector); xen_send_IPI_self()
679 int vector) xen_send_IPI_mask_allbutself()
683 int xen_vector = xen_map_vector(vector); xen_send_IPI_mask_allbutself()
696 void xen_send_IPI_allbutself(int vector) xen_send_IPI_allbutself() argument
698 xen_send_IPI_mask_allbutself(cpu_online_mask, vector); xen_send_IPI_allbutself()
591 __xen_send_IPI_mask(const struct cpumask *mask, int vector) __xen_send_IPI_mask() argument
653 xen_send_IPI_mask(const struct cpumask *mask, int vector) xen_send_IPI_mask() argument
678 xen_send_IPI_mask_allbutself(const struct cpumask *mask, int vector) xen_send_IPI_mask_allbutself() argument
/linux-4.4.14/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
/linux-4.4.14/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
53 * round up to the next 16-vector boundary
61 * into a single vector (CALL_FUNCTION_VECTOR) to save vector space.
82 * Generic system vector for platform specific use
88 * IRQ work vector:
104 * Local APIC timer IRQ vector is on a different priority level,
H A Dirq.h46 /* Interrupt vector management */
48 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::__anon3011
329 u32 vector : 8, member in struct:local_apic::__anon3014
340 u32 vector : 8, member in struct:local_apic::__anon3015
351 u32 vector : 8, member in struct:local_apic::__anon3016
362 u32 vector : 8, member in struct:local_apic::__anon3017
375 u32 vector : 8, member in struct:local_apic::__anon3018
388 u32 vector : 8, member in struct:local_apic::__anon3019
H A Dirq_remapping.h38 u32 vector; /* Guest vector of the interrupt */ member in struct:vcpu_data
H A Dapic.h160 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); x2apic_enabled()
308 int vector); x2apic_enabled()
309 void (*send_IPI_allbutself)(int vector); x2apic_enabled()
310 void (*send_IPI_all)(int vector); x2apic_enabled()
311 void (*send_IPI_self)(int vector); x2apic_enabled()
455 * Warm reset vector position:
461 extern void apic_send_IPI_self(int vector);
/linux-4.4.14/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.4.14/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.4.14/arch/m32r/include/asm/
H A Dsyscall.h4 /* Definitions for the system call vector. */
/linux-4.4.14/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.4.14/arch/x86/kernel/apic/
H A Dx2apic_phys.c40 __x2apic_send_IPI_mask(const struct cpumask *mask, int vector, int apic_dest) __x2apic_send_IPI_mask() argument
55 vector, APIC_DEST_PHYSICAL); for_each_cpu() local
60 static void x2apic_send_IPI_mask(const struct cpumask *mask, int vector) x2apic_send_IPI_mask() argument
62 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLINC); x2apic_send_IPI_mask()
66 x2apic_send_IPI_mask_allbutself(const struct cpumask *mask, int vector) x2apic_send_IPI_mask_allbutself() argument
68 __x2apic_send_IPI_mask(mask, vector, APIC_DEST_ALLBUT); x2apic_send_IPI_mask_allbutself()
71 static void x2apic_send_IPI_allbutself(int vector) x2apic_send_IPI_allbutself() argument
73 __x2apic_send_IPI_mask(cpu_online_mask, vector, APIC_DEST_ALLBUT); x2apic_send_IPI_allbutself()
76 static void x2apic_send_IPI_all(int vector) x2apic_send_IPI_all() argument
78 __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 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()
233 static void physflat_send_IPI_mask(const struct cpumask *cpumask, int vector) physflat_send_IPI_mask() argument
235 default_send_IPI_mask_sequence_phys(cpumask, vector); physflat_send_IPI_mask()
239 int vector) physflat_send_IPI_mask_allbutself()
241 default_send_IPI_mask_allbutself_phys(cpumask, vector); physflat_send_IPI_mask_allbutself()
244 static void physflat_send_IPI_allbutself(int vector) physflat_send_IPI_allbutself() argument
246 default_send_IPI_mask_allbutself_phys(cpu_online_mask, vector); physflat_send_IPI_allbutself()
249 static void physflat_send_IPI_all(int vector) physflat_send_IPI_all() argument
251 physflat_send_IPI_mask(cpu_online_mask, vector); physflat_send_IPI_all()
238 physflat_send_IPI_mask_allbutself(const struct cpumask *cpumask, int vector) physflat_send_IPI_mask_allbutself() argument
H A Dvector.c110 * vector number and shifting that right by 4, we __assign_irq_vector()
119 int cpu, vector; __assign_irq_vector() local
144 * vector in this mask. __assign_irq_vector()
158 vector = d->cfg.vector; __assign_irq_vector()
162 vector = current_vector; __assign_irq_vector()
165 vector += 16; __assign_irq_vector()
166 if (vector >= first_system_vector) { __assign_irq_vector()
168 vector = FIRST_EXTERNAL_VECTOR + offset; __assign_irq_vector()
172 if (unlikely(current_vector == vector)) __assign_irq_vector()
175 if (test_bit(vector, used_vectors)) __assign_irq_vector()
179 if (!IS_ERR_OR_NULL(per_cpu(vector_irq, new_cpu)[vector])) for_each_cpu()
183 current_vector = vector;
185 /* Schedule the old vector for cleanup on all cpus */
186 if (d->cfg.vector)
189 per_cpu(vector_irq, new_cpu)[vector] = irq_to_desc(irq);
214 d->cfg.old_vector = d->move_in_progress ? d->cfg.vector : 0;
215 d->cfg.vector = vector;
255 int cpu, vector; clear_irq_vector() local
257 if (!data->cfg.vector) clear_irq_vector()
260 vector = data->cfg.vector; clear_irq_vector()
262 per_cpu(vector_irq, cpu)[vector] = VECTOR_UNUSED; clear_irq_vector()
264 data->cfg.vector = 0; clear_irq_vector()
270 * the old references to desc from all cpus vector tables. clear_irq_vector()
277 for (vector = FIRST_EXTERNAL_VECTOR; vector < NR_VECTORS; clear_irq_vector()
278 vector++) { clear_irq_vector()
279 if (per_cpu(vector_irq, cpu)[vector] != desc) clear_irq_vector()
281 per_cpu(vector_irq, cpu)[vector] = VECTOR_UNUSED; clear_irq_vector()
339 /* Currently vector allocator can't guarantee contiguous allocations */ x86_vector_alloc_irqs()
419 data->cfg.vector = ISA_IRQ_VECTOR(i); init_legacy_irqs()
452 int irq, vector; __setup_vector_irq() local
461 vector = data->cfg.vector; for_each_irq_desc()
462 per_cpu(vector_irq, cpu)[vector] = desc; for_each_irq_desc()
465 for (vector = 0; vector < NR_VECTORS; ++vector) {
466 desc = per_cpu(vector_irq, cpu)[vector];
472 per_cpu(vector_irq, cpu)[vector] = VECTOR_UNUSED;
477 * Setup the vector to irq mappings. Must be called with vector_lock held.
489 * legacy vector to irq mapping: setup_vector_irq()
505 apic->send_IPI_mask(cpumask_of(cpu), data->cfg.vector); apic_retrigger_irq()
562 unsigned vector, me; smp_irq_move_cleanup_interrupt() local
570 for (vector = FIRST_EXTERNAL_VECTOR; vector < NR_VECTORS; vector++) { smp_irq_move_cleanup_interrupt()
576 desc = __this_cpu_read(vector_irq[vector]); smp_irq_move_cleanup_interrupt()
601 * 1) vector is unchanged but the target mask got reduced smp_irq_move_cleanup_interrupt()
602 * 2) vector and the target mask has changed smp_irq_move_cleanup_interrupt()
605 * irq descriptor: the old and the new vector. So we need to smp_irq_move_cleanup_interrupt()
606 * make sure that we only cleanup the old vector. The new smp_irq_move_cleanup_interrupt()
607 * vector has the current @vector number in the config and smp_irq_move_cleanup_interrupt()
611 if (vector == data->cfg.vector && smp_irq_move_cleanup_interrupt()
615 irr = apic_read(APIC_IRR + (vector / 32 * 0x10)); smp_irq_move_cleanup_interrupt()
617 * Check if the vector that needs to be cleanedup is smp_irq_move_cleanup_interrupt()
623 if (irr & (1 << (vector % 32))) { smp_irq_move_cleanup_interrupt()
627 __this_cpu_write(vector_irq[vector], VECTOR_UNUSED); smp_irq_move_cleanup_interrupt()
638 static void __irq_complete_move(struct irq_cfg *cfg, unsigned vector) __irq_complete_move() argument
648 if (vector == data->cfg.vector && cpumask_test_cpu(me, data->domain)) __irq_complete_move()
698 * the new vector. irq_force_complete_move()
700 * 2) The interrupt has fired on the new vector, but the cleanup IPIs irq_force_complete_move()
709 * the old vector. irq_force_complete_move()
712 * the old vector is cleaned up, we get a spurious interrupt irq_force_complete_move()
720 * old vector is not yet cleaned up when the interrupt fires. irq_force_complete_move()
732 * We print at least the irq number and the old vector number, irq_force_complete_move()
736 pr_warn("IRQ fixup: irq %d move in progress, old vector %d\n", irq_force_complete_move()
741 * descriptor set in their vector array. Clean it up. irq_force_complete_move()
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 Dapic_numachip.c97 static void numachip_send_IPI_one(int cpu, int vector) numachip_send_IPI_one() argument
110 __default_send_IPI_dest_field(apicid, vector, numachip_send_IPI_one()
118 dmode = (vector == NMI_VECTOR) ? APIC_DM_NMI : APIC_DM_FIXED; numachip_send_IPI_one()
119 numachip_apic_icr_write(apicid, dmode | vector); numachip_send_IPI_one()
122 static void numachip_send_IPI_mask(const struct cpumask *mask, int vector) numachip_send_IPI_mask() argument
127 numachip_send_IPI_one(cpu, vector); numachip_send_IPI_mask()
131 int vector) numachip_send_IPI_mask_allbutself()
138 numachip_send_IPI_one(cpu, vector); for_each_cpu()
142 static void numachip_send_IPI_allbutself(int vector) numachip_send_IPI_allbutself() argument
149 numachip_send_IPI_one(cpu, vector); for_each_online_cpu()
153 static void numachip_send_IPI_all(int vector) numachip_send_IPI_all() argument
155 numachip_send_IPI_mask(cpu_online_mask, vector); numachip_send_IPI_all()
158 static void numachip_send_IPI_self(int vector) numachip_send_IPI_self() argument
160 apic_write(APIC_SELF_IPI, vector); numachip_send_IPI_self()
130 numachip_send_IPI_mask_allbutself(const struct cpumask *mask, int vector) numachip_send_IPI_mask_allbutself() argument
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()
980 * if the vector is zero. Mask LVTERR first to prevent this. clear_local_APIC()
983 v = ERROR_APIC_VECTOR; /* any non-zero vector will do */ clear_local_APIC()
1197 * spec says clear errors after enabling vector. lapic_setup_esr()
1204 "vector: 0x%08x after: 0x%08x\n", lapic_setup_esr()
1283 * the interrupt. Hence a vector might get locked. It was noticed setup_local_APIC()
1284 * for timer irq (vector 0x31). Issue an extra EOI to clear ISR. setup_local_APIC()
1355 * Set spurious IRQ vector setup_local_APIC()
1810 static void __smp_spurious_interrupt(u8 vector) __smp_spurious_interrupt() argument
1819 v = apic_read(APIC_ISR + ((vector & ~0x1f) >> 1)); __smp_spurious_interrupt()
1820 if (v & (1 << (vector & 0x1f))) __smp_spurious_interrupt()
1826 pr_info("spurious APIC interrupt through vector %02x on CPU#%d, " __smp_spurious_interrupt()
1827 "should never happen.\n", vector, smp_processor_id()); __smp_spurious_interrupt()
1839 u8 vector = ~regs->orig_ax; smp_trace_spurious_interrupt() local
1842 trace_spurious_apic_entry(vector); smp_trace_spurious_interrupt()
1843 __smp_spurious_interrupt(vector); smp_trace_spurious_interrupt()
1844 trace_spurious_apic_exit(vector); smp_trace_spurious_interrupt()
1861 "Send illegal vector", /* APIC Error Bit 5 */ __smp_error_interrupt()
1862 "Received illegal vector", /* APIC Error Bit 6 */ __smp_error_interrupt()
1954 /* For the spurious interrupt use vector F, and enable it */ disconnect_bsp_APIC()
H A Dx2apic_uv_x.c254 static void uv_send_IPI_one(int cpu, int vector) uv_send_IPI_one() argument
261 uv_hub_send_ipi(pnode, apicid, vector); uv_send_IPI_one()
264 static void uv_send_IPI_mask(const struct cpumask *mask, int vector) uv_send_IPI_mask() argument
269 uv_send_IPI_one(cpu, vector); uv_send_IPI_mask()
272 static void uv_send_IPI_mask_allbutself(const struct cpumask *mask, int vector) uv_send_IPI_mask_allbutself() argument
279 uv_send_IPI_one(cpu, vector); for_each_cpu()
283 static void uv_send_IPI_allbutself(int vector) uv_send_IPI_allbutself() argument
290 uv_send_IPI_one(cpu, vector); for_each_online_cpu()
294 static void uv_send_IPI_all(int vector) uv_send_IPI_all() argument
296 uv_send_IPI_mask(cpu_online_mask, vector); uv_send_IPI_all()
367 static void uv_send_IPI_self(int vector) uv_send_IPI_self() argument
369 apic_write(APIC_SELF_IPI, vector); uv_send_IPI_self()
/linux-4.4.14/arch/ia64/include/asm/
H A Dhw_irq.h44 #define IA64_CPEP_VECTOR 0x1c /* corrected platform error polling vector */
45 #define IA64_CMCP_VECTOR 0x1d /* corrected machine-check polling vector */
46 #define IA64_CPE_VECTOR 0x1e /* corrected platform error interrupt vector */
47 #define IA64_CMC_VECTOR 0x1f /* corrected machine-check interrupt vector */
50 * Use vectors 0x30-0xe7 as the default device vector range for ia64.
59 /* Reserve the lower priority vector than device vectors for "move IRQ" IPI */
72 #define IA64_PERFMON_VECTOR 0xee /* performance monitor interrupt vector */
77 #define IA64_IPI_VECTOR 0xfe /* inter-processor interrupt vector */
91 IA64_IPI_DM_NMI = 0x4, /* pend an NMI (vector 2) */
100 ia64_vector vector; member in struct:irq_cfg
120 extern int bind_irq_vector(int irq, int vector, cpumask_t domain);
121 extern int ia64_native_assign_irq_vector (int irq); /* allocate a free vector */
122 extern void ia64_native_free_irq_vector (int vector);
123 extern int reserve_irq_vector (int vector);
125 extern void ia64_send_ipi (int cpu, int vector, int delivery_mode, int redirect);
137 static inline void ia64_native_resend_irq(unsigned int vector) ia64_native_resend_irq() argument
139 platform_send_ipi(smp_processor_id(), vector, IA64_IPI_DM_INT, 0); ia64_native_resend_irq() local
148 return irq_cfg[irq].vector; __ia64_irq_to_vector()
162 * domains meaning that the translation from vector number to irq number depends on the
164 * differences and provides a uniform means to translate between vector and irq numbers
168 /* Extract the IA-64 vector that corresponds to IRQ. */
176 * Convert the local IA-64 vector to the corresponding irq number. This translation is
H A Diosapic.h80 static inline void iosapic_eoi(char __iomem *iosapic, u32 vector) iosapic_eoi() argument
82 writel(vector, iosapic + IOSAPIC_EOI); iosapic_eoi()
/linux-4.4.14/drivers/net/wireless/ti/wl18xx/
H A Devent.c126 u32 vector; wl18xx_process_mailbox_events() local
128 vector = le32_to_cpu(mbox->events_vector); wl18xx_process_mailbox_events()
129 wl1271_debug(DEBUG_EVENT, "MBOX vector: 0x%x", vector); wl18xx_process_mailbox_events()
131 if (vector & SCAN_COMPLETE_EVENT_ID) { wl18xx_process_mailbox_events()
139 if (vector & TIME_SYNC_EVENT_ID) wl18xx_process_mailbox_events()
144 if (vector & RADAR_DETECTED_EVENT_ID) { wl18xx_process_mailbox_events()
152 if (vector & PERIODIC_SCAN_REPORT_EVENT_ID) { wl18xx_process_mailbox_events()
160 if (vector & PERIODIC_SCAN_COMPLETE_EVENT_ID) wl18xx_process_mailbox_events()
163 if (vector & RSSI_SNR_TRIGGER_0_EVENT_ID) wl18xx_process_mailbox_events()
166 if (vector & BA_SESSION_RX_CONSTRAINT_EVENT_ID) wl18xx_process_mailbox_events()
171 if (vector & BSS_LOSS_EVENT_ID) wl18xx_process_mailbox_events()
175 if (vector & CHANNEL_SWITCH_COMPLETE_EVENT_ID) wl18xx_process_mailbox_events()
180 if (vector & DUMMY_PACKET_EVENT_ID) wl18xx_process_mailbox_events()
187 if (vector & MAX_TX_FAILURE_EVENT_ID) wl18xx_process_mailbox_events()
191 if (vector & INACTIVE_STA_EVENT_ID) wl18xx_process_mailbox_events()
195 if (vector & REMAIN_ON_CHANNEL_COMPLETE_EVENT_ID) wl18xx_process_mailbox_events()
198 if (vector & SMART_CONFIG_SYNC_EVENT_ID) wl18xx_process_mailbox_events()
202 if (vector & SMART_CONFIG_DECODE_EVENT_ID) wl18xx_process_mailbox_events()
/linux-4.4.14/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.4.14/include/linux/
H A Daltera_jtaguart.h13 unsigned int irq; /* Interrupt vector */
H A Daltera_uart.h10 unsigned int irq; /* Interrupt vector */
/linux-4.4.14/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.4.14/arch/arm/include/asm/
H A Dhw_irq.h11 pr_crit("unexpected IRQ trap at vector %02x\n", irq); ack_bad_irq()
/linux-4.4.14/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.c53 * exception vector. berlin_boot_secondary()
87 * in the reset exception vector. berlin_smp_prepare_cpus()
93 * vector. This is used by boot_inst. berlin_smp_prepare_cpus()
/linux-4.4.14/arch/h8300/kernel/
H A Dhead_rom.S100 /* interrupt vector */
104 vector = 2 define
106 .long _interrupt_redirect_table+vector*4
107 vector = vector + 1 define
H A Dvmlinux.lds.S19 *(.vector*)
H A Dirq.c61 panic("interrupt vector serup failed."); setup_vector()
63 pr_debug("virtual vector at 0x%p\n", ramvec); setup_vector()
/linux-4.4.14/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.4.14/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.4.14/arch/x86/kernel/
H A Dirq.c33 /* Function pointer for generic interrupt vector handling */
37 * 'what should we do if we get a hw irq event on an illegal vector'.
43 pr_err("unexpected IRQ trap at vector %02x\n", irq); ack_bad_irq()
219 unsigned vector = ~regs->orig_ax; do_IRQ() local
238 desc = __this_cpu_read(vector_irq[vector]); do_IRQ()
244 pr_emerg_ratelimited("%s: %d.%d No irq handler for vector\n", do_IRQ()
246 vector); do_IRQ()
248 __this_cpu_write(vector_irq[vector], VECTOR_UNUSED); do_IRQ()
350 unsigned int this_cpu, vector, this_count, count; check_irq_vectors_for_cpu_disable() local
360 for (vector = FIRST_EXTERNAL_VECTOR; vector < NR_VECTORS; vector++) { check_irq_vectors_for_cpu_disable()
361 desc = __this_cpu_read(vector_irq[vector]); check_irq_vectors_for_cpu_disable()
406 * vector. If the vector is marked in the used vectors for_each_online_cpu()
413 for (vector = FIRST_EXTERNAL_VECTOR; for_each_online_cpu()
414 vector < first_system_vector; vector++) { for_each_online_cpu()
415 if (!test_bit(vector, used_vectors) && for_each_online_cpu()
416 IS_ERR_OR_NULL(per_cpu(vector_irq, cpu)[vector])) for_each_online_cpu()
432 unsigned int irq, vector; fixup_irqs() local
523 * We can walk the vector array of this cpu without holding
527 for (vector = FIRST_EXTERNAL_VECTOR; vector < NR_VECTORS; vector++) {
530 if (IS_ERR_OR_NULL(__this_cpu_read(vector_irq[vector])))
533 irr = apic_read(APIC_IRR + (vector / 32 * 0x10));
534 if (irr & (1 << (vector % 32))) {
535 desc = __this_cpu_read(vector_irq[vector]);
542 __this_cpu_write(vector_irq[vector], VECTOR_RETRIGGERED);
546 if (__this_cpu_read(vector_irq[vector]) != VECTOR_RETRIGGERED)
547 __this_cpu_write(vector_irq[vector], VECTOR_UNUSED);
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 (!IS_ERR_OR_NULL(per_cpu(vector_irq, cpu)[vector])) for_each_online_cpu()
93 * then this vector space can be freed and re-used dynamically as the init_IRQ()
177 * Cover the whole vector space, no vector can escape native_init_IRQ()
H A Dtracepoint.c2 * Code for supporting irq vector tracepoints.
/linux-4.4.14/arch/x86/kvm/
H A Dirq.c103 * vector and intack.
109 int vector = v->arch.pending_external_vector; kvm_cpu_get_extint() local
112 return vector; kvm_cpu_get_extint()
120 * Read pending interrupt vector and intack.
124 int vector; kvm_cpu_get_interrupt() local
129 vector = kvm_cpu_get_extint(v); kvm_cpu_get_interrupt()
131 if (vector != -1) kvm_cpu_get_interrupt()
132 return vector; /* PIC */ kvm_cpu_get_interrupt()
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()
428 * The highest vector is injected. Thus the latest bit set matches apic_set_isr()
496 int vector, int level, int trig_mode,
504 return __apic_accept_irq(apic, irq->delivery_mode, irq->vector, kvm_apic_set_irq()
824 int vector, int level, int trig_mode, __apic_accept_irq()
831 trig_mode, vector); __apic_accept_irq()
848 if (apic_test_vector(vector, apic->regs + APIC_TMR) != !!trig_mode) { __apic_accept_irq()
850 apic_set_vector(vector, apic->regs + APIC_TMR); __apic_accept_irq()
852 apic_clear_vector(vector, apic->regs + APIC_TMR); __apic_accept_irq()
856 kvm_x86_ops->deliver_posted_interrupt(vcpu, vector); __apic_accept_irq()
858 apic_set_irr(vector, apic); __apic_accept_irq()
901 apic_debug("SIPI to vcpu %d vector 0x%02x\n", __apic_accept_irq()
902 vcpu->vcpu_id, vector); __apic_accept_irq()
904 apic->sipi_vector = vector; __apic_accept_irq()
933 static bool kvm_ioapic_handles_vector(struct kvm_lapic *apic, int vector) kvm_ioapic_handles_vector() argument
935 return test_bit(vector, (ulong *)apic->vcpu->arch.eoi_exit_bitmap); kvm_ioapic_handles_vector()
938 static void kvm_ioapic_send_eoi(struct kvm_lapic *apic, int vector) kvm_ioapic_send_eoi() argument
942 /* Eoi the ioapic only if the ioapic doesn't own the vector. */ kvm_ioapic_send_eoi()
943 if (!kvm_ioapic_handles_vector(apic, vector)) kvm_ioapic_send_eoi()
948 apic->vcpu->arch.pending_ioapic_eoi = vector; kvm_ioapic_send_eoi()
953 if (apic_test_vector(vector, apic->regs + APIC_TMR)) kvm_ioapic_send_eoi()
958 kvm_ioapic_update_eoi(apic->vcpu, vector, trigger_mode); kvm_ioapic_send_eoi()
963 int vector = apic_find_highest_isr(apic); apic_set_eoi() local
965 trace_kvm_eoi(apic, vector); apic_set_eoi()
971 if (vector == -1) apic_set_eoi()
972 return vector; apic_set_eoi()
974 apic_clear_isr(vector, apic); apic_set_eoi()
977 kvm_ioapic_send_eoi(apic, vector); apic_set_eoi()
979 return vector; apic_set_eoi()
986 void kvm_apic_set_eoi_accelerated(struct kvm_vcpu *vcpu, int vector) kvm_apic_set_eoi_accelerated() argument
990 trace_kvm_eoi(apic, vector); kvm_apic_set_eoi_accelerated()
992 kvm_ioapic_send_eoi(apic, vector); kvm_apic_set_eoi_accelerated()
1003 irq.vector = icr_low & APIC_VECTOR_MASK; apic_send_ipi()
1019 "dest_mode 0x%x, delivery_mode 0x%x, vector 0x%x, " apic_send_ipi()
1023 irq.vector, irq.msi_redir_hint); apic_send_ipi()
1428 /* TODO: Check vector */ apic_reg_write()
1741 int vector, mode, trig_mode; kvm_apic_local_deliver() local
1744 vector = reg & APIC_VECTOR_MASK; kvm_apic_local_deliver()
1747 return __apic_accept_irq(apic, mode, vector, 1, trig_mode, kvm_apic_local_deliver()
1870 int vector = kvm_apic_has_interrupt(vcpu); kvm_get_apic_interrupt() local
1873 if (vector == -1) kvm_get_apic_interrupt()
1883 apic_set_isr(vector, apic); kvm_get_apic_interrupt()
1885 apic_clear_irr(vector, apic); kvm_get_apic_interrupt()
1886 return vector; kvm_get_apic_interrupt()
1948 int vector; apic_sync_pv_eoi_from_guest() local
1970 vector = apic_set_eoi(apic); apic_sync_pv_eoi_from_guest()
1971 trace_kvm_pv_eoi(apic, vector); apic_sync_pv_eoi_from_guest()
2068 /* if this is ICR write vector before command */ kvm_x2apic_msr_write()
2105 /* if this is ICR write vector before command */ kvm_hv_vapic_msr_write()
2174 /* evaluate pending_events before reading the vector */ kvm_apic_accept_events()
2177 apic_debug("vcpu %d received sipi with vector # %x\n", kvm_apic_accept_events()
823 __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()
251 kvm_apic_pending_eoi(vcpu, e->fields.vector))) kvm_ioapic_scan_entry()
252 __set_bit(e->fields.vector, kvm_ioapic_scan_entry()
323 "vector=%x trig_mode=%x\n", ioapic_service()
325 entry->fields.delivery_mode, entry->fields.vector, ioapic_service()
329 irqe.vector = entry->fields.vector; ioapic_service()
408 struct kvm_ioapic *ioapic, int vector, int trigger_mode) __kvm_ioapic_update_eoi()
416 if (ent->fields.vector != vector) __kvm_ioapic_update_eoi()
425 * to notifiers if the same vector will be delivered while lock __kvm_ioapic_update_eoi()
462 void kvm_ioapic_update_eoi(struct kvm_vcpu *vcpu, int vector, int trigger_mode) kvm_ioapic_update_eoi() argument
467 __kvm_ioapic_update_eoi(vcpu, ioapic, vector, trigger_mode); kvm_ioapic_update_eoi()
407 __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.c75 if (irq == host_msix_entries[i].vector) { find_index_from_host_irq()
103 int vector) kvm_assigned_dev_raise_guest_irq()
110 assigned_dev->irq_source_id, vector, 1, kvm_assigned_dev_raise_guest_irq()
115 vector, 1, false); kvm_assigned_dev_raise_guest_irq()
194 u32 vector; kvm_assigned_dev_msix() local
198 vector = assigned_dev->guest_msix_entries[index].vector; kvm_assigned_dev_msix()
201 vector, 1); kvm_assigned_dev_msix()
211 u32 vector; kvm_assigned_dev_thread_msix() local
214 vector = assigned_dev->guest_msix_entries[index].vector; kvm_assigned_dev_thread_msix()
215 kvm_assigned_dev_raise_guest_irq(assigned_dev, vector); kvm_assigned_dev_thread_msix()
290 disable_irq(assigned_dev->host_msix_entries[i].vector); deassign_host_irq()
293 free_irq(assigned_dev->host_msix_entries[i].vector, deassign_host_irq()
460 r = request_threaded_irq(dev->host_msix_entries[i].vector, assigned_device_enable_host_msix()
471 free_irq(dev->host_msix_entries[i].vector, dev); assigned_device_enable_host_msix()
907 if (adev->guest_msix_entries[i].vector == 0 || kvm_vm_ioctl_set_msix_entry()
910 adev->guest_msix_entries[i].vector = entry->gsi; kvm_vm_ioctl_set_msix_entry()
102 kvm_assigned_dev_raise_guest_irq(struct kvm_assigned_dev_kernel *assigned_dev, int vector) kvm_assigned_dev_raise_guest_irq() argument
H A Dioapic.h51 u8 vector; member in struct:kvm_ioapic_redirect_entry::__anon3187
113 void kvm_ioapic_update_eoi(struct kvm_vcpu *vcpu, int vector,
H A Dtrace.h461 TP_PROTO(struct kvm_lapic *apic, int vector),
462 TP_ARGS(apic, vector),
466 __field( int, vector )
471 __entry->vector = vector;
474 TP_printk("apicid %x vector %d", __entry->apicid, __entry->vector)
478 TP_PROTO(struct kvm_lapic *apic, int vector),
479 TP_ARGS(apic, vector),
483 __field( int, vector )
488 __entry->vector = vector;
491 TP_printk("apicid %x vector %d", __entry->apicid, __entry->vector)
H A Dlapic.h32 /* 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);
167 bool kvm_apic_pending_eoi(struct kvm_vcpu *vcpu, int vector);
/linux-4.4.14/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.4.14/security/selinux/include/
H A Davc_ss.h2 * Access vector cache interface for the security server.
/linux-4.4.14/include/asm-generic/
H A Dhardirq.h17 printk(KERN_CRIT "unexpected IRQ trap at vector %02x\n", irq); ack_bad_irq()
/linux-4.4.14/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 Dvx-insn.h5 * vector instructions that are supported by recent binutils (>= 2.26) only.
17 /* Macros to generate vector instruction byte code */
84 /* VX_NUM - Retrieve vector register number
89 * The vector register number is used for as input number to the
91 * instruction. To encode the particular vector register number,
193 .error "Invalid vector register designation: \vxr"
197 /* RXB - Compute most significant bit used vector registers
200 * @v1: First vector register designated operand
201 * @v2: Second vector register designated operand
202 * @v3: Third vector register designated operand
203 * @v4: Fourth vector register designated operand
224 * @v1: First vector register designated operand (for RXB)
225 * @v2: Second vector register designated operand (for RXB)
226 * @v3: Third vector register designated operand (for RXB)
227 * @v4: Fourth vector register designated operand (for RXB)
239 * @v1: First vector register designated operand (for RXB)
240 * @v2: Second vector register designated operand (for RXB)
241 * @v3: Third vector register designated operand (for RXB)
242 * @v4: Fourth vector register designated operand (for RXB)
H A Dpci_insn.h67 u32 aibvo : 6; /* Adapter interrupt bit vector offset */
72 u64 aibv; /* Adapter int bit vector address */
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/media/v4l2-core/
H A Dvideobuf2-memops.c31 * This function allocates and fills in a vector with pfns corresponding to
34 * returns pointer to the vector on success and error pointer in case of
35 * failure. Returned vector needs to be freed via vb2_destroy_pfnvec().
70 * vb2_destroy_framevec() - release vector of mapped pfns
71 * @vec: vector of pfns / pages to release
73 * This releases references to all pages in the vector @vec (if corresponding
74 * pfns are backed by pages) and frees the passed vector.
/linux-4.4.14/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.4.14/drivers/net/ethernet/mellanox/mlx4/
H A Den_cq.c69 cq->vector = mdev->dev->caps.num_comp_vectors; mlx4_en_create_cq()
115 cq->vector)) { mlx4_en_activate_cq()
116 cq->vector = cpumask_first(priv->rx_ring[cq->ring]->affinity_mask); mlx4_en_activate_cq()
119 &cq->vector); mlx4_en_activate_cq()
121 mlx4_err(mdev, "Failed assigning an EQ to CQ vector %d\n", mlx4_en_activate_cq()
122 cq->vector); mlx4_en_activate_cq()
131 cq->vector)); mlx4_en_activate_cq()
139 cq->vector = rx_cq->vector; mlx4_en_activate_cq()
151 cq->vector, 0, timestamp_en); mlx4_en_activate_cq()
172 mlx4_release_eq(mdev->dev, cq->vector); mlx4_en_activate_cq()
173 cq->vector = mdev->dev->caps.num_comp_vectors; mlx4_en_activate_cq()
184 if (mlx4_is_eq_vector_valid(mdev->dev, priv->port, cq->vector) && mlx4_en_destroy_cq()
186 mlx4_release_eq(priv->mdev->dev, cq->vector); mlx4_en_destroy_cq()
187 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) mlx4_cq_alloc()
298 cq->vector = vector; mlx4_cq_alloc()
322 cq_context->comp_eqn = priv->eq_table.eq[MLX4_CQ_TO_EQ_VECTOR(vector)].eqn; mlx4_cq_alloc()
342 &priv->eq_table.eq[MLX4_CQ_TO_EQ_VECTOR(vector)].tasklet_ctx; mlx4_cq_alloc()
346 cq->irq = priv->eq_table.eq[MLX4_CQ_TO_EQ_VECTOR(vector)].irq; mlx4_cq_alloc()
371 synchronize_irq(priv->eq_table.eq[MLX4_CQ_TO_EQ_VECTOR(cq->vector)].irq); mlx4_cq_free()
372 if (priv->eq_table.eq[MLX4_CQ_TO_EQ_VECTOR(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.4.14/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 irq_bypass_unregister_producer(&vdev->ctx[vector].producer); vfio_msi_set_vector_signal()
323 kfree(vdev->ctx[vector].name); vfio_msi_set_vector_signal()
324 eventfd_ctx_put(vdev->ctx[vector].trigger); vfio_msi_set_vector_signal()
325 vdev->ctx[vector].trigger = NULL; vfio_msi_set_vector_signal()
331 vdev->ctx[vector].name = kasprintf(GFP_KERNEL, "%s[%d](%s)", vfio_msi_set_vector_signal()
332 name, vector, pci_name(pdev)); vfio_msi_set_vector_signal()
333 if (!vdev->ctx[vector].name) vfio_msi_set_vector_signal()
338 kfree(vdev->ctx[vector].name); vfio_msi_set_vector_signal()
343 * The MSIx vector table resides in device memory which may be cleared vfio_msi_set_vector_signal()
344 * via backdoor resets. We don't allow direct access to the vector vfio_msi_set_vector_signal()
357 vdev->ctx[vector].name, trigger); vfio_msi_set_vector_signal()
359 kfree(vdev->ctx[vector].name); vfio_msi_set_vector_signal()
364 vdev->ctx[vector].producer.token = trigger; vfio_msi_set_vector_signal()
365 vdev->ctx[vector].producer.irq = irq; vfio_msi_set_vector_signal()
366 ret = irq_bypass_register_producer(&vdev->ctx[vector].producer); vfio_msi_set_vector_signal()
370 vdev->ctx[vector].producer.token, ret); vfio_msi_set_vector_signal()
372 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.4.14/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.c120 naut_sys_machine_check(unsigned long vector, unsigned long la_ptr, naut_sys_machine_check() argument
131 nautilus_machine_check(unsigned long vector, unsigned long la_ptr) nautilus_machine_check() argument
139 if (vector == SCB_Q_SYSMCHK nautilus_machine_check()
166 if (vector == SCB_Q_SYSERR) nautilus_machine_check()
168 else if (vector == SCB_Q_SYSMCHK) nautilus_machine_check()
171 ev6_machine_check(vector, la_ptr); nautilus_machine_check()
177 vector, mchk_class); nautilus_machine_check()
179 naut_sys_machine_check(vector, la_ptr, get_irq_regs()); nautilus_machine_check()
H A Dsys_eiger.c77 eiger_device_interrupt(unsigned long vector) eiger_device_interrupt() argument
109 isa_device_interrupt(vector); eiger_device_interrupt()
114 eiger_srm_device_interrupt(unsigned long vector) eiger_srm_device_interrupt() argument
116 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.4.14/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.c58 /* Make sure the vector pointer is visible before we enable MCEs: */ intel_p5_mcheck_init()
/linux-4.4.14/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()
H A DMakefile21 # CPU reset vector handling objects
/linux-4.4.14/drivers/irqchip/
H A Dalphascale_asm9260-icoll.h25 * This register presents the vector address for the interrupt currently
54 * the vector address register. In this mode, interrupt in-service is signaled
56 * vector address. Set this bit to zero for normal operation, in which the ISR
68 * Vector number of current interrupt. Multiply by 4 and add to vector base
97 * This bitfield holds the upper 30 bits of the base address of the vector
H A Dirq-mxs.c62 void __iomem *vector; member in struct:icoll_priv
147 __raw_writel(irqnr, icoll_priv.vector); icoll_handle_irq()
199 icoll_priv.vector = icoll_base + HW_ICOLL_VECTOR; icoll_of_init()
227 icoll_priv.vector = icoll_base + ASM9260_HW_ICOLL_VECTOR; asm9260_of_init()
/linux-4.4.14/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.4.14/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.4.14/drivers/staging/vme/devices/
H A Dvme_pio2_core.c33 static int vector[PIO2_CARDS_MAX]; variable
75 static void pio2_int(int level, int vector, void *ptr) pio2_int() argument
81 vec = vector & ~PIO2_VME_VECTOR_MASK; pio2_int()
134 /* Clear VME vector */ pio2_reset_card()
192 "The IRQ vector used by the card must be specified\n"); pio2_match()
227 card->irq_vector = vector[card->id]; pio2_probe()
241 * Bottom 4 bits of VME interrupt vector used to determine source, pio2_probe()
242 * provided vector should only use upper 4 bits. pio2_probe()
246 "Invalid VME IRQ Vector, vector must not use lower 4 bits\n"); pio2_probe()
336 /* Set VME vector */ pio2_probe()
486 MODULE_PARM_DESC(vector, "VME IRQ Vector (Lower 4 bits masked)");
487 module_param_array(vector, int, &vector_num, S_IRUGO);
/linux-4.4.14/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.4.14/arch/x86/include/asm/uv/
H A Duv_irq.h16 __u64 vector : 8, member in struct:uv_IO_APIC_route_entry
/linux-4.4.14/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)
H A Dirq.c41 * "C" Entry point for any ARC ISR, called from low level vector handler
42 * @irq is the vector number read from ICAUSE reg of on-chip intc
/linux-4.4.14/net/ceph/
H A Dpagevec.c13 * build a vector of user pages
69 * allocate a vector new pages
91 * copy user data into a page vector
166 * Zero an extent within a page vector. Offset is relative to the
/linux-4.4.14/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.4.14/arch/sh/include/mach-x3proto/mach/
H A Dilsel.h20 * demuxing a shared vector, really.
/linux-4.4.14/arch/m68k/sun3/prom/
H A Dinit.c26 * It gets passed the pointer to the PROM vector.
/linux-4.4.14/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.4.14/arch/h8300/include/uapi/asm/
H A Dptrace.h34 long vector; member in struct:pt_regs
/linux-4.4.14/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.4.14/drivers/net/ethernet/mellanox/mlx5/core/
H A Dhealth.c75 u64 vector; trigger_cmd_completions() local
78 synchronize_irq(dev->priv.msix_arr[MLX5_EQ_VEC_CMD].vector); trigger_cmd_completions()
80 vector = ~dev->cmd.bitmask & ((1ul << (1 << dev->cmd.log_sz)) - 1); trigger_cmd_completions()
81 if (!vector) trigger_cmd_completions()
84 vector |= MLX5_TRIGGERED_CMD_COMP; trigger_cmd_completions()
87 mlx5_core_dbg(dev, "vector 0x%llx\n", vector); trigger_cmd_completions()
88 mlx5_cmd_comp_handler(dev, vector); trigger_cmd_completions()
/linux-4.4.14/mm/
H A Dframe_vector.c103 * @vec: frame vector to put
106 * invalidate the frame vector so that it is prepared for the next call into
133 * frame_vector_to_pages - convert frame vector to contain page pointers
134 * @vec: frame vector to convert
161 * frame_vector_to_pfns - convert frame vector to contain pfns
162 * @vec: frame vector to convert
219 * frame_vector_destroy() - free memory allocated to carry frame vector
220 * @vec: Frame vector to free
/linux-4.4.14/arch/mips/include/asm/
H A Dmsa.h29 * read_msa_wr() - Read a single MSA vector register
30 * @idx: The index of the vector register to read
32 * @fmt: The format of the data in the vector register
34 * Read the value of MSA vector register idx into the FPU register
68 * write_msa_wr() - Write a single MSA vector register
69 * @idx: The index of the vector register to write
71 * @fmt: The format of the data in the vector register
73 * Write the value from the FPU register union from into MSA vector
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.4.14/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.4.14/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.4.14/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) */
104 /* Whether we have vector per vq */
115 u16 (*config_vector)(struct virtio_pci_device *vp_dev, u16 vector);
119 /* Use first vector for configuration changes, second and the rest for
146 * - force the affinity for per vq vector
/linux-4.4.14/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.4.14/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.4.14/drivers/xen/xen-pciback/
H A Dpciback_ops.c51 * overwritten with the MSI vector. xen_pcibk_control_isr()
169 /* The value the guest needs is actually the IDT vector, not the xen_pcibk_enable_msi()
242 entries[i].vector = op->msix_entries[i].vector; xen_pcibk_enable_msix()
249 if (entries[i].vector) { xen_pcibk_enable_msix()
250 op->msix_entries[i].vector = xen_pcibk_enable_msix()
251 xen_pirq_from_irq(entries[i].vector); xen_pcibk_enable_msix()
256 op->msix_entries[i].vector); xen_pcibk_enable_msix()
391 pdev->sh_info->op.msix_entries[i].vector = xen_pcibk_do_op()
392 op->msix_entries[i].vector; xen_pcibk_do_op()
/linux-4.4.14/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).
/linux-4.4.14/drivers/crypto/qat/qat_dh895xcc/
H A Dadf_isr.c181 ret = request_irq(msixe[i].vector, adf_request_irqs()
186 msixe[i].vector, name); adf_request_irqs()
192 irq_set_affinity_hint(msixe[i].vector, adf_request_irqs()
201 ret = request_irq(msixe[i].vector, adf_msix_isr_ae, 0, name, accel_dev); adf_request_irqs()
205 msixe[i].vector, name); adf_request_irqs()
221 irq_set_affinity_hint(msixe[i].vector, NULL); adf_free_irqs()
222 free_irq(msixe[i].vector, &etr_data->banks[i]); adf_free_irqs()
225 irq_set_affinity_hint(msixe[i].vector, NULL); adf_free_irqs()
226 free_irq(msixe[i].vector, accel_dev); adf_free_irqs()
/linux-4.4.14/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.4.14/drivers/pci/host/
H A Dpci-xgene-msi.c119 * - Divide into 8 256-vector groups
125 * - Each 256-vector group is divided into 16 16-vector groups
126 * As an example: 16 16-vector groups for 256-vector group 0-255 is
131 * - The termination address of MSI vector in 256-vector group n and 16-vector
133 * - The data for MSI vector in 16-vector group x is x
166 * for each core). The MSI vector is moved fom 1 MSI GIC IRQ to another
330 * Calculate MSI vector number (refer to the termination xgene_msi_isr()
/linux-4.4.14/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
75 u32 data; /* access vector or type value */
/linux-4.4.14/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.4.14/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::__anon11299::__anon11300
/linux-4.4.14/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.4.14/arch/tile/include/asm/
H A Dchecksum.h27 * The implementation does two vector adds to capture any overflow.
/linux-4.4.14/arch/x86/platform/uv/
H A Duv_irq.c37 entry->vector = cfg->vector; uv_program_mmr()
176 * Set up a mapping of an available irq and vector, and enable the specified
202 * Tear down a mapping of an irq and vector, and disable the specified MMR that
/linux-4.4.14/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.4.14/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.4.14/kernel/irq/
H A Ddummychip.c14 * What should we do if we get a hw irq event on an illegal vector?
/linux-4.4.14/include/uapi/linux/
H A Dauxvec.h8 #define AT_NULL 0 /* end of vector */
/linux-4.4.14/arch/mips/fw/arc/
H A Dinit.c35 printk(KERN_CRIT "Aieee, bad prom vector magic %08lx\n", prom_init()
/linux-4.4.14/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.4.14/arch/sh/include/uapi/asm/
H A Dcpu-features.h13 * auxiliary vector as AT_HWCAP.
/linux-4.4.14/arch/mips/cobalt/
H A Dirq.c2 * IRQ vector handles
/linux-4.4.14/arch/mips/rb532/
H A Dsetup.c30 /* just jump to the reset vector */ rb_machine_restart()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/arch/m68k/coldfire/
H A Dvectors.c48 * handler that handle almost every vector. We treat trap_init()
/linux-4.4.14/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.4.14/arch/arm/mach-keystone/
H A Dplatsmp.c32 pr_debug("keystone-smp: booting cpu %d, vector %08lx\n", keystone_smp_boot_secondary()
/linux-4.4.14/arch/s390/hypfs/
H A Dhypfs_diag0c.c33 * Get hypfs_diag0c_entry from CPU vector and store diag0c data
61 /* Fill CPU vector for each online CPU */ for_each_online_cpu()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/misc/
H A Dspear13xx_pcie_gadget.c268 ulong vector; pcie_gadget_int_type_store() local
274 vector = config->requested_msi; pcie_gadget_int_type_store()
276 while (vector > 1) { pcie_gadget_int_type_store()
277 vector /= 2; pcie_gadget_int_type_store()
299 ulong vector; pcie_gadget_no_of_msi_show() local
303 vector = 0; pcie_gadget_no_of_msi_show()
309 vector = 1; pcie_gadget_no_of_msi_show()
311 vector *= 2; pcie_gadget_no_of_msi_show()
313 config->configured_msi = vector; pcie_gadget_no_of_msi_show()
315 return sprintf(buf, "%lu", vector); pcie_gadget_no_of_msi_show()
359 ulong vector; pcie_gadget_send_msi_store() local
363 ret = kstrtoul(buf, 0, &vector); pcie_gadget_send_msi_store()
370 if (vector >= config->configured_msi) pcie_gadget_send_msi_store()
379 ven_msi |= vector << VEN_MSI_VECTOR_ID; pcie_gadget_send_msi_store()
381 /* generating interrupt for msi vector */ pcie_gadget_send_msi_store()
H A Ddummy-irq.c8 * which spurious IRQs would happen on disabled IRQ vector.
/linux-4.4.14/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
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
H A Di40evf_main.c194 synchronize_irq(adapter->msix_entries[0].vector); i40evf_misc_irq_disable()
227 synchronize_irq(adapter->msix_entries[i].vector); i40evf_irq_disable()
299 * i40evf_msix_aq - Interrupt handler for vector 0
392 * one vector per ring/queue, but on a constrained vector budget, we
423 * multiple queues per vector. i40evf_map_rings_to_vectors()
482 int vector, err, q_vectors; i40evf_request_traffic_irqs() local
489 for (vector = 0; vector < q_vectors; vector++) { i40evf_request_traffic_irqs()
490 struct i40e_q_vector *q_vector = adapter->q_vector[vector]; i40evf_request_traffic_irqs()
510 adapter->msix_entries[vector + NONQ_VECS].vector, i40evf_request_traffic_irqs()
522 adapter->msix_entries[vector + NONQ_VECS].vector, i40evf_request_traffic_irqs()
529 while (vector) { i40evf_request_traffic_irqs()
530 vector--; i40evf_request_traffic_irqs()
532 adapter->msix_entries[vector + NONQ_VECS].vector, i40evf_request_traffic_irqs()
534 free_irq(adapter->msix_entries[vector + NONQ_VECS].vector, i40evf_request_traffic_irqs()
535 adapter->q_vector[vector]); i40evf_request_traffic_irqs()
544 * Allocates MSI-X vector 0 and requests interrupts from the kernel. This
545 * vector is only for the admin queue, and stays active even when the netdev
556 err = request_irq(adapter->msix_entries[0].vector, i40evf_request_misc_irq()
563 free_irq(adapter->msix_entries[0].vector, netdev); i40evf_request_misc_irq()
582 irq_set_affinity_hint(adapter->msix_entries[i+1].vector, i40evf_free_traffic_irqs()
584 free_irq(adapter->msix_entries[i+1].vector, i40evf_free_traffic_irqs()
590 * i40evf_free_misc_irq - Free MSI-X miscellaneous vector
593 * Frees MSI-X vector 0.
599 free_irq(adapter->msix_entries[0].vector, netdev); i40evf_free_misc_irq()
1179 int vector, v_budget; i40evf_set_interrupt_capability() local
1204 for (vector = 0; vector < v_budget; vector++) i40evf_set_interrupt_capability()
1205 adapter->msix_entries[vector].entry = vector; i40evf_set_interrupt_capability()
2009 * needs to be disabled. All IRQs except vector 0 (reserved for admin queue)
2576 dev_err(&pdev->dev, "Cannot get interrupt vector.\n"); i40evf_resume()
/linux-4.4.14/drivers/usb/gadget/
H A Dconfig.c64 * @desc: Null-terminated vector of pointers to the descriptors (interface,
114 * usb_copy_descriptors - copy a vector of USB descriptors
115 * @src: null-terminated vector to copy
118 * This makes a copy of a vector of USB descriptors. Its primary use
134 /* count descriptors and their sizes; then add vector size */ usb_copy_descriptors()
/linux-4.4.14/drivers/misc/mic/host/
H A Dmic_debugfs.c293 u16 vector; mic_msi_irq_info_show() local
300 vector = mdev->irq_info.msix_entries[i].vector; mic_msi_irq_info_show()
303 vector = pdev->irq; mic_msi_irq_info_show()
309 "IRQ:", vector, "Entry:", entry, i, reg); mic_msi_irq_info_show()
/linux-4.4.14/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.4.14/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.4.14/drivers/acpi/acpica/
H A Dhwxfsleep.c115 * waking vector should be cleared and the 32-bit waking vector should acpi_hw_set_firmware_waking_vectors()
118 * to fail to resume if the 64-bit vector is used. acpi_hw_set_firmware_waking_vectors()
121 /* Set the 32-bit vector */ acpi_hw_set_firmware_waking_vectors()
128 /* Set the 64-bit vector */ acpi_hw_set_firmware_waking_vectors()
132 /* Clear the 64-bit vector if it exists */ acpi_hw_set_firmware_waking_vectors()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/net/ethernet/emulex/benet/
H A Dbe_roce.c70 /* provide start index of the vector, _be_roce_dev_add()
77 adapter->msix_entries[i].vector; _be_roce_dev_add()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_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.4.14/drivers/net/ethernet/brocade/bna/
H A Dbnad.c68 ((_bnad)->msix_table[BNAD_MAILBOX_MSIX_INDEX].vector) : \
122 int vector, nvecs; bnad_tx_buff_unmap() local
136 vector = 0; bnad_tx_buff_unmap()
138 vector++; bnad_tx_buff_unmap()
139 if (vector == BFI_TX_MAX_VECTORS_PER_WI) { bnad_tx_buff_unmap()
140 vector = 0; bnad_tx_buff_unmap()
146 dma_unmap_addr(&unmap->vectors[vector], dma_addr), bnad_tx_buff_unmap()
147 dma_unmap_len(&unmap->vectors[vector], dma_len), bnad_tx_buff_unmap()
149 dma_unmap_addr_set(&unmap->vectors[vector], dma_addr, 0); bnad_tx_buff_unmap()
324 dma_unmap_addr(&unmap->vector, dma_addr), bnad_rxq_cleanup_page()
325 unmap->vector.len, DMA_FROM_DEVICE); bnad_rxq_cleanup_page()
328 dma_unmap_addr_set(&unmap->vector, dma_addr, 0); bnad_rxq_cleanup_page()
329 unmap->vector.len = 0; bnad_rxq_cleanup_page()
339 dma_unmap_addr(&unmap->vector, dma_addr), bnad_rxq_cleanup_skb()
340 unmap->vector.len, DMA_FROM_DEVICE); bnad_rxq_cleanup_skb()
343 dma_unmap_addr_set(&unmap->vector, dma_addr, 0); bnad_rxq_cleanup_skb()
344 unmap->vector.len = 0; bnad_rxq_cleanup_skb()
412 dma_unmap_addr_set(&unmap->vector, dma_addr, dma_addr); bnad_rxq_refill_page()
413 unmap->vector.len = unmap_q->map_size; bnad_rxq_refill_page()
474 dma_unmap_addr_set(&unmap->vector, dma_addr, dma_addr); bnad_rxq_refill_skb()
475 unmap->vector.len = buff_sz; bnad_rxq_refill_skb()
565 dma_unmap_addr(&unmap->vector, dma_addr), bnad_cq_setup_skb_frags()
566 unmap->vector.len, DMA_FROM_DEVICE); bnad_cq_setup_skb_frags()
569 last_fraglen : unmap->vector.len; bnad_cq_setup_skb_frags()
570 skb->truesize += unmap->vector.len; bnad_cq_setup_skb_frags()
577 unmap->vector.len = 0; bnad_cq_setup_skb_frags()
591 dma_unmap_addr(&unmap->vector, dma_addr), bnad_cq_setup_skb()
592 unmap->vector.len, DMA_FROM_DEVICE); bnad_cq_setup_skb()
598 unmap->vector.len = 0; bnad_cq_setup_skb()
1429 irq = bnad->msix_table[BNAD_MAILBOX_MSIX_INDEX].vector; bnad_mbox_irq_alloc()
1498 intr_info->idl[i].vector = vector_start + i; bnad_txrx_irq_alloc()
1510 intr_info->idl[0].vector = BNAD_INTX_TX_IB_BITMASK; bnad_txrx_irq_alloc()
1514 intr_info->idl[0].vector = BNAD_INTX_RX_IB_BITMASK; bnad_txrx_irq_alloc()
1522 * Unregisters Tx MSIX vector(s) from the kernel
1536 free_irq(bnad->msix_table[vector_num].vector, tx_info->tcb[i]); bnad_tx_msix_unregister()
1541 * Registers Tx MSIX vector(s) and ISR(s), cookie with the kernel
1555 err = request_irq(bnad->msix_table[vector_num].vector, bnad_tx_msix_register()
1572 * Unregisters Rx MSIX vector(s) from the kernel
1586 free_irq(bnad->msix_table[vector_num].vector, bnad_rx_msix_unregister()
1592 * Registers Tx MSIX vector(s) and ISR(s), cookie with the kernel
1607 err = request_irq(bnad->msix_table[vector_num].vector, bnad_rx_msix_register()
2488 irq = bnad->msix_table[BNAD_MAILBOX_MSIX_INDEX].vector; bnad_mbox_irq_sync()
3046 BNA_SET_DMA_ADDR(dma_addr, &txqent->vector[0].host_addr); bnad_start_xmit()
3047 txqent->vector[0].length = htons(len); bnad_start_xmit()
3087 BNA_SET_DMA_ADDR(dma_addr, &txqent->vector[vect_id].host_addr); bnad_start_xmit()
3088 txqent->vector[vect_id].length = htons(size); bnad_start_xmit()
/linux-4.4.14/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.4.14/drivers/usb/serial/
H A Dusb-wwan.h50 unsigned long out_busy; /* Bit vector of URBs in use */
/linux-4.4.14/drivers/misc/sgi-xp/
H A Dxp_nofault.S14 * corrected and vector to the xp_error_PIOR which will return an error.
/linux-4.4.14/drivers/iommu/
H A Dintel_irq_remapping.c1040 static void prepare_irte(struct irte *irte, int vector, unsigned int dest) prepare_irte() argument
1055 irte->vector = vector; prepare_irte()
1121 * update(of vector and cpu destination) of IRTE and flush the hardware cache.
1124 * updated vector information), by using a virtual vector (io-apic pin number).
1125 * Real vector that is used for interrupting cpu will be coming from
1146 * Atomically updates the IRTE with the new destination, vector intel_ir_set_affinity()
1149 irte->vector = cfg->vector; intel_ir_set_affinity()
1159 * vector allocation. intel_ir_set_affinity()
1198 irte_pi.p_vector = vcpu_pi_info->vector; intel_ir_set_vcpu_affinity()
1226 prepare_irte(irte, irq_cfg->vector, irq_cfg->dest_apicid); intel_irq_remapping_prepare_irte()
1235 irte->avail, irte->vector, irte->dest_id, intel_irq_remapping_prepare_irte()
1246 * IO-APIC RTE will be configured with virtual vector. intel_irq_remapping_prepare_irte()
1249 entry->vector = info->ioapic_pin; intel_irq_remapping_prepare_irte()
/linux-4.4.14/drivers/clocksource/
H A Dnumachip.c69 /* Setup IPI vector to local core and relative timing mode */ numachip_timer_each()
/linux-4.4.14/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.4.14/arch/tile/lib/
H A Dstring-endian.h37 * the bytes of srcB as the index into the dest vector to select a
/linux-4.4.14/arch/um/os-Linux/
H A Delf_aux.c4 * Scan the Elf auxiliary vector provided by the host to extract
/linux-4.4.14/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,
594 * Debug interrupt vector
618 * simply jump (J) to another vector without having to use JX.
639 # branch to user or kernel vector
683 /* Not a window vector - but a convenient location
696 j _KernelExceptionVector # simulate kernel vector exception
698 j _UserExceptionVector # simulate user vector exception
/linux-4.4.14/arch/xtensa/platforms/iss/
H A Dsetup.c55 * jump to the reset vector. */ platform_restart()

Completed in 5114 milliseconds

123456