Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:q_get_irqchip_state - returns the irqchip state of a interrupt

Proto:int irq_get_irqchip_state(unsigned int irq, enum irqchip_irq_state which, bool *state)

Type:int

Parameter:

TypeParameterName
unsigned intirq
enum irqchip_irq_statewhich
bool *state
2646  err = -EINVAL
2648  desc = irq_get_desc_buslock(irq, & flags, 0)
2649  If Not desc Then Return err
2652  data = irq_desc_get_irq_data(desc)
2654  err = __irq_get_irqchip_state(data, which, state)
2656  irq_put_desc_busunlock(desc, flags)
2657  Return err