函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:q_set_msi_desc_off - set MSI descriptor data for an irq at offset*@irq_base: Interrupt number base*@irq_offset: Interrupt number offset*@entry: Pointer to MSI descriptor data* Set the MSI descriptor entry for an irq at offset

函数原型:int irq_set_msi_desc_off(unsigned int irq_base, unsigned int irq_offset, struct msi_desc *entry)

返回类型:int

参数:

类型参数名称
unsigned intirq_base
unsigned intirq_offset
struct msi_desc *entry
115  desc等于irq_get_desc_lock(irq_base + irq_offset, & flags, IRQ_GET_DESC_CHECK_GLOBAL)
117  如果非desc则返回:负EINVAL
119  MSI描述等于entry
120  如果entry且非irq_offsetirq等于irq_base
122  irq_put_desc_unlock(desc, flags)
123  返回:0
调用者
名称描述
irq_set_msi_descq_set_msi_desc - set MSI descriptor data for an irq*@irq: Interrupt number*@entry: Pointer to MSI descriptor data* Set the MSI descriptor entry for an irq