Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/driver/usb/xhci/
Dxhci.c572 const uint64_t seg_vaddr = (const uint64_t)kmalloc(trbs * sizeof(struct xhci_TRB_t), 0); in xhci_create_event_ring() local
574 if (unlikely(seg_vaddr == NULL)) in xhci_create_event_ring()
577 memset((void *)seg_vaddr, 0, trbs * sizeof(struct xhci_TRB_t)); in xhci_create_event_ring()
580 *(uint64_t *)(table_vaddr) = virt_2_phys(seg_vaddr); in xhci_create_event_ring()
583 *ret_ring_addr = seg_vaddr; in xhci_create_event_ring()