Function report |
Source Code:kernel\dma\mapping.c |
Create Date:2022-07-28 10:32:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:dma_can_mmap - check if a given device supports dma_mmap_**@dev: device to check* Returns %true if @dev supports dma_mmap_coherent() and dma_mmap_attrs() to* map DMA allocations to userspace.
Proto:bool dma_can_mmap(struct device *dev)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct device * | dev |
207 | ops = get_dma_ops(dev) |
209 | If dma_is_direct(ops) Then Return dma_direct_can_mmap(dev) |
211 | Return mmap != NULL |
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 |