MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / ofw_dma_map_free

Function ofw_dma_map_free

components/drivers/dma/dma_pool.c:115–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115static void ofw_dma_map_free(struct rt_device *dev, rt_size_t size,
116 void *cpu_addr, rt_ubase_t dma_handle, rt_ubase_t flags)
117{
118 dma_handle = ofw_addr_dma2cpu(dev, dma_handle);
119
120 dma_free(dev, size, cpu_addr, dma_handle, flags);
121}
122
123static rt_err_t ofw_dma_map_sync_out_data(struct rt_device *dev,
124 void *data, rt_size_t size,

Callers

nothing calls this directly

Calls 2

ofw_addr_dma2cpuFunction · 0.85
dma_freeFunction · 0.70

Tested by

no test coverage detected