Function report |
Source Code:kernel\dma\direct.c |
Create Date:2022-07-28 10:33:14 |
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_page
Proto:dma_addr_t dma_direct_map_page(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction dir, unsigned long attrs)
Type:dma_addr_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct device * | dev | |
struct page * | page | |
unsigned long | offset | |
size_t | size | |
enum dma_data_direction | dir | |
unsigned long | attrs |
374 | If Value for the false possibility is greater at compile time(!dma_direct_possible(dev, dma_addr, size)) && Not swiotlb_map(dev, & phys, & dma_addr, size, dir, attrs) Then |
376 | report_addr(dev, dma_addr, size) |
377 | Return DMA_MAPPING_ERROR |
382 | Return dma_addr |
Name | Describe |
---|---|
dma_direct_map_sg | |
dma_map_page_attrs |
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 |