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

Function rt_dma_alloc_coherent

components/drivers/include/drivers/dma.h:200–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198 void *cpu_addr, rt_ubase_t dma_handle, rt_ubase_t flags);
199
200rt_inline void *rt_dma_alloc_coherent(struct rt_device *dev, rt_size_t size,
201 rt_ubase_t *dma_handle)
202{
203 return rt_dma_alloc(dev, size, dma_handle,
204 RT_DMA_F_NOCACHE | RT_DMA_F_LINEAR);
205}
206
207rt_inline void rt_dma_free_coherent(struct rt_device *dev, rt_size_t size,
208 void *cpu_addr, rt_ubase_t dma_handle)

Callers 2

dw_pcie_host_initFunction · 0.85
rt_ahci_host_registerFunction · 0.85

Calls 1

rt_dma_allocFunction · 0.85

Tested by

no test coverage detected