函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dma_get_device_base

函数原型:static inline dma_addr_t dma_get_device_base(struct device *dev, struct dma_coherent_mem *mem)

返回类型:dma_addr_t

参数:

类型参数名称
struct device *dev
struct dma_coherent_mem *mem
34  如果use_dev_dma_pfn_offset则返回:pfn_basedma_pfn_offset左移PAGE_SHIFT determines the page size
36  否则返回:device_base
调用者
名称描述
__dma_alloc_from_coherent