Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:irq_domain_disassociate

Proto:void irq_domain_disassociate(struct irq_domain *domain, unsigned int irq)

Type:void

Parameter:

TypeParameterName
struct irq_domain *domain
unsigned intirq
504  irq_data = irq_get_irq_data(irq)
507  If WARN(!irq_data || domain != domain, "virq%i doesn't exist; cannot disassociate\n", irq) Then Return
511  hwirq = hwirq
512  irq_set_status_flags(irq, IRQ_NOREQUEST)
515  irq_set_chip_and_handler(irq, NULL, NULL)
518  synchronize_irq - wait for pending IRQ handlers (on other CPUs)*@irq: interrupt number to wait for* This function waits for any pending IRQ handlers for this interrupt* to complete before returning. If you use this function while
521  If unmap Then unmap(domain, irq)
523  smp_mb()
525  domain = NULL
526  hwirq = 0
527  mapcount--
530  irq_domain_clear_mapping(domain, hwirq)
Caller
NameDescribe
irq_dispose_mappingq_dispose_mapping() - Unmap an interrupt*@virq: linux irq number of the interrupt to unmap