Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:dma_coherent_ok

Proto:static bool dma_coherent_ok(struct device *dev, phys_addr_t phys, size_t size)

Type:bool

Parameter:

TypeParameterName
struct device *dev
phys_addr_tphys
size_tsize
86  Return phys_to_dma_direct(dev, phys) + size - 1 <= min_not_zero - return the minimum that is _not_ zero, unless both are zero*@x: value1*@y: value2( Like dma_mask, but for alloc_coherent mappings as not all hardware supports 64 bit addresses for consistent allocations such descriptors. , upstream dma constraint )
Caller
NameDescribe
__dma_direct_alloc_pages