Lines Matching refs:erst
1762 struct xhci_erst *erst, in xhci_alloc_erst() argument
1771 erst->entries = dma_alloc_coherent(xhci_to_hcd(xhci)->self.sysdev, in xhci_alloc_erst()
1772 size, &erst->erst_dma_addr, flags); in xhci_alloc_erst()
1773 if (!erst->entries) in xhci_alloc_erst()
1776 erst->num_entries = evt_ring->num_segs; in xhci_alloc_erst()
1780 entry = &erst->entries[val]; in xhci_alloc_erst()
1821 erst_size = array_size(sizeof(struct xhci_erst_entry), ir->erst.num_entries); in xhci_free_interrupter()
1822 if (ir->erst.entries) in xhci_free_interrupter()
1824 ir->erst.entries, in xhci_free_interrupter()
1825 ir->erst.erst_dma_addr); in xhci_free_interrupter()
1826 ir->erst.entries = NULL; in xhci_free_interrupter()
2275 ret = xhci_alloc_erst(xhci, ir->event_ring, &ir->erst, flags); in xhci_alloc_interrupter()
2316 erst_base |= ir->erst.erst_dma_addr & ~ERST_BASE_RSVDP; in xhci_add_interrupter()