Function report |
Source Code:include\linux\dma-mapping.h |
Create Date:2022-07-28 05:51:44 |
| 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_resource
Proto:static inline void dma_unmap_resource(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 |
| 368 | ops = get_dma_ops(dev) |
| 370 | BUG_ON(!valid_dma_direction(dir)) |
| 371 | If Not dma_is_direct(ops) && unmap_resource Then unmap_resource(dev, addr, size, dir, attrs) |
| 373 | debug_dma_unmap_resource(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 |