Searched refs:dev_hdr (Results 1 – 1 of 1) sorted by relevance
/DragonOS-0.1.2/kernel/src/driver/usb/xhci/ |
D | xhci.c | 2078 void xhci_init(struct pci_device_structure_general_device_t *dev_hdr) in xhci_init() argument 2090 … dev_hdr->header.bus, dev_hdr->header.device, dev_hdr->header.func, dev_hdr->header.Vendor_ID, in xhci_init() 2091 dev_hdr->Interrupt_Line, dev_hdr->Interrupt_PIN); in xhci_init() 2102 xhci_hc[cid].pci_dev_hdr = dev_hdr; in xhci_init() 2105 …uint32_t tmp = pci_read_config(dev_hdr->header.bus, dev_hdr->header.device, dev_hdr->header.func, … in xhci_init() 2108 … pci_write_config(dev_hdr->header.bus, dev_hdr->header.device, dev_hdr->header.func, 0x4, tmp); in xhci_init() 2115 …mm_map_phys_addr(xhci_hc[cid].vbase, dev_hdr->BAR0 & (~0xf), 65536, PAGE_KERNEL_PAGE | PAGE_PWT | … in xhci_init() 2152 …uint32_t tmp = pci_read_config(dev_hdr->header.bus, dev_hdr->header.device, dev_hdr->header.func, … in xhci_init() 2154 … pci_write_config(dev_hdr->header.bus, dev_hdr->header.device, dev_hdr->header.func, 0x60, tmp); in xhci_init() 2157 …if (((pci_read_config(dev_hdr->header.bus, dev_hdr->header.device, dev_hdr->header.func, 0) & 0xff… in xhci_init() [all …]
|