Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:dma_direct_free

Proto:void dma_direct_free(struct device *dev, size_t size, void *cpu_addr, dma_addr_t dma_addr, unsigned long attrs)

Type:void

Parameter:

TypeParameterName
struct device *dev
size_tsize
void *cpu_addr
dma_addr_tdma_addr
unsigned longattrs
250  If Not IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_ARCH_HAS_UNCACHED_SEGMENT) && Not IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_DMA_DIRECT_REMAP) && Check if an allocation needs to be marked uncached to be coherent. Then arch_dma_free(dev, size, cpu_addr, dma_addr, attrs)
254  Else dma_direct_free_pages(dev, size, cpu_addr, dma_addr, attrs)
Caller
NameDescribe
dma_free_attrs