Function report |
Source Code:kernel\dma\direct.c |
Create Date:2022-07-28 10:33:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:dma_direct_map_resource
Proto:dma_addr_t dma_direct_map_resource(struct device *dev, phys_addr_t paddr, size_t size, enum dma_data_direction dir, unsigned long attrs)
Type:dma_addr_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct device * | dev | |
phys_addr_t | paddr | |
size_t | size | |
enum dma_data_direction | dir | |
unsigned long | attrs |
413 | If Value for the false possibility is greater at compile time(!dma_capable(dev, dma_addr, size, false)) Then |
414 | report_addr(dev, dma_addr, size) |
415 | Return DMA_MAPPING_ERROR |
418 | Return dma_addr |
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 |