Home
last modified time | relevance | path

Searched refs:pci_device_structure_header_t (Results 1 – 11 of 11) sorted by relevance

/DragonOS-0.1.5/kernel/src/driver/pci/
Dpci.h19 struct pci_device_structure_header_t struct
61 struct pci_device_structure_header_t header; argument
93 struct pci_device_structure_header_t header;
137 struct pci_device_structure_header_t header;
216 …evice_structure(uint8_t class_code, uint8_t sub_class, struct pci_device_structure_header_t *res[]…
225 int32_t pci_enumerate_capability_list(struct pci_device_structure_header_t *pci_dev, uint32_t cap_t…
Dpci.c232 …struct pci_device_structure_header_t *common_header = (struct pci_device_structure_header_t *)kmal… in pci_read_header()
311 …struct pci_device_structure_header_t *header = pci_read_header(&header_type, bus, device, function… in pci_checkFunction()
332 …struct pci_device_structure_header_t *header = pci_read_header(&header_type, bus, device, 0, false… in pci_checkDevice()
360 struct pci_device_structure_header_t *tmp_header; in pci_checkDevice()
361 …tmp_header = (struct pci_device_structure_header_t *)pci_read_header(&header_type, bus, device, fu… in pci_checkDevice()
391 struct pci_device_structure_header_t *header = pci_read_header(&header_type, 0, 0, 0, false); in pci_checkAllBuses()
410 struct pci_device_structure_header_t *tmp_header; in pci_checkAllBuses()
413 …tmp_header = (struct pci_device_structure_header_t *)pci_read_header(&header_type, 0, 0, func, fal… in pci_checkAllBuses()
435 …struct pci_device_structure_header_t *ptr = container_of(pci_device_structure_list, struct pci_dev… in pci_init()
469 ptr = container_of(list_next(&(ptr->list)), struct pci_device_structure_header_t, list); in pci_init()
[all …]
Dmsi.c80 static __always_inline int __msix_map_table(struct pci_device_structure_header_t *pci_dev, in __msix_map_table()
127 static __always_inline void __msix_clear_entry(struct pci_device_structure_header_t *pci_dev, uint1… in __msix_clear_entry()
148 struct pci_device_structure_header_t *ptr = msi_desc->pci_dev; in pci_enable_msi()
233 struct pci_device_structure_header_t *ptr = (struct pci_device_structure_header_t *)header; in pci_start_msi()
291 struct pci_device_structure_header_t *ptr = (struct pci_device_structure_header_t *)header; in pci_disable_msi()
Dmsi.h77 struct pci_device_structure_header_t *pci_dev; // 对应的pci设备的结构体
/DragonOS-0.1.5/kernel/src/driver/virtio/
Dvirtio.c9 static struct pci_device_structure_header_t *net_pdevs[MAX_NET_NUM];
11 static struct pci_device_structure_header_t *virtio_net_pdev;
/DragonOS-0.1.5/kernel/src/driver/disk/ahci/
Dahci_rust.h19 void ahci_cpp_init(uint32_t *count_ahci_devices, struct pci_device_structure_header_t *ahci_devs[MA…
Dahci.c10 void ahci_cpp_init(uint32_t *count_ahci_devices, struct pci_device_structure_header_t *ahci_devs[MA… in ahci_cpp_init()
Dmod.rs29 ahci_cpp_init, pci_device_structure_general_device_t, pci_device_structure_header_t,
55 let mut ahci_devs: [*mut pci_device_structure_header_t; MAX_AHCI_DEVICES as usize] = in ahci_rust_init()
56 [0 as *mut pci_device_structure_header_t; MAX_AHCI_DEVICES as usize]; in ahci_rust_init()
65 (&mut ahci_devs) as *mut *mut pci_device_structure_header_t, in ahci_rust_init()
Dahci.h337 struct pci_device_structure_header_t *dev_struct;
/DragonOS-0.1.5/kernel/src/driver/usb/
Dusb.c14 static struct pci_device_structure_header_t *usb_pdevs[MAX_USB_NUM];
/DragonOS-0.1.5/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()