Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/driver/usb/xhci/
Dxhci.c686 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()
[all …]