Lines Matching +full:interrupt +full:- +full:affinity

1 // SPDX-License-Identifier: GPL-2.0
3 #include <linux/interrupt.h>
22 free_irq(this->irq, this->dev_id); in devm_irq_release()
29 return this->irq == match->irq && this->dev_id == match->dev_id; in devm_irq_match()
33 * devm_request_threaded_irq - allocate an interrupt line for a managed device
34 * @dev: device to request interrupt for
35 * @irq: Interrupt line to allocate
37 * @thread_fn: function to be called in a threaded interrupt context. NULL
39 * @irqflags: Interrupt type flags
62 return -ENOMEM; in devm_request_threaded_irq()
74 dr->irq = irq; in devm_request_threaded_irq()
75 dr->dev_id = dev_id; in devm_request_threaded_irq()
83 * devm_request_any_context_irq - allocate an interrupt line for a managed device
84 * @dev: device to request interrupt for
85 * @irq: Interrupt line to allocate
87 * @irqflags: Interrupt type flags
109 return -ENOMEM; in devm_request_any_context_irq()
120 dr->irq = irq; in devm_request_any_context_irq()
121 dr->dev_id = dev_id; in devm_request_any_context_irq()
129 * devm_free_irq - free an interrupt
130 * @dev: device to free interrupt for
131 * @irq: Interrupt line to free
158 irq_free_descs(this->from, this->cnt); in devm_irq_desc_release()
162 * __devm_irq_alloc_descs - Allocate and initialize a range of irq descriptors
170 * @affinity: Optional pointer to an irq_affinity_desc array of size @cnt
180 const struct irq_affinity_desc *affinity) in __devm_irq_alloc_descs() argument
187 return -ENOMEM; in __devm_irq_alloc_descs()
189 base = __irq_alloc_descs(irq, from, cnt, node, owner, affinity); in __devm_irq_alloc_descs()
195 dr->from = base; in __devm_irq_alloc_descs()
196 dr->cnt = cnt; in __devm_irq_alloc_descs()
205 * devm_irq_alloc_generic_chip - Allocate and initialize a generic chip
210 * @irq_base: Interrupt base nr for this chip
244 irq_remove_generic_chip(this->gc, this->msk, this->clr, this->set); in devm_irq_remove_generic_chip()
248 * devm_irq_setup_generic_chip - Setup a range of interrupts with a generic
253 * @msk: Bitmask holding the irqs to initialize relative to gc->irq_base
258 * Set up max. 32 interrupts starting from gc->irq_base. Note, this
271 return -ENOMEM; in devm_irq_setup_generic_chip()
275 dr->gc = gc; in devm_irq_setup_generic_chip()
276 dr->msk = msk; in devm_irq_setup_generic_chip()
277 dr->clr = clr; in devm_irq_setup_generic_chip()
278 dr->set = set; in devm_irq_setup_generic_chip()