Lines Matching refs:erst
1768 struct xhci_erst *erst, in xhci_alloc_erst() argument
1777 erst->entries = dma_alloc_coherent(xhci_to_hcd(xhci)->self.sysdev, in xhci_alloc_erst()
1778 size, &erst->erst_dma_addr, flags); in xhci_alloc_erst()
1779 if (!erst->entries) in xhci_alloc_erst()
1782 erst->num_entries = evt_ring->num_segs; in xhci_alloc_erst()
1786 entry = &erst->entries[val]; in xhci_alloc_erst()
1827 erst_size = array_size(sizeof(struct xhci_erst_entry), ir->erst.num_entries); in xhci_free_interrupter()
1828 if (ir->erst.entries) in xhci_free_interrupter()
1830 ir->erst.entries, in xhci_free_interrupter()
1831 ir->erst.erst_dma_addr); in xhci_free_interrupter()
1832 ir->erst.entries = NULL; in xhci_free_interrupter()
2281 ret = xhci_alloc_erst(xhci, ir->event_ring, &ir->erst, flags); in xhci_alloc_interrupter()
2322 erst_base |= ir->erst.erst_dma_addr & ~ERST_BASE_RSVDP; in xhci_add_interrupter()