Lines Matching refs:event_ring

1804 	if (xhci->event_ring)  in xhci_mem_cleanup()
1805 xhci_ring_free(xhci, xhci->event_ring); in xhci_mem_cleanup()
1806 xhci->event_ring = NULL; in xhci_mem_cleanup()
1940 { xhci->event_ring->first_seg->dma - 16, NULL }, in xhci_check_trb_in_td_math()
1942 { xhci->event_ring->first_seg->dma - 1, NULL }, in xhci_check_trb_in_td_math()
1944 { xhci->event_ring->first_seg->dma, xhci->event_ring->first_seg }, in xhci_check_trb_in_td_math()
1946 { xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT - 1)*16, in xhci_check_trb_in_td_math()
1947 xhci->event_ring->first_seg }, in xhci_check_trb_in_td_math()
1949 { xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT - 1)*16 + 1, NULL }, in xhci_check_trb_in_td_math()
1951 { xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT)*16, NULL }, in xhci_check_trb_in_td_math()
1963 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
1964 .start_trb = xhci->event_ring->first_seg->trbs, in xhci_check_trb_in_td_math()
1965 .end_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], in xhci_check_trb_in_td_math()
1970 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
1971 .start_trb = xhci->event_ring->first_seg->trbs, in xhci_check_trb_in_td_math()
1977 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
1984 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
1985 .start_trb = &xhci->event_ring->first_seg->trbs[0], in xhci_check_trb_in_td_math()
1986 .end_trb = &xhci->event_ring->first_seg->trbs[3], in xhci_check_trb_in_td_math()
1987 .input_dma = xhci->event_ring->first_seg->dma + 4*16, in xhci_check_trb_in_td_math()
1991 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
1992 .start_trb = &xhci->event_ring->first_seg->trbs[3], in xhci_check_trb_in_td_math()
1993 .end_trb = &xhci->event_ring->first_seg->trbs[6], in xhci_check_trb_in_td_math()
1994 .input_dma = xhci->event_ring->first_seg->dma + 2*16, 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[TRBS_PER_SEGMENT - 3], in xhci_check_trb_in_td_math()
2000 .end_trb = &xhci->event_ring->first_seg->trbs[1], in xhci_check_trb_in_td_math()
2001 .input_dma = xhci->event_ring->first_seg->dma + 2*16, 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[TRBS_PER_SEGMENT - 3], in xhci_check_trb_in_td_math()
2007 .end_trb = &xhci->event_ring->first_seg->trbs[1], in xhci_check_trb_in_td_math()
2008 .input_dma = xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT - 4)*16, in xhci_check_trb_in_td_math()
2012 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2013 .start_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 3], in xhci_check_trb_in_td_math()
2014 .end_trb = &xhci->event_ring->first_seg->trbs[1], in xhci_check_trb_in_td_math()
2026 xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2027 xhci->event_ring->first_seg->trbs, in xhci_check_trb_in_td_math()
2028 &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], in xhci_check_trb_in_td_math()
2057 deq = xhci_trb_virt_to_dma(xhci->event_ring->deq_seg, in xhci_set_hc_event_deq()
2058 xhci->event_ring->dequeue); in xhci_set_hc_event_deq()
2457 xhci->event_ring = xhci_ring_alloc(xhci, ERST_NUM_SEGS, 1, TYPE_EVENT, in xhci_mem_init()
2459 if (!xhci->event_ring) in xhci_mem_init()
2483 for (val = 0, seg = xhci->event_ring->first_seg; val < ERST_NUM_SEGS; val++) { in xhci_mem_init()