Lines Matching refs:event_ring

1956 	if (xhci->event_ring)  in xhci_mem_cleanup()
1957 xhci_ring_free(xhci, xhci->event_ring); in xhci_mem_cleanup()
1958 xhci->event_ring = NULL; in xhci_mem_cleanup()
2097 { xhci->event_ring->first_seg->dma - 16, NULL }, in xhci_check_trb_in_td_math()
2099 { xhci->event_ring->first_seg->dma - 1, NULL }, in xhci_check_trb_in_td_math()
2101 { xhci->event_ring->first_seg->dma, xhci->event_ring->first_seg }, in xhci_check_trb_in_td_math()
2103 { xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT - 1)*16, in xhci_check_trb_in_td_math()
2104 xhci->event_ring->first_seg }, in xhci_check_trb_in_td_math()
2106 { xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT - 1)*16 + 1, NULL }, in xhci_check_trb_in_td_math()
2108 { xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT)*16, NULL }, in xhci_check_trb_in_td_math()
2120 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2121 .start_trb = xhci->event_ring->first_seg->trbs, in xhci_check_trb_in_td_math()
2122 .end_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], in xhci_check_trb_in_td_math()
2127 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2128 .start_trb = xhci->event_ring->first_seg->trbs, in xhci_check_trb_in_td_math()
2134 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2141 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2142 .start_trb = &xhci->event_ring->first_seg->trbs[0], in xhci_check_trb_in_td_math()
2143 .end_trb = &xhci->event_ring->first_seg->trbs[3], in xhci_check_trb_in_td_math()
2144 .input_dma = xhci->event_ring->first_seg->dma + 4*16, in xhci_check_trb_in_td_math()
2148 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2149 .start_trb = &xhci->event_ring->first_seg->trbs[3], in xhci_check_trb_in_td_math()
2150 .end_trb = &xhci->event_ring->first_seg->trbs[6], in xhci_check_trb_in_td_math()
2151 .input_dma = xhci->event_ring->first_seg->dma + 2*16, in xhci_check_trb_in_td_math()
2155 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2156 .start_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 3], in xhci_check_trb_in_td_math()
2157 .end_trb = &xhci->event_ring->first_seg->trbs[1], in xhci_check_trb_in_td_math()
2158 .input_dma = xhci->event_ring->first_seg->dma + 2*16, in xhci_check_trb_in_td_math()
2162 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2163 .start_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 3], in xhci_check_trb_in_td_math()
2164 .end_trb = &xhci->event_ring->first_seg->trbs[1], in xhci_check_trb_in_td_math()
2165 .input_dma = xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT - 4)*16, in xhci_check_trb_in_td_math()
2169 { .input_seg = xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2170 .start_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 3], in xhci_check_trb_in_td_math()
2171 .end_trb = &xhci->event_ring->first_seg->trbs[1], in xhci_check_trb_in_td_math()
2183 xhci->event_ring->first_seg, in xhci_check_trb_in_td_math()
2184 xhci->event_ring->first_seg->trbs, in xhci_check_trb_in_td_math()
2185 &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], in xhci_check_trb_in_td_math()
2215 deq = xhci_trb_virt_to_dma(xhci->event_ring->deq_seg, in xhci_set_hc_event_deq()
2216 xhci->event_ring->dequeue); in xhci_set_hc_event_deq()
2638 xhci->event_ring = xhci_ring_alloc(xhci, ERST_NUM_SEGS, 1, TYPE_EVENT, in xhci_mem_init()
2640 if (!xhci->event_ring) in xhci_mem_init()
2645 ret = xhci_alloc_erst(xhci, xhci->event_ring, &xhci->erst, flags); in xhci_mem_init()