Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:probe_irq_mask - scan a bitmap of interrupt lines*@val: mask of interrupts to consider* Scan the interrupt lines and return a bitmap of active* autodetect interrupts

Proto:unsigned int probe_irq_mask(unsigned long val)

Type:unsigned int

Parameter:

TypeParameterName
unsigned longval
119  mask = 0
123  for_each_irq_desc(i, desc)
124  raw_spin_lock_irq( & lock)
125  If istate & IRQS_AUTODETECT Then
126  If i < 16 && Not (istate & IRQS_WAITING) Then mask |= 1 << i
132  raw_spin_unlock_irq( & lock)
134  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
136  Return mask & val