Home
last modified time | relevance | path

Searched refs:device_pool (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/usb/cdns3/
H A Dcdnsp-mem.c461 pdev->out_ctx.bytes = dma_pool_zalloc(pdev->device_pool, GFP_ATOMIC, in cdnsp_init_device_ctx()
470 pdev->in_ctx.bytes = dma_pool_zalloc(pdev->device_pool, GFP_ATOMIC, in cdnsp_init_device_ctx()
474 dma_pool_free(pdev->device_pool, pdev->out_ctx.bytes, in cdnsp_init_device_ctx()
513 dma_pool_free(pdev->device_pool, pep->stream_info.stream_ctx_array, in cdnsp_free_stream_ctx()
532 return dma_pool_zalloc(pdev->device_pool, GFP_DMA32 | GFP_ATOMIC, in cdnsp_alloc_stream_ctx()
671 dma_pool_free(pdev->device_pool, pdev->in_ctx.bytes, in cdnsp_free_priv_device()
675 dma_pool_free(pdev->device_pool, pdev->out_ctx.bytes, in cdnsp_free_priv_device()
704 dma_pool_free(pdev->device_pool, pdev->out_ctx.bytes, in cdnsp_alloc_priv_device()
706 dma_pool_free(pdev->device_pool, pdev->in_ctx.bytes, in cdnsp_alloc_priv_device()
1084 dma_pool_destroy(pdev->device_pool); in cdnsp_mem_cleanup()
[all …]
H A Dcdnsp-gadget.h1466 struct dma_pool *device_pool; member
/linux/drivers/usb/host/
H A Dxhci-mem.c469 ctx->bytes = dma_pool_zalloc(xhci->device_pool, flags, &ctx->dma); in xhci_alloc_container_ctx()
482 dma_pool_free(xhci->device_pool, ctx->bytes, ctx->dma); in xhci_free_container_ctx()
1961 dma_pool_destroy(xhci->device_pool); in xhci_mem_cleanup()
1962 xhci->device_pool = NULL; in xhci_mem_cleanup()
2453 xhci->device_pool = dma_pool_create("xHCI input/output contexts", dev, 2112, 64, in xhci_mem_init()
2455 if (!xhci->device_pool) in xhci_mem_init()