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()
1978 { xhci->event_ring->first_seg->dma - 16, NULL }, in xhci_check_trb_in_td_math()
1980 { xhci->event_ring->first_seg->dma - 1, NULL }, in xhci_check_trb_in_td_math()
1982 { xhci->event_ring->first_seg->dma, xhci->event_ring->first_seg }, in xhci_check_trb_in_td_math()
1984 { xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT - 1)*16, in xhci_check_trb_in_td_math()
1985 xhci->event_ring->first_seg }, in xhci_check_trb_in_td_math()
1987 { xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT - 1)*16 + 1, NULL }, in xhci_check_trb_in_td_math()
1989 { xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT)*16, NULL }, in xhci_check_trb_in_td_math()
2001 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2002 .start_trb = xhci->event_ring->first_seg->trbs, in xhci_check_trb_in_td_math()
2003 .end_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], in xhci_check_trb_in_td_math()
2008 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2009 .start_trb = xhci->event_ring->first_seg->trbs, in xhci_check_trb_in_td_math()
2015 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2022 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2023 .start_trb = &xhci->event_ring->first_seg->trbs[0], in xhci_check_trb_in_td_math()
2024 .end_trb = &xhci->event_ring->first_seg->trbs[3], in xhci_check_trb_in_td_math()
2025 .input_dma = xhci->event_ring->first_seg->dma + 4*16, in xhci_check_trb_in_td_math()
2029 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2030 .start_trb = &xhci->event_ring->first_seg->trbs[3], in xhci_check_trb_in_td_math()
2031 .end_trb = &xhci->event_ring->first_seg->trbs[6], in xhci_check_trb_in_td_math()
2032 .input_dma = xhci->event_ring->first_seg->dma + 2*16, in xhci_check_trb_in_td_math()
2036 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2037 .start_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 3], in xhci_check_trb_in_td_math()
2038 .end_trb = &xhci->event_ring->first_seg->trbs[1], in xhci_check_trb_in_td_math()
2039 .input_dma = xhci->event_ring->first_seg->dma + 2*16, in xhci_check_trb_in_td_math()
2043 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2044 .start_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 3], in xhci_check_trb_in_td_math()
2045 .end_trb = &xhci->event_ring->first_seg->trbs[1], in xhci_check_trb_in_td_math()
2046 .input_dma = xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT - 4)*16, in xhci_check_trb_in_td_math()
2050 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2051 .start_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 3], in xhci_check_trb_in_td_math()
2052 .end_trb = &xhci->event_ring->first_seg->trbs[1], in xhci_check_trb_in_td_math()
2064 xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2065 xhci->event_ring->first_seg->trbs, in xhci_check_trb_in_td_math()
2066 &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], in xhci_check_trb_in_td_math()
2095 deq = xhci_trb_virt_to_dma(xhci->event_ring->deq_seg, in xhci_set_hc_event_deq()
2096 xhci->event_ring->dequeue); in xhci_set_hc_event_deq()
2505 xhci->event_ring = xhci_ring_alloc(xhci, ERST_NUM_SEGS, 1, TYPE_EVENT, in xhci_mem_init()
2507 if (!xhci->event_ring) in xhci_mem_init()
2512 ret = xhci_alloc_erst(xhci, xhci->event_ring, &xhci->erst, flags); in xhci_mem_init()