treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / gpu / drm / meson / meson_rdma.h
blob3870bff7b47fad9d4adbc70db8f2bfa955532d07
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3 * Copyright (C) 2019 BayLibre, SAS
4 * Author: Neil Armstrong <narmstrong@baylibre.com>
5 */
7 #ifndef __MESON_RDMA_H
8 #define __MESON_RDMA_H
10 #include "meson_drv.h"
12 int meson_rdma_init(struct meson_drm *priv);
13 void meson_rdma_free(struct meson_drm *priv);
14 void meson_rdma_setup(struct meson_drm *priv);
15 void meson_rdma_reset(struct meson_drm *priv);
16 void meson_rdma_stop(struct meson_drm *priv);
18 void meson_rdma_writel_sync(struct meson_drm *priv, uint32_t val, uint32_t reg);
19 void meson_rdma_flush(struct meson_drm *priv);
21 #endif /* __MESON_RDMA_H */