Function report | 
Source Code:kernel\irq\autoprobe.c | 
Create Date:2022-07-28 10:13:13 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:probe_irq_off - end an interrupt autodetect*@val: mask of potential interrupts (unused)* Scans the unused interrupt lines and returns the line which* appears to have triggered the interrupt. If no interrupt was* found then zero is returned
Proto:int probe_irq_off(unsigned long val)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned long | val | 
| 159 | irq_found = 0 , nr_of_irqs = 0 | 
| 162 | for_each_irq_desc(i, desc) | 
| 163 | raw_spin_lock_irq( & lock) | 
| 165 | If istate & IRQS_AUTODETECT Then | 
| 166 | If Not (istate & IRQS_WAITING) Then | 
| 167 | If Not nr_of_irqs Then irq_found = i | 
| 169 | nr_of_irqs++ | 
| 171 | istate &= ~IRQS_AUTODETECT | 
| 174 | raw_spin_unlock_irq( & lock) | 
| 178 | If nr_of_irqs > 1 Then irq_found = -irq_found | 
| 181 | Return irq_found | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |