Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/driver/usb/xhci/
Dxhci.c565 const uint64_t table_vaddr = (const uint64_t)kmalloc(64, 0); // table支持8个segment in xhci_create_event_ring() local
567 if (unlikely(table_vaddr == NULL)) in xhci_create_event_ring()
569 memset((void *)table_vaddr, 0, 64); in xhci_create_event_ring()
580 *(uint64_t *)(table_vaddr) = virt_2_phys(seg_vaddr); in xhci_create_event_ring()
581 *(uint64_t *)(table_vaddr + 8) = trbs; in xhci_create_event_ring()
584 return table_vaddr; in xhci_create_event_ring()