函数逻辑报告 |
Source Code:include\linux\dma-mapping.h |
Create Date:2022-07-27 06:51:44 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Set both the DMA mask and the coherent DMA mask to the same thing.* Note that we don't check the return value from dma_set_coherent_mask()* as the DMA API guarantees that the coherent DMA mask can be set to* the same or smaller than the streaming DMA mask.
函数原型:static inline int dma_set_mask_and_coherent(struct device *dev, u64 mask)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct device * | dev | |
u64 | mask |
671 | rc等于dma_set_mask(dev, mask) |
672 | 如果rc恒等于0则dma_set_coherent_mask(dev, mask) |
674 | 返回:rc |
名称 | 描述 |
---|---|
dma_coerce_mask_and_coherent | Similar to the above, except it deals with the case where the device* does not have dev->dma_mask appropriately setup. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |