Function report |
Source Code:kernel\irq\chip.c |
Create Date:2022-07-28 10:11:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:irq_modify_status
Proto:void irq_modify_status(unsigned int irq, unsigned long clr, unsigned long set)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | irq | |
unsigned long | clr | |
unsigned long | set |
1097 | desc = irq_get_desc_lock(irq, & flags, 0) |
1099 | If Not desc Then Return |
1106 | WARN_ON_ONCE(! nested irq disables && (set & _IRQ_NOAUTOEN)) |
1108 | irq_settings_clr_and_set(desc, clr, set) |
1110 | trigger = irqd_get_trigger_type( & irq_data) |
1112 | irqd_clear( & irq_data, IRQD_NO_BALANCING | IRQD_PER_CPU | IRQD_TRIGGER_MASK | IRQD_LEVEL | IRQD_MOVE_PCNTXT) |
1114 | If irq_settings_has_no_balance_set(desc) Then irqd_set( & irq_data, IRQD_NO_BALANCING) |
1116 | If irq_settings_is_per_cpu(desc) Then irqd_set( & irq_data, IRQD_PER_CPU) |
1118 | If irq_settings_can_move_pcntxt(desc) Then irqd_set( & irq_data, IRQD_MOVE_PCNTXT) |
1120 | If irq_settings_is_level(desc) Then irqd_set( & irq_data, IRQD_LEVEL) |
1123 | tmp = irq_settings_get_trigger_mask(desc) |
1124 | If tmp != IRQ_TYPE_NONE Then trigger = tmp |
1129 | irq_put_desc_unlock(desc, flags) |
Name | Describe |
---|---|
irq_map_generic_chip | q_map_generic_chip - Map a generic chip for an irq domain |
irq_setup_generic_chip | q_setup_generic_chip - Setup a range of interrupts with a generic chip*@gc: Generic irq chip holding all data*@msk: Bitmask holding the irqs to initialize relative to gc->irq_base*@flags: Flags for initialization*@clr: IRQ_* bits to clear*@set: IRQ_* bits |
irq_remove_generic_chip | q_remove_generic_chip - Remove a chip*@gc: Generic irq chip holding all data*@msk: Bitmask holding the irqs to initialize relative to gc->irq_base*@clr: IRQ_* bits to clear*@set: IRQ_* bits to set* Remove up to 32 interrupts starting from gc->irq_base. |
irq_sim_init | q_sim_init - Initialize the interrupt simulator: allocate a range of* dummy interrupts.*@sim: The interrupt simulator object to initialize.*@num_irqs: Number of interrupts to allocate* On success: return the base of the allocated interrupt range. |
irq_set_status_flags | |
irq_clear_status_flags | |
irq_set_noprobe | |
irq_set_probe | |
irq_set_nothread | |
irq_set_thread |
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 |