函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\dma\mapping.c Create Date:2022-07-27 11:32:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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().

函数原型:void dmam_free_coherent(struct device *dev, size_t size, void *vaddr, dma_addr_t dma_handle)

返回类型:void

参数:

类型参数名称
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))