Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\dma-mapping.h Create Date:2022-07-28 05:51:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Set both the DMA mask and the coherent DMA mask to the same thing.* Note that we don't check the return value from dma_set_coherent_mask()* as the DMA API guarantees that the coherent DMA mask can be set to* the same or smaller than the streaming DMA mask.

Proto:static inline int dma_set_mask_and_coherent(struct device *dev, u64 mask)

Type:int

Parameter:

TypeParameterName
struct device *dev
u64mask
671  rc = dma_set_mask(dev, mask)
672  If rc == 0 Then dma_set_coherent_mask(dev, mask)
674  Return rc