linux/drivers/gpu/ipu-v3/ipu-dmfc.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Copyright (c) 2010 Sascha Hauer <[email protected]>
 * Copyright (C) 2005-2009 Freescale Semiconductor, Inc.
 */
#include <linux/export.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/io.h>

#include <video/imx-ipu-v3.h>
#include "ipu-prv.h"

#define DMFC_RD_CHAN
#define DMFC_WR_CHAN
#define DMFC_WR_CHAN_DEF
#define DMFC_DP_CHAN
#define DMFC_DP_CHAN_DEF
#define DMFC_GENERAL1
#define DMFC_GENERAL2
#define DMFC_IC_CTRL
#define DMFC_WR_CHAN_ALT
#define DMFC_WR_CHAN_DEF_ALT
#define DMFC_DP_CHAN_ALT
#define DMFC_DP_CHAN_DEF_ALT
#define DMFC_GENERAL1_ALT
#define DMFC_STAT

#define DMFC_WR_CHAN_1_28
#define DMFC_WR_CHAN_2_41
#define DMFC_WR_CHAN_1C_42
#define DMFC_WR_CHAN_2C_43

#define DMFC_DP_CHAN_5B_23
#define DMFC_DP_CHAN_5F_27
#define DMFC_DP_CHAN_6B_24
#define DMFC_DP_CHAN_6F_29

struct dmfc_channel_data {};

static const struct dmfc_channel_data dmfcdata[] =;

#define DMFC_NUM_CHANNELS

struct ipu_dmfc_priv;

struct dmfc_channel {};

struct ipu_dmfc_priv {};

int ipu_dmfc_enable_channel(struct dmfc_channel *dmfc)
{}
EXPORT_SYMBOL_GPL();

void ipu_dmfc_disable_channel(struct dmfc_channel *dmfc)
{}
EXPORT_SYMBOL_GPL();

void ipu_dmfc_config_wait4eot(struct dmfc_channel *dmfc, int width)
{}
EXPORT_SYMBOL_GPL();

struct dmfc_channel *ipu_dmfc_get(struct ipu_soc *ipu, int ipu_channel)
{}
EXPORT_SYMBOL_GPL();

void ipu_dmfc_put(struct dmfc_channel *dmfc)
{}
EXPORT_SYMBOL_GPL();

int ipu_dmfc_init(struct ipu_soc *ipu, struct device *dev, unsigned long base,
		struct clk *ipu_clk)
{}

void ipu_dmfc_exit(struct ipu_soc *ipu)
{}