Function Report

Linux Kernel (v4.4)

Source File:kernel\irq\pm.c Create Date:2016-01-14 11:00:47
Last Modify:2016-01-11 07:01:32 Copyright©Brick
home page Tree
Annotate the kernelChinese

Function Name:irq_pm_install_action

Function:void irq_pm_install_action(struct irq_desc *desc, struct irqaction *action)

Return Type:void

Parameter:

Type Parameter NameRemarks
struct irq_desc * desc
struct irqaction * action

Function description:Called from __setup_irq() with desc->lock held after@action has been installed in the action chain.

36  number of installed actions on this descriptor++
38  If flags(see IRQF_* above) & Force enable it on resume even if IRQF_NO_SUSPEND is set then number of irqactions on a irq descriptor with IRQF_FORCE_RESUME set++
42  WARN_ON_ONCE
44  If flags(see IRQF_* above) & Do not disable this IRQ during suspend then number of irqactions on a irq descriptor with IRQF_NO_SUSPEND set++
46  Else if flags(see IRQF_* above) & If the IRQ is shared with a NO_SUSPEND user then Interrupt descriptor++
51  WARN_ON_ONCE
Caller
Function NameFunction description
__setup_irqregister an interrupt