Home
last modified time | relevance | path

Searched refs:erst (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/usb/host/
Dxhci-dbgcap.c398 struct xhci_erst *erst, gfp_t flags) in dbc_erst_alloc() argument
400 erst->entries = dma_alloc_coherent(dev, sizeof(*erst->entries), in dbc_erst_alloc()
401 &erst->erst_dma_addr, flags); in dbc_erst_alloc()
402 if (!erst->entries) in dbc_erst_alloc()
405 erst->num_entries = 1; in dbc_erst_alloc()
406 erst->entries[0].seg_addr = cpu_to_le64(evt_ring->first_seg->dma); in dbc_erst_alloc()
407 erst->entries[0].seg_size = cpu_to_le32(TRBS_PER_SEGMENT); in dbc_erst_alloc()
408 erst->entries[0].rsvd = 0; in dbc_erst_alloc()
412 static void dbc_erst_free(struct device *dev, struct xhci_erst *erst) in dbc_erst_free() argument
414 dma_free_coherent(dev, sizeof(*erst->entries), erst->entries, in dbc_erst_free()
[all …]
Dxhci-mem.c1768 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()
[all …]
Dxhci-dbgcap.h131 struct xhci_erst erst; member
Dxhci.h1429 struct xhci_erst erst; member
/linux-6.12.1/drivers/acpi/apei/
DMakefile7 obj-$(CONFIG_ACPI_APEI_ERST_DEBUG) += erst-dbg.o
9 apei-y := apei-base.o hest.o erst.o bert.o
/linux-6.12.1/drivers/usb/cdns3/
Dcdnsp-mem.c1027 struct cdnsp_erst *erst) in cdnsp_alloc_erst() argument
1035 erst->entries = dma_alloc_coherent(pdev->dev, size, in cdnsp_alloc_erst()
1036 &erst->erst_dma_addr, GFP_KERNEL); in cdnsp_alloc_erst()
1037 if (!erst->entries) in cdnsp_alloc_erst()
1040 erst->num_entries = evt_ring->num_segs; in cdnsp_alloc_erst()
1044 entry = &erst->entries[val]; in cdnsp_alloc_erst()
1054 static void cdnsp_free_erst(struct cdnsp_device *pdev, struct cdnsp_erst *erst) in cdnsp_free_erst() argument
1056 size_t size = sizeof(struct cdnsp_erst_entry) * (erst->num_entries); in cdnsp_free_erst()
1059 if (erst->entries) in cdnsp_free_erst()
1060 dma_free_coherent(dev, size, erst->entries, in cdnsp_free_erst()
[all …]
Dcdnsp-gadget.h1433 struct cdnsp_erst erst; member
/linux-6.12.1/Documentation/ABI/testing/
Dpstore19 -r--r--r-- 1 root root 7896 Nov 30 15:38 dmesg-erst-1
31 $ rm /sys/fs/pstore/dmesg-erst-1
/linux-6.12.1/
DMAINTAINERS18594 F: drivers/acpi/apei/erst.c