Function report |
Source Code:include\linux\dma-mapping.h |
Create Date:2022-07-28 05:51:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:dma_unmap_page_attrs
Proto:static inline void dma_unmap_page_attrs(struct device *dev, dma_addr_t addr, size_t size, enum dma_data_direction dir, unsigned long attrs)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct device * | dev | |
dma_addr_t | addr | |
size_t | size | |
enum dma_data_direction | dir | |
unsigned long | attrs |
294 | ops = get_dma_ops(dev) |
296 | BUG_ON(!valid_dma_direction(dir)) |
297 | If dma_is_direct(ops) Then dma_direct_unmap_page(dev, addr, size, dir, attrs) |
299 | Else if unmap_page Then unmap_page(dev, addr, size, dir, attrs) |
301 | debug_dma_unmap_page(dev, addr, size, dir) |
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 |