Function report |
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 activity | Download SCCT | Chinese |
Name:enable_percpu_irq
Proto:void enable_percpu_irq(unsigned int irq, unsigned int type)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | irq | |
| unsigned int | type |
| 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 |
| 2210 | irq_percpu_enable(desc, cpu) |
| 2211 | out : |
| 2212 | irq_put_desc_unlock(desc, flags) |
| Name | Describe |
|---|---|
| enable_percpu_nmi |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |