linux/drivers/staging/media/meson/vdec/vdec_1.c

// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright (C) 2018 BayLibre, SAS
 * Author: Maxime Jourdan <[email protected]>
 *
 * VDEC_1 is a video decoding block that allows decoding of
 * MPEG 1/2/4, H.263, H.264, MJPEG, VC1
 */

#include <linux/firmware.h>
#include <linux/clk.h>

#include "vdec_1.h"
#include "vdec_helpers.h"
#include "dos_regs.h"

/* AO Registers */
#define AO_RTI_GEN_PWR_SLEEP0
#define AO_RTI_GEN_PWR_ISO0
	#define GEN_PWR_VDEC_1
	#define GEN_PWR_VDEC_1_SM1

#define MC_SIZE

static int
vdec_1_load_firmware(struct amvdec_session *sess, const char *fwname)
{}

static int vdec_1_stbuf_power_up(struct amvdec_session *sess)
{}

static void vdec_1_conf_esparser(struct amvdec_session *sess)
{}

static u32 vdec_1_vififo_level(struct amvdec_session *sess)
{}

static int vdec_1_stop(struct amvdec_session *sess)
{}

static int vdec_1_start(struct amvdec_session *sess)
{}

struct amvdec_ops vdec_1_ops =;