Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:dma_direct_map_resource

Proto:dma_addr_t dma_direct_map_resource(struct device *dev, phys_addr_t paddr, size_t size, enum dma_data_direction dir, unsigned long attrs)

Type:dma_addr_t

Parameter:

TypeParameterName
struct device *dev
phys_addr_tpaddr
size_tsize
enum dma_data_directiondir
unsigned longattrs
411  dma_addr = paddr
413  If Value for the false possibility is greater at compile time(!dma_capable(dev, dma_addr, size, false)) Then
414  report_addr(dev, dma_addr, size)
415  Return DMA_MAPPING_ERROR
418  Return dma_addr