Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\manage.c Create Date:2022-07-28 10:10:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:quest_any_context_irq - allocate an interrupt line*@irq: Interrupt line to allocate*@handler: Function to be called when the IRQ occurs

Proto:int request_any_context_irq(unsigned int irq, irq_handler_t handler, unsigned long flags, const char *name, void *dev_id)

Type:int

Parameter:

TypeParameterName
unsigned intirq
irq_handler_thandler
unsigned longflags
const char *name
void *dev_id
2069  If irq == If a (PCI) device interrupt is not connected we set dev->irq to* IRQ_NOTCONNECTED Then Return -ENOTCONN
2072  desc = Interrupt to descriptor
2073  If Not desc Then Return -EINVAL
2076  If irq_settings_is_nested_thread(desc) Then
2077  ret = quest_threaded_irq - allocate an interrupt line*@irq: Interrupt line to allocate*@handler: Function to be called when the IRQ occurs
2079  Return If Not ret Then IRQC_IS_NESTED Else ret
2082  ret = request a new interrupt
2083  Return If Not ret Then IRQC_IS_HARDIRQ Else ret
Caller
NameDescribe
devm_request_any_context_irqdevm_request_any_context_irq - allocate an interrupt line for a managed device*@dev: device to request interrupt for*@irq: Interrupt line to allocate*@handler: Function to be called when the IRQ occurs*@irqflags: Interrupt type flags*@devname: An ascii