brintos

brintos / linux-shallow public Read only

0
0
Text · 460 B · 4ebc2b1 Raw
19 lines · c
1/* SPDX-License-Identifier: GPL-2.0-only */2/*3 * Copyright (C) 2021-2023 Digiteq Automotive4 *     author: Martin Tuma <martin.tuma@digiteqautomotive.com>5 */6 7#ifndef __MGB4_DMA_H__8#define __MGB4_DMA_H__9 10#include "mgb4_core.h"11 12int mgb4_dma_channel_init(struct mgb4_dev *mgbdev);13void mgb4_dma_channel_free(struct mgb4_dev *mgbdev);14 15int mgb4_dma_transfer(struct mgb4_dev *mgbdev, u32 channel, bool write,16		      u64 paddr, struct sg_table *sgt);17 18#endif19