Home
last modified time | relevance | path

Searched refs:event_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
688 xhci_get_trb(&event_trb, xhci_hc[cid].current_event_ring_vaddr); in xhci_hc_irq_handler()
691 … struct xhci_TRB_cmd_complete_t *event_trb_ptr = (struct xhci_TRB_cmd_complete_t *)&event_trb; in xhci_hc_irq_handler()
694 …while ((event_trb.command & 1) == xhci_hc[cid].current_event_ring_cycle) // 循环处理处于当前周期的所有event ring in xhci_hc_irq_handler()
697 … struct xhci_TRB_cmd_complete_t *event_trb_ptr = (struct xhci_TRB_cmd_complete_t *)&event_trb; in xhci_hc_irq_handler()
699 if ((event_trb.command & (1 << 2)) == 0) // 当前event trb不是由于short packet产生的 in xhci_hc_irq_handler()
710 origin_vaddr = (uint64_t)phys_2_virt(event_trb.param); 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()
[all …]