函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:irq_domain_disassociate

函数原型:void irq_domain_disassociate(struct irq_domain *domain, unsigned int irq)

返回类型:void

参数:

类型参数名称
struct irq_domain *domain
unsigned intirq
504  irq_data等于irq_get_irq_data(irq)
507  如果WARN(!irq_data || 硬件中断对象 != domain, "virq%i doesn't exist; cannot disassociate\n", irq)则返回
511  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  如果unmapunmap(domain, irq)
523  smp_mb()
525  硬件中断对象 = NULL
526  硬件中断号等于0
527  mapcount自减
530  irq_domain_clear_mapping(domain, hwirq)
调用者
名称描述
irq_dispose_mappingq_dispose_mapping() - Unmap an interrupt*@virq: linux irq number of the interrupt to unmap