Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:_irq - free an interrupt allocated with request_irq*@irq: Interrupt line to free*@dev_id: Device identity to free* Remove an interrupt handler

Proto:const void *free_irq(unsigned int irq, void *dev_id)

Type:void

Parameter:

TypeParameterName
unsigned intirq
void *dev_id
1842  desc = Interrupt to descriptor
1846  If Not desc || WARN_ON(irq_settings_is_per_cpu_devid(desc)) Then Return NULL
1854  action = Internal function to unregister an irqaction - used to free* regular and special interrupts that are part of the architecture.
1856  If Not action Then Return NULL
1859  devname = name
1860  kfree - free previously allocated memory*@objp: pointer returned by kmalloc.* If @objp is NULL, no operation is performed.* Don't free memory not originally allocated by kmalloc()* or you will run into trouble.
1861  Return devname
Caller
NameDescribe
devm_irq_release
devm_free_irqdevm_free_irq - free an interrupt*@dev: device to free interrupt for*@irq: Interrupt line to free*@dev_id: Device identity to free* Except for the extra @dev argument, this function takes the* same arguments and performs the same function as free_irq()