Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__dma_to_phys

Proto:static inline phys_addr_t __dma_to_phys(struct device *dev, dma_addr_t dev_addr)

Type:phys_addr_t

Parameter:

TypeParameterName
struct device *dev
dma_addr_tdev_addr
23  paddr = dev_addr
25  Return paddr + (dma_pfn_offset << PAGE_SHIFT determines the page size )
Caller
NameDescribe
__dma_direct_optimal_gfp_mask