Home
last modified time | relevance | path

Searched refs:dcbaap_vaddr (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.2/kernel/src/driver/usb/xhci/
Dxhci.c226 … __read8b(xhci_hc[id].dcbaap_vaddr + (xhci_hc[id].ports[port_id].slot_id * sizeof(uint64_t)))); in xhci_get_device_context_vaddr()
897 __write8b(xhci_hc[id].dcbaap_vaddr + (xhci_hc[id].ports[port].slot_id * sizeof(uint64_t)), in xhci_initialize_slot()
2180 xhci_hc[cid].dcbaap_vaddr = (uint64_t)kzalloc(2048, 0); // 分配2KB的设备上下文地址数组空间 in xhci_init()
2184 if (unlikely(!xhci_is_aligned64(xhci_hc[cid].dcbaap_vaddr))) // 地址不是按照64byte对齐 in xhci_init()
2190 xhci_write_op_reg64(cid, XHCI_OPS_DCBAAP, virt_2_phys(xhci_hc[cid].dcbaap_vaddr)); in xhci_init()
2199 __write8b(xhci_hc[cid].dcbaap_vaddr, virt_2_phys(xhci_hc[cid].scratchpad_buf_array_vaddr)); in xhci_init()
2245 if (xhci_hc[cid].dcbaap_vaddr) in xhci_init()
2246 kfree((void *)xhci_hc[cid].dcbaap_vaddr); in xhci_init()
Dxhci.h536 …uint64_t dcbaap_vaddr; // Device Context Base Address Array Point… member