函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\dma-mapping.h Create Date:2022-07-27 06:51:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:valid_dma_direction

函数原型:static inline int valid_dma_direction(int dma_direction)

返回类型:int

参数:

类型参数名称
intdma_direction
145  返回:dma_direction恒等于DMA_BIDIRECTIONALdma_direction恒等于DMA_TO_DEVICEdma_direction恒等于DMA_FROM_DEVICE
调用者
名称描述
dma_cache_sync
dma_map_page_attrs
dma_unmap_page_attrs
dma_map_sg_attrsdma_maps_sg_attrs returns 0 on error and > 0 on success.* It should never return a value < 0.
dma_unmap_sg_attrs
dma_map_resource
dma_unmap_resource
dma_sync_single_for_cpu
dma_sync_single_for_device
dma_sync_sg_for_cpu
dma_sync_sg_for_device