Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:q_set_irqchip_state - set the state of a forwarded interrupt

Proto:int irq_set_irqchip_state(unsigned int irq, enum irqchip_irq_state which, bool val)

Type:int

Parameter:

TypeParameterName
unsigned intirq
enum irqchip_irq_statewhich
boolval
2680  err = -EINVAL
2682  desc = irq_get_desc_buslock(irq, & flags, 0)
2683  If Not desc Then Return err
2686  data = irq_desc_get_irq_data(desc)
2688  Do
2689  chip = irq_data_get_irq_chip(data)
2690  If irq_set_irqchip_state Then Break
2695  data = NULL
2697  When data cycle
2699  If data Then err = irq_set_irqchip_state(data, which, val)
2702  irq_put_desc_busunlock(desc, flags)
2703  Return err
Caller
NameDescribe
irq_debug_write