Lines Matching refs:event_trb

686         struct xhci_TRB_t event_trb, origin_trb; // event ring trb以及其对应的command trb  in xhci_hc_irq_handler()  local
690 xhci_get_trb(&event_trb, xhci_hc[cid].current_event_ring_vaddr); in xhci_hc_irq_handler()
693 … struct xhci_TRB_cmd_complete_t *event_trb_ptr = (struct xhci_TRB_cmd_complete_t *)&event_trb; in xhci_hc_irq_handler()
696 …while ((event_trb.command & 1) == xhci_hc[cid].current_event_ring_cycle) // 循环处理处于当前周期的所有event ring in xhci_hc_irq_handler()
699 … struct xhci_TRB_cmd_complete_t *event_trb_ptr = (struct xhci_TRB_cmd_complete_t *)&event_trb; in xhci_hc_irq_handler()
701 if ((event_trb.command & (1 << 2)) == 0) // 当前event trb不是由于short packet产生的 in xhci_hc_irq_handler()
712 origin_vaddr = (uint64_t)phys_2_virt(event_trb.param); in xhci_hc_irq_handler()
721 origin_trb.command |= (event_trb.command & 0xff000000); in xhci_hc_irq_handler()
722 origin_trb.status = event_trb.status; in xhci_hc_irq_handler()
725 origin_trb.status = event_trb.status; in xhci_hc_irq_handler()
749 __write4b((uint64_t)phys_2_virt(event_trb.param), in xhci_hc_irq_handler()
750 … (event_trb.status | XHCI_IRQ_DONE)); // return code + bytes *not* transferred in xhci_hc_irq_handler()
761 xhci_get_trb(&event_trb, xhci_hc[cid].current_event_ring_vaddr); in xhci_hc_irq_handler()
762 if (((struct xhci_TRB_normal_t *)&event_trb)->TRB_type == TRB_TYPE_LINK) in xhci_hc_irq_handler()
765 xhci_get_trb(&event_trb, xhci_hc[cid].current_event_ring_vaddr); in xhci_hc_irq_handler()