Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\chip.c Create Date:2022-07-28 10:11:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:int irq_set_msi_desc_off(unsigned int irq_base, unsigned int irq_offset, struct msi_desc *entry)

Type:int

Parameter:

TypeParameterName
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  If Not desc Then Return -EINVAL
119  msi_desc = entry
120  If entry && Not irq_offset Then irq = irq_base
122  irq_put_desc_unlock(desc, flags)
123  Return 0
Caller
NameDescribe
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