函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:q_gc_set_wake - Set/clr wake bit for an interrupt*@d: irq_data*@on: Indicates whether the wake bit should be set or cleared* For chips where the wake from suspend functionality is not* configured in a separate register and the wakeup active state is

函数原型:int irq_gc_set_wake(struct irq_data *d, unsigned int on)

返回类型:int

参数:

类型参数名称
struct irq_data *d
unsigned inton
189  gc等于irq_data_get_irq_chip_data(d)
190  mask等于访问寄存器掩码
192  如果非mask按位与wake_enabled的值则返回:负EINVAL
195  irq_gc_lock(gc)
196  如果onwake_active或等于mask
198  否则wake_active与等于mask的反
200  irq_gc_unlock(gc)
201  返回:0