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

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Copyright (C) 2012-2016 Mentor Graphics Inc.
 * Copyright (C) 2005-2009 Freescale Semiconductor, Inc.
 */
#include <linux/io.h>
#include "ipu-prv.h"

struct ipu_vdi {};


/* VDI Register Offsets */
#define VDI_FSIZE
#define VDI_C

/* VDI Register Fields */
#define VDI_C_CH_420
#define VDI_C_CH_422
#define VDI_C_MOT_SEL_MASK
#define VDI_C_MOT_SEL_FULL
#define VDI_C_MOT_SEL_LOW
#define VDI_C_MOT_SEL_MED
#define VDI_C_BURST_SIZE1_4
#define VDI_C_BURST_SIZE2_4
#define VDI_C_BURST_SIZE3_4
#define VDI_C_BURST_SIZE_MASK
#define VDI_C_BURST_SIZE1_OFFSET
#define VDI_C_BURST_SIZE2_OFFSET
#define VDI_C_BURST_SIZE3_OFFSET
#define VDI_C_VWM1_SET_1
#define VDI_C_VWM1_SET_2
#define VDI_C_VWM1_CLR_2
#define VDI_C_VWM3_SET_1
#define VDI_C_VWM3_SET_2
#define VDI_C_VWM3_CLR_2
#define VDI_C_TOP_FIELD_MAN_1
#define VDI_C_TOP_FIELD_AUTO_1

static inline u32 ipu_vdi_read(struct ipu_vdi *vdi, unsigned int offset)
{}

static inline void ipu_vdi_write(struct ipu_vdi *vdi, u32 value,
				 unsigned int offset)
{}

void ipu_vdi_set_field_order(struct ipu_vdi *vdi, v4l2_std_id std, u32 field)
{}
EXPORT_SYMBOL_GPL();

void ipu_vdi_set_motion(struct ipu_vdi *vdi, enum ipu_motion_sel motion_sel)
{}
EXPORT_SYMBOL_GPL();

void ipu_vdi_setup(struct ipu_vdi *vdi, u32 code, int xres, int yres)
{}
EXPORT_SYMBOL_GPL();

void ipu_vdi_unsetup(struct ipu_vdi *vdi)
{}
EXPORT_SYMBOL_GPL();

int ipu_vdi_enable(struct ipu_vdi *vdi)
{}
EXPORT_SYMBOL_GPL();

int ipu_vdi_disable(struct ipu_vdi *vdi)
{}
EXPORT_SYMBOL_GPL();

struct ipu_vdi *ipu_vdi_get(struct ipu_soc *ipu)
{}
EXPORT_SYMBOL_GPL();

void ipu_vdi_put(struct ipu_vdi *vdi)
{}
EXPORT_SYMBOL_GPL();

int ipu_vdi_init(struct ipu_soc *ipu, struct device *dev,
		 unsigned long base, u32 module)
{}

void ipu_vdi_exit(struct ipu_soc *ipu)
{}