Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\dma\mapping.c Create Date:2022-07-28 10:32:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dmam_free_coherent - Managed dma_free_coherent()*@dev: Device to free coherent memory for*@size: Size of allocation*@vaddr: Virtual address of the memory to free*@dma_handle: DMA handle of the memory to free* Managed dma_free_coherent().

Proto:void dmam_free_coherent(struct device *dev, size_t size, void *vaddr, dma_addr_t dma_handle)

Type:void

Parameter:

TypeParameterName
struct device *dev
size_tsize
void *vaddr
dma_addr_tdma_handle
60  struct dma_devres match_data = {size, vaddr, dma_handle}
62  dma_free_coherent(dev, size, vaddr, dma_handle)
63  WARN_ON(devres_destroy(dev, dmam_release, dmam_match, & match_data))