chip/mchp/dma_chip.h: Format with clang-format
BRANCH=none
TEST=none
#include <stdint.h>
#include <stddef.h>
-
#ifdef __cplusplus
extern "C" {
#endif
/* Place any C interfaces here */
-void dma_xfr_start_rx(const struct dma_option *option,
- uint32_t dma_xfr_ulen,
+void dma_xfr_start_rx(const struct dma_option *option, uint32_t dma_xfr_ulen,
uint32_t count, void *memory);
void dma_xfr_prepare_tx(const struct dma_option *option, uint32_t count,
@@ -32,8 +30,8 @@ void dma_xfr_prepare_tx(const struct dma_option *option, uint32_t count,
void dma_clr_chan(enum dma_channel ch);
-void dma_cfg_buffers(enum dma_channel ch, const void *membuf,
- uint32_t nb, const void *pdev);
+void dma_cfg_buffers(enum dma_channel ch, const void *membuf, uint32_t nb,
+ const void *pdev);
/*
* ch = zero based DMA channel number
@@ -49,8 +47,8 @@ void dma_cfg_buffers(enum dma_channel ch, const void *membuf,
#define DMA_FLAG_INCR_MEM 2
#define DMA_FLAG_INCR_DEV 4
#define DMA_FLAG_SW_FLOW 8
-void dma_cfg_xfr(enum dma_channel ch, uint8_t unit_len,
- uint8_t dev_id, uint8_t flags);
+void dma_cfg_xfr(enum dma_channel ch, uint8_t unit_len, uint8_t dev_id,
+ uint8_t flags);
void dma_run(enum dma_channel ch);
