函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\dma-direct.h Create Date:2022-07-27 08:43:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr)

返回类型:dma_addr_t

参数:

类型参数名称
struct device *dev
phys_addr_tpaddr
46  返回:__sme_set(__phys_to_dma(dev, paddr))
调用者
名称描述
phys_to_dma_direct
dma_direct_alloc_pages
dma_direct_map_page
dma_capable