函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\generic-chip.c Create Date:2022-07-27 11:13:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:irq_gc_init_mask_cache

函数原型:static void irq_gc_init_mask_cache(struct irq_chip_generic *gc, enum irq_gc_flags flags)

返回类型:void

参数:

类型参数名称
struct irq_chip_generic *gc
enum irq_gc_flagsflags
256  ct等于chip_types
257  mskptr等于mask_cache, mskreg等于mask
260 i小于num_ct循环
261  如果flags按位与IRQ_GC_MASK_CACHE_PER_TYPE
262  mskptr等于mask_cache_priv
263  mskreg等于mask
265  mask_cache等于mskptr
266  如果flags按位与IRQ_GC_INIT_MASK_CACHEmskptr等于irq_reg_readl(gc, mskreg)
调用者
名称描述
irq_map_generic_chipq_map_generic_chip - Map a generic chip for an irq domain
irq_setup_generic_chipq_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