TT Zephyr Platforms 19.5.0-rc1
Tenstorrent Firmware
Loading...
Searching...
No Matches
dma_arc_hs.h File Reference

Go to the source code of this file.

Functions

int dma_arc_hs_transfer (const struct device *dev, uint32_t channel, const void *src, void *dst, size_t len, k_timeout_t timeout)
 Blocking memory-to-memory transfer using ARC HS DMA.

Function Documentation

◆ dma_arc_hs_transfer()

int dma_arc_hs_transfer ( const struct device * dev,
uint32_t channel,
const void * src,
void * dst,
size_t len,
k_timeout_t timeout )

Blocking memory-to-memory transfer using ARC HS DMA.

Parameters
devDMA device (from DEVICE_DT_GET)
channelDMA channel (0 to N-1)
srcSource address (4-byte aligned)
dstDestination address (4-byte aligned)
lenTransfer length in bytes
timeoutTimeout for the transfer
Returns
0 on success, negative errno on error