Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:enable_percpu_irq

Proto:void enable_percpu_irq(unsigned int irq, unsigned int type)

Type:void

Parameter:

TypeParameterName
unsigned intirq
unsigned inttype
2184  cpu = smp_processor_id()
2186  desc = irq_get_desc_lock(irq, & flags, IRQ_GET_DESC_CHECK_PERCPU)
2188  If Not desc Then Return
2195  type &= IRQ_TYPE_SENSE_MASK
2196  If type == IRQ_TYPE_NONE Then type = irqd_get_trigger_type( & irq_data)
2199  If type != IRQ_TYPE_NONE Then
2202  ret = __irq_set_trigger(desc, type)
2204  If ret Then
2205  WARN(1, "failed to set type for IRQ%d\n", irq)
2206  Go to out
2210  irq_percpu_enable(desc, cpu)
2211  out :
2212  irq_put_desc_unlock(desc, flags)
Caller
NameDescribe
enable_percpu_nmi