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

Function ofw_addr_cpu2dma

components/drivers/dma/dma_pool.c:92–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90
91#ifdef RT_USING_OFW
92rt_inline rt_ubase_t ofw_addr_cpu2dma(struct rt_device *dev, rt_ubase_t addr)
93{
94 return (rt_ubase_t)rt_ofw_translate_cpu2dma(dev->ofw_node, addr);
95}
96
97rt_inline rt_ubase_t ofw_addr_dma2cpu(struct rt_device *dev, rt_ubase_t addr)
98{

Callers 2

ofw_dma_map_allocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected