函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:phys_to_dma_direct

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

返回类型:dma_addr_t

参数:

类型参数名称
struct device *dev
phys_addr_tphys
41  如果force_dma_unencrypted(dev)则返回:__phys_to_dma(dev, phys)
43  返回: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
调用者
名称描述
dma_direct_get_required_mask
dma_coherent_ok