Home
last modified time | relevance | path

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

/DragonOS-0.1.3/kernel/src/driver/usb/xhci/
Dxhci.c684 struct xhci_TRB_t event_trb, origin_trb; // event ring trb以及其对应的command trb in xhci_hc_irq_handler() local
712 xhci_get_trb(&origin_trb, origin_vaddr); in xhci_hc_irq_handler()
714 switch (((struct xhci_TRB_normal_t *)&origin_trb)->TRB_type) in xhci_hc_irq_handler()
718 origin_trb.command &= 0x00ffffff; in xhci_hc_irq_handler()
719 origin_trb.command |= (event_trb.command & 0xff000000); in xhci_hc_irq_handler()
720 origin_trb.status = event_trb.status; in xhci_hc_irq_handler()
723 origin_trb.status = event_trb.status; in xhci_hc_irq_handler()
728 origin_trb.status |= XHCI_IRQ_DONE; in xhci_hc_irq_handler()
730 xhci_set_trb(&origin_trb, origin_vaddr); in xhci_hc_irq_handler()