Home
last modified time | relevance | path

Searched refs:ERST_NUM_SEGS (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/usb/host/
Dxhci-mem.c2489 xhci->event_ring = xhci_ring_alloc(xhci, ERST_NUM_SEGS, 1, TYPE_EVENT, in xhci_mem_init()
2497 sizeof(struct xhci_erst_entry) * ERST_NUM_SEGS, &dma, in xhci_mem_init()
2505 memset(xhci->erst.entries, 0, sizeof(struct xhci_erst_entry)*ERST_NUM_SEGS); in xhci_mem_init()
2506 xhci->erst.num_entries = ERST_NUM_SEGS; in xhci_mem_init()
2515 for (val = 0, seg = xhci->event_ring->first_seg; val < ERST_NUM_SEGS; val++) { in xhci_mem_init()
2526 val |= ERST_NUM_SEGS; in xhci_mem_init()
Dxhci.h1436 #define ERST_NUM_SEGS 1 macro