Lines Matching refs:erst
1487 size = sizeof(struct xhci_erst_entry)*(xhci->erst.num_entries); in xhci_mem_cleanup()
1488 if (xhci->erst.entries) in xhci_mem_cleanup()
1490 xhci->erst.entries, xhci->erst.erst_dma_addr); in xhci_mem_cleanup()
1491 xhci->erst.entries = NULL; in xhci_mem_cleanup()
2027 xhci->erst.entries = pci_alloc_consistent(to_pci_dev(dev), in xhci_mem_init()
2029 if (!xhci->erst.entries) in xhci_mem_init()
2034 memset(xhci->erst.entries, 0, sizeof(struct xhci_erst_entry)*ERST_NUM_SEGS); in xhci_mem_init()
2035 xhci->erst.num_entries = ERST_NUM_SEGS; in xhci_mem_init()
2036 xhci->erst.erst_dma_addr = dma; in xhci_mem_init()
2038 xhci->erst.num_entries, in xhci_mem_init()
2039 xhci->erst.entries, in xhci_mem_init()
2040 (unsigned long long)xhci->erst.erst_dma_addr); in xhci_mem_init()
2044 struct xhci_erst_entry *entry = &xhci->erst.entries[val]; in xhci_mem_init()
2062 (unsigned long long)xhci->erst.erst_dma_addr); in xhci_mem_init()
2065 val_64 |= (xhci->erst.erst_dma_addr & (u64) ~ERST_PTR_MASK); in xhci_mem_init()