Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:phys_to_dma_direct

Proto:static inline dma_addr_t phys_to_dma_direct(struct device *dev, phys_addr_t phys)

Type:dma_addr_t

Parameter:

TypeParameterName
struct device *dev
phys_addr_tphys
41  If force_dma_unencrypted(dev) Then Return __phys_to_dma(dev, phys)
43  Return If memory encryption is supported, phys_to_dma will set the memory encryption* bit in the DMA address, and dma_to_phys will clear it. The raw __phys_to_dma* and __dma_to_phys versions should only be used on non-encrypted memory for
Caller
NameDescribe
dma_direct_get_required_mask
dma_coherent_ok