Searched refs:dev_hdr (Results 1 – 1 of 1) sorted by relevance
/DragonOS-0.1.7/kernel/src/driver/usb/xhci/ |
D | xhci.c | 2080 void xhci_init(struct pci_device_structure_general_device_t *dev_hdr) in xhci_init() argument 2092 … dev_hdr->header.bus, dev_hdr->header.device, dev_hdr->header.func, dev_hdr->header.Vendor_ID, in xhci_init() 2093 dev_hdr->Interrupt_Line, dev_hdr->Interrupt_PIN); in xhci_init() 2104 xhci_hc[cid].pci_dev_hdr = dev_hdr; in xhci_init() 2107 …uint32_t tmp = pci_read_config(dev_hdr->header.bus, dev_hdr->header.device, dev_hdr->header.func, … in xhci_init() 2110 … pci_write_config(dev_hdr->header.bus, dev_hdr->header.device, dev_hdr->header.func, 0x4, tmp); in xhci_init() 2117 …mm_map_phys_addr(xhci_hc[cid].vbase, dev_hdr->BAR0 & (~0xf), 65536, PAGE_KERNEL_PAGE | PAGE_PWT | … in xhci_init() 2154 …uint32_t tmp = pci_read_config(dev_hdr->header.bus, dev_hdr->header.device, dev_hdr->header.func, … in xhci_init() 2156 … pci_write_config(dev_hdr->header.bus, dev_hdr->header.device, dev_hdr->header.func, 0x60, tmp); in xhci_init() 2159 …if (((pci_read_config(dev_hdr->header.bus, dev_hdr->header.device, dev_hdr->header.func, 0) & 0xff… in xhci_init() [all …]
|