meson_rdma.h 596 B

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