Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / media / pci / mgb4 / mgb4_dma.h
blob4ebc2b1ce9b7d6fd5b32e7666965ff93554a3787
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (C) 2021-2023 Digiteq Automotive
4 * author: Martin Tuma <martin.tuma@digiteqautomotive.com>
5 */
7 #ifndef __MGB4_DMA_H__
8 #define __MGB4_DMA_H__
10 #include "mgb4_core.h"
12 int mgb4_dma_channel_init(struct mgb4_dev *mgbdev);
13 void mgb4_dma_channel_free(struct mgb4_dev *mgbdev);
15 int mgb4_dma_transfer(struct mgb4_dev *mgbdev, u32 channel, bool write,
16 u64 paddr, struct sg_table *sgt);
18 #endif