Home
last modified time | relevance | path

Searched refs:erst (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/acpi/apei/
H A DMakefile5 obj-$(CONFIG_ACPI_APEI_ERST_DEBUG) += erst-dbg.o
7 apei-y := apei-base.o hest.o erst.o bert.o
/kernel/linux/linux-6.6/drivers/acpi/apei/
H A DMakefile5 obj-$(CONFIG_ACPI_APEI_ERST_DEBUG) += erst-dbg.o
7 apei-y := apei-base.o hest.o erst.o bert.o
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dxhci-dbgcap.c381 struct xhci_erst *erst, gfp_t flags) in dbc_erst_alloc()
383 erst->entries = dma_alloc_coherent(dev, sizeof(struct xhci_erst_entry), in dbc_erst_alloc()
384 &erst->erst_dma_addr, flags); in dbc_erst_alloc()
385 if (!erst->entries) in dbc_erst_alloc()
388 erst->num_entries = 1; in dbc_erst_alloc()
389 erst->entries[0].seg_addr = cpu_to_le64(evt_ring->first_seg->dma); in dbc_erst_alloc()
390 erst->entries[0].seg_size = cpu_to_le32(TRBS_PER_SEGMENT); in dbc_erst_alloc()
391 erst->entries[0].rsvd = 0; in dbc_erst_alloc()
395 static void dbc_erst_free(struct device *dev, struct xhci_erst *erst) in dbc_erst_free() argument
397 if (erst in dbc_erst_free()
380 dbc_erst_alloc(struct device *dev, struct xhci_ring *evt_ring, struct xhci_erst *erst, gfp_t flags) dbc_erst_alloc() argument
[all...]
H A Dxhci-mem.c1821 struct xhci_erst *erst, in xhci_alloc_erst()
1830 erst->entries = dma_alloc_coherent(xhci_to_hcd(xhci)->self.sysdev, in xhci_alloc_erst()
1831 size, &erst->erst_dma_addr, flags); in xhci_alloc_erst()
1832 if (!erst->entries) in xhci_alloc_erst()
1835 erst->num_entries = evt_ring->num_segs; in xhci_alloc_erst()
1839 entry = &erst->entries[val]; in xhci_alloc_erst()
1849 void xhci_free_erst(struct xhci_hcd *xhci, struct xhci_erst *erst) in xhci_free_erst() argument
1854 size = sizeof(struct xhci_erst_entry) * (erst->num_entries); in xhci_free_erst()
1855 if (erst->entries) in xhci_free_erst()
1857 erst in xhci_free_erst()
1819 xhci_alloc_erst(struct xhci_hcd *xhci, struct xhci_ring *evt_ring, struct xhci_erst *erst, gfp_t flags) xhci_alloc_erst() argument
[all...]
H A Dxhci-dbgcap.h128 struct xhci_erst erst; member
H A Dxhci.h1802 struct xhci_erst erst; member
2046 struct xhci_erst *erst,
2050 void xhci_free_erst(struct xhci_hcd *xhci, struct xhci_erst *erst);
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dxhci-dbgcap.c381 struct xhci_erst *erst, gfp_t flags) in dbc_erst_alloc()
383 erst->entries = dma_alloc_coherent(dev, sizeof(struct xhci_erst_entry), in dbc_erst_alloc()
384 &erst->erst_dma_addr, flags); in dbc_erst_alloc()
385 if (!erst->entries) in dbc_erst_alloc()
388 erst->num_entries = 1; in dbc_erst_alloc()
389 erst->entries[0].seg_addr = cpu_to_le64(evt_ring->first_seg->dma); in dbc_erst_alloc()
390 erst->entries[0].seg_size = cpu_to_le32(TRBS_PER_SEGMENT); in dbc_erst_alloc()
391 erst->entries[0].rsvd = 0; in dbc_erst_alloc()
395 static void dbc_erst_free(struct device *dev, struct xhci_erst *erst) in dbc_erst_free() argument
397 if (erst in dbc_erst_free()
380 dbc_erst_alloc(struct device *dev, struct xhci_ring *evt_ring, struct xhci_erst *erst, gfp_t flags) dbc_erst_alloc() argument
[all...]
H A Dxhci-mem.c1771 struct xhci_erst *erst, in xhci_alloc_erst()
1780 erst->entries = dma_alloc_coherent(xhci_to_hcd(xhci)->self.sysdev, in xhci_alloc_erst()
1781 size, &erst->erst_dma_addr, flags); in xhci_alloc_erst()
1782 if (!erst->entries) in xhci_alloc_erst()
1785 erst->num_entries = evt_ring->num_segs; in xhci_alloc_erst()
1789 entry = &erst->entries[val]; in xhci_alloc_erst()
1810 erst_size = sizeof(struct xhci_erst_entry) * ir->erst.num_entries; in xhci_free_interrupter()
1811 if (ir->erst.entries) in xhci_free_interrupter()
1813 ir->erst.entries, in xhci_free_interrupter()
1814 ir->erst in xhci_free_interrupter()
1769 xhci_alloc_erst(struct xhci_hcd *xhci, struct xhci_ring *evt_ring, struct xhci_erst *erst, gfp_t flags) xhci_alloc_erst() argument
[all...]
H A Dxhci-dbgcap.h129 struct xhci_erst erst; member
H A Dxhci.h1713 struct xhci_erst erst; member
2084 struct xhci_erst *erst,
2088 void xhci_free_erst(struct xhci_hcd *xhci, struct xhci_erst *erst);
/kernel/linux/linux-6.6/drivers/usb/cdns3/
H A Dcdnsp-mem.c1027 struct cdnsp_erst *erst) in cdnsp_alloc_erst()
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 in cdnsp_free_erst()
1025 cdnsp_alloc_erst(struct cdnsp_device *pdev, struct cdnsp_ring *evt_ring, struct cdnsp_erst *erst) cdnsp_alloc_erst() argument
[all...]
H A Dcdnsp-gadget.h1375 * @erst: Event Ring Segment table
1432 struct cdnsp_erst erst; member

Completed in 24 milliseconds