函数逻辑报告 |
Source Code:include\linux\dma-mapping.h |
Create Date:2022-07-27 06:51:42 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:dma_sync_single_for_device
函数原型:static inline void dma_sync_single_for_device(struct device *dev, dma_addr_t addr, size_t size, enum dma_data_direction dir)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct device * | dev | |
dma_addr_t | addr | |
size_t | size | |
enum dma_data_direction | dir |
394 | ops等于get_dma_ops(dev) |
396 | BUG_ON(!valid_dma_direction(dir)) |
397 | 如果dma_is_direct(ops)则dma_direct_sync_single_for_device(dev, addr, size, dir) |
399 | 否则如果sync_single_for_device则sync_single_for_device(dev, addr, size, dir) |
401 | debug_dma_sync_single_for_device(dev, addr, size, dir) |
名称 | 描述 |
---|---|
dma_sync_single_range_for_device | |
pci_dma_sync_single_for_device | |
ib_dma_sync_single_for_device | _dma_sync_single_for_device - Prepare DMA region to be accessed by device*@dev: The device for which the DMA address was created*@addr: The DMA address*@size: The size of the region in bytes*@dir: The direction of the DMA |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |