Function report |
Source Code:kernel\irq\generic-chip.c |
Create Date:2022-07-28 10:12:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:void irq_setup_generic_chip(struct irq_chip_generic *gc, unsigned int msk, enum irq_gc_flags flags, unsigned int clr, unsigned int set)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct irq_chip_generic * | gc | |
unsigned int | msk | |
enum irq_gc_flags | flags | |
unsigned int | clr | |
unsigned int | set |
470 | ct = chip_types |
474 | raw_spin_lock( & gc_lock) |
476 | raw_spin_unlock( & gc_lock) |
478 | irq_gc_init_mask_cache(gc, flags) |
481 | If Not (msk & 0x01) Then Continue |
484 | If flags & IRQ_GC_INIT_NESTED_LOCK Then irq_set_lockdep_class(i, & Separate lockdep classes for interrupt chip which can nest irq_desc* lock and request mutex., & irq_nested_request_class) |
488 | If Not (flags & IRQ_GC_NO_MASK) Then |
489 | d = irq_get_irq_data(i) |
491 | If irq_calc_mask Then irq_calc_mask(d) |
496 | irq_set_chip_and_handler(i, chip, handler) |
498 | irq_modify_status(i, clr, set) |
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 |