Searched refs:event_ring (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/drivers/usb/host/
H A Dxhci-mem.c1804 if (xhci->event_ring) xhci_mem_cleanup()
1805 xhci_ring_free(xhci, xhci->event_ring); xhci_mem_cleanup()
1806 xhci->event_ring = NULL; xhci_mem_cleanup()
1940 { xhci->event_ring->first_seg->dma - 16, NULL }, xhci_check_trb_in_td_math()
1942 { xhci->event_ring->first_seg->dma - 1, NULL }, xhci_check_trb_in_td_math()
1944 { xhci->event_ring->first_seg->dma, xhci->event_ring->first_seg }, xhci_check_trb_in_td_math()
1946 { xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT - 1)*16, xhci_check_trb_in_td_math()
1947 xhci->event_ring->first_seg }, xhci_check_trb_in_td_math()
1949 { xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT - 1)*16 + 1, NULL }, xhci_check_trb_in_td_math()
1951 { xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT)*16, NULL }, xhci_check_trb_in_td_math()
1963 { .input_seg = xhci->event_ring->first_seg, xhci_check_trb_in_td_math()
1964 .start_trb = xhci->event_ring->first_seg->trbs, xhci_check_trb_in_td_math()
1965 .end_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], xhci_check_trb_in_td_math()
1970 { .input_seg = xhci->event_ring->first_seg, xhci_check_trb_in_td_math()
1971 .start_trb = xhci->event_ring->first_seg->trbs, xhci_check_trb_in_td_math()
1977 { .input_seg = xhci->event_ring->first_seg, xhci_check_trb_in_td_math()
1984 { .input_seg = xhci->event_ring->first_seg, xhci_check_trb_in_td_math()
1985 .start_trb = &xhci->event_ring->first_seg->trbs[0], xhci_check_trb_in_td_math()
1986 .end_trb = &xhci->event_ring->first_seg->trbs[3], xhci_check_trb_in_td_math()
1987 .input_dma = xhci->event_ring->first_seg->dma + 4*16, xhci_check_trb_in_td_math()
1991 { .input_seg = xhci->event_ring->first_seg, xhci_check_trb_in_td_math()
1992 .start_trb = &xhci->event_ring->first_seg->trbs[3], xhci_check_trb_in_td_math()
1993 .end_trb = &xhci->event_ring->first_seg->trbs[6], xhci_check_trb_in_td_math()
1994 .input_dma = xhci->event_ring->first_seg->dma + 2*16, xhci_check_trb_in_td_math()
1998 { .input_seg = xhci->event_ring->first_seg, xhci_check_trb_in_td_math()
1999 .start_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 3], xhci_check_trb_in_td_math()
2000 .end_trb = &xhci->event_ring->first_seg->trbs[1], xhci_check_trb_in_td_math()
2001 .input_dma = xhci->event_ring->first_seg->dma + 2*16, xhci_check_trb_in_td_math()
2005 { .input_seg = xhci->event_ring->first_seg, xhci_check_trb_in_td_math()
2006 .start_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 3], xhci_check_trb_in_td_math()
2007 .end_trb = &xhci->event_ring->first_seg->trbs[1], xhci_check_trb_in_td_math()
2008 .input_dma = xhci->event_ring->first_seg->dma + (TRBS_PER_SEGMENT - 4)*16, xhci_check_trb_in_td_math()
2012 { .input_seg = xhci->event_ring->first_seg, xhci_check_trb_in_td_math()
2013 .start_trb = &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 3], xhci_check_trb_in_td_math()
2014 .end_trb = &xhci->event_ring->first_seg->trbs[1], xhci_check_trb_in_td_math()
2026 xhci->event_ring->first_seg, xhci_check_trb_in_td_math()
2027 xhci->event_ring->first_seg->trbs, xhci_check_trb_in_td_math()
2028 &xhci->event_ring->first_seg->trbs[TRBS_PER_SEGMENT - 1], xhci_check_trb_in_td_math()
2057 deq = xhci_trb_virt_to_dma(xhci->event_ring->deq_seg, xhci_set_hc_event_deq()
2058 xhci->event_ring->dequeue); xhci_set_hc_event_deq()
2457 xhci->event_ring = xhci_ring_alloc(xhci, ERST_NUM_SEGS, 1, TYPE_EVENT, xhci_mem_init()
2459 if (!xhci->event_ring) xhci_mem_init()
2483 for (val = 0, seg = xhci->event_ring->first_seg; val < ERST_NUM_SEGS; val++) { xhci_mem_init()
H A Dxhci-ring.c96 if (ring == xhci->event_ring) last_trb_on_last_seg()
98 (seg->next == xhci->event_ring->first_seg); last_trb_on_last_seg()
110 if (ring == xhci->event_ring) last_trb()
1507 inc_deq(xhci, xhci->event_ring); handle_port_status()
1642 inc_deq(xhci, xhci->event_ring); handle_port_status()
2250 xhci->event_ring->deq_seg,
2251 xhci->event_ring->dequeue),
2257 xhci_debug_segment(xhci, xhci->event_ring->deq_seg);
2273 xhci->event_ring->deq_seg,
2274 xhci->event_ring->dequeue),
2280 xhci_debug_segment(xhci, xhci->event_ring->deq_seg);
2527 inc_deq(xhci, xhci->event_ring);
2579 if (!xhci->event_ring || !xhci->event_ring->dequeue) { xhci_handle_event()
2584 event = xhci->event_ring->dequeue; xhci_handle_event()
2587 xhci->event_ring->cycle_state) { xhci_handle_event()
2634 inc_deq(xhci, xhci->event_ring); xhci_handle_event()
2705 event_ring_deq = xhci->event_ring->dequeue; xhci_irq()
2713 if (event_ring_deq != xhci->event_ring->dequeue) { xhci_irq()
2714 deq = xhci_trb_virt_to_dma(xhci->event_ring->deq_seg, xhci_irq()
2715 xhci->event_ring->dequeue); xhci_irq()
H A Dxhci.h1361 /* xhci->event_ring keeps track of segment dma addresses */
1495 struct xhci_ring *event_ring; member in struct:xhci_hcd
H A Dxhci.c627 xhci_debug_ring(xhci, xhci->event_ring); xhci_run()
628 xhci_dbg_ring_ptrs(xhci, xhci->event_ring); xhci_run()
/linux-4.1.27/drivers/net/ethernet/rocker/
H A Drocker.c241 struct rocker_dma_ring_info event_ring; member in struct:rocker
1070 &rocker->event_ring); rocker_dma_rings_init()
1076 err = rocker_dma_ring_bufs_alloc(rocker, &rocker->event_ring, rocker_dma_rings_init()
1082 rocker_dma_ring_pass_to_producer(rocker, &rocker->event_ring); rocker_dma_rings_init()
1086 rocker_dma_ring_destroy(rocker, &rocker->event_ring); rocker_dma_rings_init()
1097 rocker_dma_ring_bufs_free(rocker, &rocker->event_ring, rocker_dma_rings_fini()
1099 rocker_dma_ring_destroy(rocker, &rocker->event_ring); rocker_dma_rings_fini()
1450 while ((desc_info = rocker_desc_tail_get(&rocker->event_ring))) { rocker_event_irq_handler()
1462 rocker_desc_head_set(rocker, &rocker->event_ring, desc_info); rocker_event_irq_handler()
1465 rocker_dma_ring_credits_set(rocker, &rocker->event_ring, credits); rocker_event_irq_handler()

Completed in 339 milliseconds