Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:dma_direct_can_mmap

Proto:bool dma_direct_can_mmap(struct device *dev)

Type:bool

Parameter:

TypeParameterName
struct device *dev
438  Return dev_is_dma_coherent(dev) || IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_DMA_NONCOHERENT_MMAP)
Caller
NameDescribe
dma_can_mmapdma_can_mmap - check if a given device supports dma_mmap_**@dev: device to check* Returns %true if @dev supports dma_mmap_coherent() and dma_mmap_attrs() to* map DMA allocations to userspace.