Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\apic\msi.c Create Date:2022-07-28 08:31:13
Last Modify:2020-03-17 10:05:02 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__irq_msi_compose_msg

Proto:static void __irq_msi_compose_msg(struct irq_cfg *cfg, struct msi_msg *msg)

Type:void

Parameter:

TypeParameterName
struct irq_cfg *cfg
struct msi_msg *msg
28  high 32 bits of msi message address = Shift/mask fields for msi address
30  If x2apic_enabled() Then 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 | If irq_dest_mode == 0 Then MSI_ADDR_DEST_MODE_PHYSICAL Else 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)
Caller
NameDescribe
irq_msi_compose_msg
irq_msi_update_msg