mirror of
https://github.com/torvalds/linux.git
synced 2025-04-12 06:49:52 +00:00

Digiteq Automotive MGB4 is a modular frame grabber PCIe card for automotive video interfaces. As for now, two modules - FPD-Link and GMSL - are available and supported by the driver. The card has two inputs and two outputs (FPD-Link only). In addition to the video interfaces it also provides a trigger signal interface and a MTD interface for FPGA firmware upload. Signed-off-by: Martin Tůma <martin.tuma@digiteqautomotive.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
19 lines
460 B
C
19 lines
460 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (C) 2021-2023 Digiteq Automotive
|
|
* author: Martin Tuma <martin.tuma@digiteqautomotive.com>
|
|
*/
|
|
|
|
#ifndef __MGB4_DMA_H__
|
|
#define __MGB4_DMA_H__
|
|
|
|
#include "mgb4_core.h"
|
|
|
|
int mgb4_dma_channel_init(struct mgb4_dev *mgbdev);
|
|
void mgb4_dma_channel_free(struct mgb4_dev *mgbdev);
|
|
|
|
int mgb4_dma_transfer(struct mgb4_dev *mgbdev, u32 channel, bool write,
|
|
u64 paddr, struct sg_table *sgt);
|
|
|
|
#endif
|