Function report |
Source Code:kernel\dma\coherent.c |
Create Date:2022-07-28 10:33:49 |
Last Modify:2020-03-17 14:54:14 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:dma_declare_coherent_memory
Proto:int dma_declare_coherent_memory(struct device *dev, phys_addr_t phys_addr, dma_addr_t device_addr, size_t size)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct device * | dev | |
phys_addr_t | phys_addr | |
dma_addr_t | device_addr | |
size_t | size |
116 | ret = dma_init_coherent_memory(phys_addr, device_addr, size, & mem) |
120 | ret = dma_assign_coherent_memory(dev, mem) |
121 | If ret Then dma_release_coherent_memory(mem) |
123 | Return ret |
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 |