Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:dma_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.

Proto:bool dma_can_mmap(struct device *dev)

Type:bool

Parameter:

TypeParameterName
struct device *dev
207  ops = get_dma_ops(dev)
209  If dma_is_direct(ops) Then Return dma_direct_can_mmap(dev)
211  Return mmap != NULL