函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:void irq_remove_generic_chip(struct irq_chip_generic *gc, unsigned int msk, unsigned int clr, unsigned int set)

返回类型:void

参数:

类型参数名称
struct irq_chip_generic *gc
unsigned intmsk
unsigned intclr
unsigned intset
540  i等于irq_base
542  raw_spin_lock( & gc_lock)
543  删除链表项
544  raw_spin_unlock( & gc_lock)
546 msk循环
547  如果非msk按位与0x01的值则继续下一循环
551  irq_set_handler(i, NULL)
552  q_set_chip - set the irq chip for an irq*@irq: irq number*@chip: pointer to irq chip description structure
553  q_set_chip_data - set irq chip data for an irq*@irq: Interrupt number*@data: Pointer to chip specific data* Set the hardware irq chip data for an irq
554  irq_modify_status(i, clr, set)
调用者
名称描述
irq_destroy_generic_chip