函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:q_set_type - set the irq trigger type for an irq*@irq: irq number*@type: IRQ_TYPE_{LEVEL,EDGE}_* value - see include/linux/irq.h

函数原型:int irq_set_irq_type(unsigned int irq, unsigned int type)

返回类型:int

参数:

类型参数名称
unsigned intirq
unsigned inttype
71  desc等于irq_get_desc_buslock(irq, & flags, IRQ_GET_DESC_CHECK_GLOBAL)
72  ret等于0
74  如果非desc则返回:负EINVAL
77  ret等于设置中断触发方式
78  irq_put_desc_busunlock(desc, flags)
79  返回:ret