Lines Matching refs:event_ring
1843 if (xhci->event_ring) in xhci_mem_cleanup()
1844 xhci_ring_free(xhci, xhci->event_ring); in xhci_mem_cleanup()
1845 xhci->event_ring = NULL; in xhci_mem_cleanup()
1975 { xhci->event_ring->first_seg->dma - 16, NULL }, in xhci_check_trb_in_td_math()
1977 { xhci->event_ring->first_seg->dma - 1, NULL }, in xhci_check_trb_in_td_math()
1979 { xhci->event_ring->first_seg->dma, xhci->event_ring->first_seg }, in xhci_check_trb_in_td_math()
1981 { xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT - 1)*16, in xhci_check_trb_in_td_math()
1982 xhci->event_ring->first_seg }, in xhci_check_trb_in_td_math()
1984 { xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT - 1)*16 + 1, NULL }, in xhci_check_trb_in_td_math()
1986 { xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT)*16, NULL }, in xhci_check_trb_in_td_math()
1998 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
1999 .start_trb = xhci->event_ring->first_seg->trbs, in xhci_check_trb_in_td_math()
2000 .end_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], in xhci_check_trb_in_td_math()
2005 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2006 .start_trb = xhci->event_ring->first_seg->trbs, in xhci_check_trb_in_td_math()
2012 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2019 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2020 .start_trb = &xhci->event_ring->first_seg->trbs[0], in xhci_check_trb_in_td_math()
2021 .end_trb = &xhci->event_ring->first_seg->trbs[3], in xhci_check_trb_in_td_math()
2022 .input_dma = xhci->event_ring->first_seg->dma + 4*16, in xhci_check_trb_in_td_math()
2026 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2027 .start_trb = &xhci->event_ring->first_seg->trbs[3], in xhci_check_trb_in_td_math()
2028 .end_trb = &xhci->event_ring->first_seg->trbs[6], in xhci_check_trb_in_td_math()
2029 .input_dma = xhci->event_ring->first_seg->dma + 2*16, in xhci_check_trb_in_td_math()
2033 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2034 .start_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 3], in xhci_check_trb_in_td_math()
2035 .end_trb = &xhci->event_ring->first_seg->trbs[1], in xhci_check_trb_in_td_math()
2036 .input_dma = xhci->event_ring->first_seg->dma + 2*16, in xhci_check_trb_in_td_math()
2040 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2041 .start_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 3], in xhci_check_trb_in_td_math()
2042 .end_trb = &xhci->event_ring->first_seg->trbs[1], in xhci_check_trb_in_td_math()
2043 .input_dma = xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT - 4)*16, in xhci_check_trb_in_td_math()
2047 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2048 .start_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 3], in xhci_check_trb_in_td_math()
2049 .end_trb = &xhci->event_ring->first_seg->trbs[1], in xhci_check_trb_in_td_math()
2061 xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2062 xhci->event_ring->first_seg->trbs, in xhci_check_trb_in_td_math()
2063 &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], in xhci_check_trb_in_td_math()
2092 deq = xhci_trb_virt_to_dma(xhci->event_ring->deq_seg, in xhci_set_hc_event_deq()
2093 xhci->event_ring->dequeue); in xhci_set_hc_event_deq()
2495 xhci->event_ring = xhci_ring_alloc(xhci, ERST_NUM_SEGS, 1, TYPE_EVENT, in xhci_mem_init()
2497 if (!xhci->event_ring) in xhci_mem_init()
2502 ret = xhci_alloc_erst(xhci, xhci->event_ring, &xhci->erst, flags); in xhci_mem_init()