函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\msi.c Create Date:2022-07-27 09:30:41
Last Modify:2020-03-17 10:05:02 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__irq_msi_compose_msg

函数原型:static void __irq_msi_compose_msg(struct irq_cfg *cfg, struct msi_msg *msg)

返回类型:void

参数:

类型参数名称
struct irq_cfg *cfg
struct msi_msg *msg
28  high 32 bits of msi message address 等于Shift/mask fields for msi address
30  如果x2apic_enabled()则 high 32 bits of msi message address 或等于MSI_ADDR_EXT_DEST_ID(dest_apicid)
33  low 32 bits of msi message address 等于MSI_ADDR_BASE_LO按位或如果irq_dest_mode恒等于0则MSI_ADDR_DEST_MODE_PHYSICAL否则MSI_ADDR_DEST_MODE_LOGICAL按位或MSI_ADDR_REDIRECTION_CPU按位或MSI_ADDR_DEST_ID(dest_apicid)
41  16 bits of msi message data 等于MSI_DATA_TRIGGER_EDGE按位或MSI_DATA_LEVEL_ASSERT按位或MSI_DATA_DELIVERY_FIXED按位或MSI_DATA_VECTOR(vector)
调用者
名称描述
irq_msi_compose_msg
irq_msi_update_msg