Searched refs:msi_desc (Results 1 – 5 of 5) sorted by relevance
/DragonOS-0.1.2/kernel/src/arch/x86_64/ |
D | ia64_msi.c | 21 struct msi_msg_t *msi_arch_get_msg(struct msi_desc_t *msi_desc) in msi_arch_get_msg() argument 23 msi_desc->msg.address_hi = 0; in msi_arch_get_msg() 24 msi_desc->msg.address_lo = ia64_pci_get_arch_msi_message_address(msi_desc->processor); in msi_arch_get_msg() 25 …msi_desc->msg.data = ia64_pci_get_arch_msi_message_data(msi_desc->irq_num, msi_desc->processor, ms… in msi_arch_get_msg() 26 msi_desc->msg.vector_control = 0; in msi_arch_get_msg() 27 return &(msi_desc->msg); in msi_arch_get_msg()
|
D | ia64_msi.h | 11 struct msi_msg_t *msi_arch_get_msg(struct msi_desc_t *msi_desc);
|
/DragonOS-0.1.2/kernel/src/driver/pci/ |
D | msi.c | 12 extern struct msi_msg_t *msi_arch_get_msg(struct msi_desc_t *msi_desc); 21 static __always_inline struct pci_msix_cap_t __msi_read_msix_cap_list(struct msi_desc_t *msi_desc, … in __msi_read_msix_cap_list() argument 25 …dw0 = pci_read_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->pci_dev->func, … in __msi_read_msix_cap_list() 32 …pci_read_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->pci_dev->func, cap_of… in __msi_read_msix_cap_list() 34 …pci_read_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->pci_dev->func, cap_of… in __msi_read_msix_cap_list() 38 static __always_inline struct pci_msi_cap_t __msi_read_cap_list(struct msi_desc_t *msi_desc, uint32… in __msi_read_cap_list() argument 42 …dw0 = pci_read_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->pci_dev->func, … in __msi_read_cap_list() 48 …pci_read_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->pci_dev->func, cap_of… in __msi_read_cap_list() 53 …pci_read_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->pci_dev->func, cap_of… in __msi_read_cap_list() 61 …cap_list.msg_data = pci_read_config(msi_desc->pci_dev->bus, msi_desc->pci_dev->device, msi_desc->p… in __msi_read_cap_list() [all …]
|
D | msi.h | 94 int pci_enable_msi(struct msi_desc_t *msi_desc);
|
/DragonOS-0.1.2/kernel/src/driver/usb/xhci/ |
D | xhci.c | 631 struct msi_desc_t msi_desc; in xhci_hc_irq_install() local 632 memset(&msi_desc, 0, sizeof(struct msi_desc_t)); in xhci_hc_irq_install() 634 msi_desc.irq_num = irq_num; in xhci_hc_irq_install() 635 msi_desc.msi_index = 0; in xhci_hc_irq_install() 636 msi_desc.pci_dev = (struct pci_device_structure_header_t *)xhci_hc[cid].pci_dev_hdr; in xhci_hc_irq_install() 637 msi_desc.assert = info->assert; in xhci_hc_irq_install() 638 msi_desc.edge_trigger = info->edge_trigger; in xhci_hc_irq_install() 639 msi_desc.processor = info->processor; in xhci_hc_irq_install() 640 msi_desc.pci.msi_attribute.is_64 = 1; in xhci_hc_irq_install() 641 msi_desc.pci.msi_attribute.is_msix = 1; in xhci_hc_irq_install() [all …]
|