Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0+ */
0002 /*
0003  * Copyright (C) 2019 BayLibre, SAS
0004  * Author: Neil Armstrong <narmstrong@baylibre.com>
0005  */
0006 
0007 #ifndef __MESON_RDMA_H
0008 #define __MESON_RDMA_H
0009 
0010 #include "meson_drv.h"
0011 
0012 int meson_rdma_init(struct meson_drm *priv);
0013 void meson_rdma_free(struct meson_drm *priv);
0014 void meson_rdma_setup(struct meson_drm *priv);
0015 void meson_rdma_reset(struct meson_drm *priv);
0016 void meson_rdma_stop(struct meson_drm *priv);
0017 
0018 void meson_rdma_writel_sync(struct meson_drm *priv, uint32_t val, uint32_t reg);
0019 void meson_rdma_flush(struct meson_drm *priv);
0020 
0021 #endif /* __MESON_RDMA_H */