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()
1936 { xhci->event_ring->first_seg->dma - 16, NULL }, in xhci_check_trb_in_td_math()
1938 { xhci->event_ring->first_seg->dma - 1, NULL }, in xhci_check_trb_in_td_math()
1940 { xhci->event_ring->first_seg->dma, xhci->event_ring->first_seg }, in xhci_check_trb_in_td_math()
1942 { xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT - 1)*16, in xhci_check_trb_in_td_math()
1943 xhci->event_ring->first_seg }, in xhci_check_trb_in_td_math()
1945 { xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT - 1)*16 + 1, NULL }, in xhci_check_trb_in_td_math()
1947 { xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT)*16, NULL }, in xhci_check_trb_in_td_math()
1959 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
1960 .start_trb = xhci->event_ring->first_seg->trbs, in xhci_check_trb_in_td_math()
1961 .end_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], in xhci_check_trb_in_td_math()
1966 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
1967 .start_trb = xhci->event_ring->first_seg->trbs, in xhci_check_trb_in_td_math()
1973 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
1980 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
1981 .start_trb = &xhci->event_ring->first_seg->trbs[0], in xhci_check_trb_in_td_math()
1982 .end_trb = &xhci->event_ring->first_seg->trbs[3], in xhci_check_trb_in_td_math()
1983 .input_dma = xhci->event_ring->first_seg->dma + 4*16, in xhci_check_trb_in_td_math()
1987 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
1988 .start_trb = &xhci->event_ring->first_seg->trbs[3], in xhci_check_trb_in_td_math()
1989 .end_trb = &xhci->event_ring->first_seg->trbs[6], in xhci_check_trb_in_td_math()
1990 .input_dma = xhci->event_ring->first_seg->dma + 2*16, in xhci_check_trb_in_td_math()
1994 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
1995 .start_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 3], in xhci_check_trb_in_td_math()
1996 .end_trb = &xhci->event_ring->first_seg->trbs[1], in xhci_check_trb_in_td_math()
1997 .input_dma = xhci->event_ring->first_seg->dma + 2*16, 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[TRBS_PER_SEGMENT - 3], in xhci_check_trb_in_td_math()
2003 .end_trb = &xhci->event_ring->first_seg->trbs[1], in xhci_check_trb_in_td_math()
2004 .input_dma = xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT - 4)*16, 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[TRBS_PER_SEGMENT - 3], in xhci_check_trb_in_td_math()
2010 .end_trb = &xhci->event_ring->first_seg->trbs[1], in xhci_check_trb_in_td_math()
2022 xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2023 xhci->event_ring->first_seg->trbs, in xhci_check_trb_in_td_math()
2024 &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], in xhci_check_trb_in_td_math()
2053 deq = xhci_trb_virt_to_dma(xhci->event_ring->deq_seg, in xhci_set_hc_event_deq()
2054 xhci->event_ring->dequeue); in xhci_set_hc_event_deq()
2489 xhci->event_ring = xhci_ring_alloc(xhci, ERST_NUM_SEGS, 1, TYPE_EVENT, in xhci_mem_init()
2491 if (!xhci->event_ring) in xhci_mem_init()
2515 for (val = 0, seg = xhci->event_ring->first_seg; val < ERST_NUM_SEGS; val++) { in xhci_mem_init()