Function report |
Source Code:kernel\dma\mapping.c |
Create Date:2022-07-28 10:32: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_free_attrs
Proto:void dma_free_attrs(struct device *dev, size_t size, void *cpu_addr, dma_addr_t dma_handle, unsigned long attrs)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct device * | dev | |
size_t | size | |
void * | cpu_addr | |
dma_addr_t | dma_handle | |
unsigned long | attrs |
293 | ops = get_dma_ops(dev) |
304 | WARN_ON(Some architectures don't define arch_irqs_disabled(), so even if either* definition would be fine we need to use different ones for the time being* to avoid build issues.()) |
306 | If Not cpu_addr Then Return |
309 | debug_dma_free_coherent(dev, size, cpu_addr, dma_handle) |
310 | If dma_is_direct(ops) Then dma_direct_free(dev, size, cpu_addr, dma_handle, attrs) |
Name | Describe |
---|---|
dmam_release | |
dma_free_coherent | |
dma_free_wc |
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 |