Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Internal function that tells the architecture code whether a* particular irq has been exclusively allocated or is available* for driver use.

Proto:int can_request_irq(unsigned int irq, unsigned long irqflags)

Type:int

Parameter:

TypeParameterName
unsigned intirq
unsigned longirqflags
734  desc = irq_get_desc_lock(irq, & flags, 0)
735  canrequest = 0
737  If Not desc Then Return 0
740  If irq_settings_can_request(desc) Then
741  If Not IRQ action list || irqflags & flags & allow sharing the irq among several devices Then canrequest = 1
745  irq_put_desc_unlock(desc, flags)
746  Return canrequest