1/* SPDX-License-Identifier: GPL-2.0+ */ 2/* 3 * Copyright (C) 2019 BayLibre, SAS 4 * Author: Neil Armstrong <narmstrong@baylibre.com> 5 */ 6 7#ifndef __MESON_RDMA_H 8#define __MESON_RDMA_H 9 10#include "meson_drv.h" 11 12int meson_rdma_init(struct meson_drm *priv); 13void meson_rdma_free(struct meson_drm *priv); 14void meson_rdma_setup(struct meson_drm *priv); 15void meson_rdma_reset(struct meson_drm *priv); 16void meson_rdma_stop(struct meson_drm *priv); 17 18void meson_rdma_writel_sync(struct meson_drm *priv, uint32_t val, uint32_t reg); 19void meson_rdma_flush(struct meson_drm *priv); 20 21#endif /* __MESON_RDMA_H */ 22