Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__irq_get_desc_lock

Proto:struct irq_desc *__irq_get_desc_lock(unsigned int irq, unsigned long *flags, bool bus, unsigned int check)

Type:struct irq_desc

Parameter:

TypeParameterName
unsigned intirq
unsigned long *flags
boolbus
unsigned intcheck
873  desc = Interrupt to descriptor
875  If desc Then
876  If check & _IRQ_DESC_CHECK Then
877  If check & _IRQ_DESC_PERCPU && Not irq_settings_is_per_cpu_devid(desc) Then Return NULL
881  If Not (check & _IRQ_DESC_PERCPU) && irq_settings_is_per_cpu_devid(desc) Then Return NULL
886  If bus Then Inline functions for support of irq chips on slow busses
888  raw_spin_lock_irqsave( & lock, * flags)
890  Return desc
Caller
NameDescribe
irq_get_desc_buslock
irq_get_desc_lock