函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\chip.c Create Date:2022-07-27 11:11:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:handle_fasteoi_irq - irq handler for transparent controllers*@desc: the interrupt description structure for this irq* Only a single callback will be issued to the chip: an ->eoi()* call when the interrupt has been serviced

函数原型:void handle_fasteoi_irq(struct irq_desc *desc)

返回类型:void

参数:

类型参数名称
struct irq_desc *desc
701  chip等于中断控制器信息
703  raw_spin_lock( & 自旋锁)
705  如果非irq_may_run(desc)则转到:out
708  istate与等于IRQS_REPLAY按位或IRQS_WAITING的值的反
714  如果此条件成立可能性小(为编译器优化)(!中断服务例程链表 || irqd_irq_disabled( & irq_data))则
715  istate或等于IRQS_PENDING
716  mask_irq(desc)
717  转到:out
720  kstat_incr_irqs_this_cpu(desc)
721  如果istate按位与IRQS_ONESHOTmask_irq(desc)
724  preflow_handler(desc)
725  handle_irq_event(desc)
727  cond_unmask_eoi_irq(desc, chip)
729  raw_spin_unlock( & 自旋锁)
730  返回
731  out :
732  如果非芯片专用标志按位与IRQCHIP_EOI_IF_HANDLED的值则中断结束( & irq_data)
734  raw_spin_unlock( & 自旋锁)