|
rt_inline void | rt_dma_controller_add_direction (struct rt_dma_controller *ctrl, enum rt_dma_transfer_direction dir) |
|
rt_err_t | rt_dma_controller_register (struct rt_dma_controller *ctrl) |
|
rt_err_t | rt_dma_controller_unregister (struct rt_dma_controller *ctrl) |
|
rt_err_t | rt_dma_chan_start (struct rt_dma_chan *chan) |
|
rt_err_t | rt_dma_chan_stop (struct rt_dma_chan *chan) |
|
rt_err_t | rt_dma_chan_config (struct rt_dma_chan *chan, struct rt_dma_slave_config *conf) |
|
rt_err_t | rt_dma_chan_done (struct rt_dma_chan *chan, rt_size_t size) |
|
rt_err_t | rt_dma_prep_memcpy (struct rt_dma_chan *chan, struct rt_dma_slave_transfer *transfer) |
|
rt_err_t | rt_dma_prep_cyclic (struct rt_dma_chan *chan, struct rt_dma_slave_transfer *transfer) |
|
rt_err_t | rt_dma_prep_single (struct rt_dma_chan *chan, struct rt_dma_slave_transfer *transfer) |
|
struct rt_dma_chan * | rt_dma_chan_request (struct rt_device *dev, const char *name) |
|
rt_err_t | rt_dma_chan_release (struct rt_dma_chan *chan) |
|
void * | rt_dma_alloc (struct rt_device *dev, rt_size_t size, rt_ubase_t *dma_handle, rt_ubase_t flags) |
|
void | rt_dma_free (struct rt_device *dev, rt_size_t size, void *cpu_addr, rt_ubase_t dma_handle, rt_ubase_t flags) |
|
rt_inline void * | rt_dma_alloc_coherent (struct rt_device *dev, rt_size_t size, rt_ubase_t *dma_handle) |
|
rt_inline void | rt_dma_free_coherent (struct rt_device *dev, rt_size_t size, void *cpu_addr, rt_ubase_t dma_handle) |
|
rt_err_t | rt_dma_sync_out_data (struct rt_device *dev, void *data, rt_size_t size, rt_ubase_t *dma_handle, rt_ubase_t flags) |
|
rt_err_t | rt_dma_sync_in_data (struct rt_device *dev, void *out_data, rt_size_t size, rt_ubase_t dma_handle, rt_ubase_t flags) |
|
rt_inline rt_bool_t | rt_dma_device_is_coherent (struct rt_device *dev) |
|
rt_inline void | rt_dma_device_set_ops (struct rt_device *dev, const struct rt_dma_map_ops *ops) |
|
struct rt_dma_pool * | rt_dma_pool_install (rt_region_t *region) |
|
rt_err_t | rt_dma_pool_extract (rt_region_t *region_list, rt_size_t list_len, rt_size_t cma_size, rt_size_t coherent_pool_size) |
|