Lines Matching refs:event_ring
1844 if (xhci->event_ring) in xhci_mem_cleanup()
1845 xhci_ring_free(xhci, xhci->event_ring); in xhci_mem_cleanup()
1846 xhci->event_ring = NULL; in xhci_mem_cleanup()
1981 { xhci->event_ring->first_seg->dma - 16, NULL }, in xhci_check_trb_in_td_math()
1983 { xhci->event_ring->first_seg->dma - 1, NULL }, in xhci_check_trb_in_td_math()
1985 { xhci->event_ring->first_seg->dma, xhci->event_ring->first_seg }, in xhci_check_trb_in_td_math()
1987 { xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT - 1)*16, in xhci_check_trb_in_td_math()
1988 xhci->event_ring->first_seg }, in xhci_check_trb_in_td_math()
1990 { xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT - 1)*16 + 1, NULL }, in xhci_check_trb_in_td_math()
1992 { xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT)*16, NULL }, in xhci_check_trb_in_td_math()
2004 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2005 .start_trb = xhci->event_ring->first_seg->trbs, in xhci_check_trb_in_td_math()
2006 .end_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], in xhci_check_trb_in_td_math()
2011 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2012 .start_trb = xhci->event_ring->first_seg->trbs, in xhci_check_trb_in_td_math()
2018 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2025 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2026 .start_trb = &xhci->event_ring->first_seg->trbs[0], in xhci_check_trb_in_td_math()
2027 .end_trb = &xhci->event_ring->first_seg->trbs[3], in xhci_check_trb_in_td_math()
2028 .input_dma = xhci->event_ring->first_seg->dma + 4*16, in xhci_check_trb_in_td_math()
2032 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2033 .start_trb = &xhci->event_ring->first_seg->trbs[3], in xhci_check_trb_in_td_math()
2034 .end_trb = &xhci->event_ring->first_seg->trbs[6], in xhci_check_trb_in_td_math()
2035 .input_dma = xhci->event_ring->first_seg->dma + 2*16, in xhci_check_trb_in_td_math()
2039 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2040 .start_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 3], in xhci_check_trb_in_td_math()
2041 .end_trb = &xhci->event_ring->first_seg->trbs[1], in xhci_check_trb_in_td_math()
2042 .input_dma = xhci->event_ring->first_seg->dma + 2*16, in xhci_check_trb_in_td_math()
2046 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2047 .start_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 3], in xhci_check_trb_in_td_math()
2048 .end_trb = &xhci->event_ring->first_seg->trbs[1], in xhci_check_trb_in_td_math()
2049 .input_dma = xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT - 4)*16, in xhci_check_trb_in_td_math()
2053 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2054 .start_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 3], in xhci_check_trb_in_td_math()
2055 .end_trb = &xhci->event_ring->first_seg->trbs[1], in xhci_check_trb_in_td_math()
2067 xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2068 xhci->event_ring->first_seg->trbs, in xhci_check_trb_in_td_math()
2069 &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], in xhci_check_trb_in_td_math()
2098 deq = xhci_trb_virt_to_dma(xhci->event_ring->deq_seg, in xhci_set_hc_event_deq()
2099 xhci->event_ring->dequeue); in xhci_set_hc_event_deq()
2515 xhci->event_ring = xhci_ring_alloc(xhci, ERST_NUM_SEGS, 1, TYPE_EVENT, in xhci_mem_init()
2517 if (!xhci->event_ring) in xhci_mem_init()
2522 ret = xhci_alloc_erst(xhci, xhci->event_ring, &xhci->erst, flags); in xhci_mem_init()