Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:dma_cache_sync

Proto:void dma_cache_sync(struct device *dev, void *vaddr, size_t size, enum dma_data_direction dir)

Type:void

Parameter:

TypeParameterName
struct device *dev
void *vaddr
size_tsize
enum dma_data_directiondir
373  ops = get_dma_ops(dev)
375  BUG_ON(!valid_dma_direction(dir))
377  If dma_is_direct(ops) Then arch_dma_cache_sync(dev, vaddr, size, dir)
379  Else if cache_sync Then cache_sync(dev, vaddr, size, dir)