Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:report_addr

Proto:static void report_addr(struct device *dev, dma_addr_t dma_addr, size_t size)

Type:void

Parameter:

TypeParameterName
struct device *dev
dma_addr_tdma_addr
size_tsize
28  If Not dma mask (if dma'able device) Then
29  dev_err_once(dev, "DMA map on device without dma_mask\n")
30  Else if dma mask (if dma'able device) >= DMA_BIT_MASK(32) || upstream dma constraint Then
31  dev_err_once(dev, "overflow %pad+%zu of DMA mask %llx bus limit %llx\n", & dma_addr, size, * dma mask (if dma'able device) , upstream dma constraint )
35  WARN_ON_ONCE(1)
Caller
NameDescribe
dma_direct_map_page
dma_direct_map_resource