Function report |
Source Code:include\linux\dma-mapping.h |
Create Date:2022-07-28 05:51:49 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:static inline int dma_set_mask_and_coherent(struct device *dev, u64 mask)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct device * | dev | |
u64 | mask |
671 | rc = dma_set_mask(dev, mask) |
672 | If rc == 0 Then dma_set_coherent_mask(dev, mask) |
674 | Return rc |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |