Lines Matching +full:- +full:affinity

1 /* SPDX-License-Identifier: GPL-2.0 */
43 * IRQF_SHARED - allow sharing the irq among several devices
44 * IRQF_PROBE_SHARED - set by callers when they expect sharing mismatches to occur
45 * IRQF_TIMER - Flag to mark this interrupt as timer interrupt
46 * IRQF_PERCPU - Interrupt is per cpu
47 * IRQF_NOBALANCING - Flag to exclude this interrupt from irq balancing
48 * IRQF_IRQPOLL - Interrupt is used for polling (only the interrupt that is
51 * IRQF_ONESHOT - Interrupt is not reenabled after the hardirq handler finished.
54 * IRQF_NO_SUSPEND - Do not disable this IRQ during suspend. Does not guarantee
56 * state. See Documentation/power/suspend-and-interrupts.rst
57 * IRQF_FORCE_RESUME - Force enable it on resume even if IRQF_NO_SUSPEND is set
58 * IRQF_NO_THREAD - Interrupt cannot be threaded
59 * IRQF_EARLY_RESUME - Resume IRQ early during syscore instead of at device
61 * IRQF_COND_SUSPEND - If the IRQ is shared with a NO_SUSPEND user, execute this
65 * IRQF_NO_AUTOEN - Don't enable IRQ or NMI automatically when users request it.
68 * IRQF_NO_DEBUG - Exclude from runnaway detection for IPI and similar handlers,
92 * IRQC_IS_HARDIRQ - interrupt runs in hardirq context
93 * IRQC_IS_NESTED - interrupt runs in a nested threaded context
103 * struct irqaction - per interrupt action descriptor
137 * If a (PCI) device interrupt is not connected we set dev->irq to
138 * IRQ_NOTCONNECTED. This causes request_irq() to fail with -ENOTCONN, so we
152 * request_irq - Add a handler for an interrupt line
250 * struct irq_affinity_notify - context for notification of IRQ affinity changes
272 * struct irq_affinity - Description for automatic irq affinity assignements
273 * @pre_vectors: Don't apply affinity to @pre_vectors at beginning of
274 * the MSI(-X) vector space
275 * @post_vectors: Don't apply affinity to @post_vectors at end of
276 * the MSI(-X) vector space
277 * @nr_sets: The number of interrupt sets for which affinity
295 * struct irq_affinity_desc - Interrupt affinity descriptor
296 * @mask: cpumask to hold the affinity assignment
318 * irq_update_affinity_hint - Update the affinity hint
322 * Updates the affinity hint, but does not change the affinity of the interrupt.
331 * irq_set_affinity_and_hint - Update the affinity hint and apply the provided
336 * Updates the affinity hint and if @m is not NULL it applies it as the
337 * affinity of that interrupt.
355 struct irq_affinity_desc *affinity);
370 return -EINVAL; in irq_set_affinity()
388 return -EINVAL; in irq_update_affinity_hint()
394 return -EINVAL; in irq_set_affinity_and_hint()
400 return -EINVAL; in irq_set_affinity_hint()
404 struct irq_affinity_desc *affinity) in irq_update_affinity_desc() argument
406 return -EINVAL; in irq_update_affinity_desc()
434 * and which is the only irq-context user of a lock,
435 * that it's safe to take the lock in the irq-disabled
615 /* Tasklets --- multithreaded analogue of BHs.
689 return !test_and_set_bit(TASKLET_STATE_RUN, &(t)->state); in tasklet_trylock()
707 if (!test_and_set_bit(TASKLET_STATE_SCHED, &t->state)) in tasklet_schedule()
715 if (!test_and_set_bit(TASKLET_STATE_SCHED, &t->state)) in tasklet_hi_schedule()
721 atomic_inc(&t->count); in tasklet_disable_nosync()
746 atomic_dec(&t->count); in tasklet_enable()
770 * 5. wait for the device to interrupt, using non-intrusive polling or a delay.