Lines Matching refs:event_trb
684 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()
747 __write4b((uint64_t)phys_2_virt(event_trb.param), in xhci_hc_irq_handler()
748 … (event_trb.status | XHCI_IRQ_DONE)); // return code + bytes *not* transferred in xhci_hc_irq_handler()
759 xhci_get_trb(&event_trb, xhci_hc[cid].current_event_ring_vaddr); in xhci_hc_irq_handler()
760 if (((struct xhci_TRB_normal_t *)&event_trb)->TRB_type == TRB_TYPE_LINK) in xhci_hc_irq_handler()
763 xhci_get_trb(&event_trb, xhci_hc[cid].current_event_ring_vaddr); in xhci_hc_irq_handler()