Function report | 
Source Code:include\linux\dma-direct.h | 
Create Date:2022-07-28 07:43:41 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:If memory encryption is supported, phys_to_dma will set the memory encryption* bit in the DMA address, and dma_to_phys will clear it. The raw __phys_to_dma* and __dma_to_phys versions should only be used on non-encrypted memory for
Proto:static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr)
Type:dma_addr_t
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct device * | dev | |
| phys_addr_t | paddr | 
| 46 | Return __sme_set(__phys_to_dma(dev, paddr)) | 
| Name | Describe | 
|---|---|
| phys_to_dma_direct | |
| dma_direct_alloc_pages | |
| dma_direct_map_page | 
| 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  |