Home
last modified time | relevance | path

Searched refs:pci_dev (Results 1 – 5 of 5) sorted by relevance

/DragonOS-0.1.2/kernel/src/driver/pci/
Dmsi.c25 …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()
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()
66 …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()
68 …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()
80 static __always_inline int __msix_map_table(struct pci_device_structure_header_t *pci_dev, in __msix_map_table() argument
[all …]
Dpci.c508 int32_t pci_enumerate_capability_list(struct pci_device_structure_header_t *pci_dev, uint32_t cap_t… in pci_enumerate_capability_list() argument
511 switch (pci_dev->HeaderType) in pci_enumerate_capability_list()
515 … cap_offset = ((struct pci_device_structure_general_device_t *)pci_dev)->Capabilities_Pointer; in pci_enumerate_capability_list()
519 … cap_offset = ((struct pci_device_structure_pci_to_pci_bridge_t *)pci_dev)->Capability_Pointer; in pci_enumerate_capability_list()
528 tmp = pci_read_config(pci_dev->bus, pci_dev->device, pci_dev->func, cap_offset); in pci_enumerate_capability_list()
Dmsi.h77 struct pci_device_structure_header_t *pci_dev; // 对应的pci设备的结构体 member
Dpci.h225 int32_t pci_enumerate_capability_list(struct pci_device_structure_header_t *pci_dev, uint32_t cap_t…
/DragonOS-0.1.2/kernel/src/driver/usb/xhci/
Dxhci.c636 msi_desc.pci_dev = (struct pci_device_structure_header_t *)xhci_hc[cid].pci_dev_hdr; in xhci_hc_irq_install()