linux/drivers/media/platform/chips-media/wave5/wave5-vdi.c

// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
/*
 * Wave5 series multi-standard codec IP - low level access functions
 *
 * Copyright (C) 2021-2023 CHIPS&MEDIA INC
 */

#include <linux/bug.h>
#include "wave5-vdi.h"
#include "wave5-vpu.h"
#include "wave5-regdefine.h"
#include <linux/delay.h>

static int wave5_vdi_allocate_common_memory(struct device *dev)
{}

int wave5_vdi_init(struct device *dev)
{}

int wave5_vdi_release(struct device *dev)
{}

void wave5_vdi_write_register(struct vpu_device *vpu_dev, u32 addr, u32 data)
{}

unsigned int wave5_vdi_read_register(struct vpu_device *vpu_dev, u32 addr)
{}

int wave5_vdi_clear_memory(struct vpu_device *vpu_dev, struct vpu_buf *vb)
{}

int wave5_vdi_write_memory(struct vpu_device *vpu_dev, struct vpu_buf *vb, size_t offset,
			   u8 *data, size_t len)
{}

int wave5_vdi_allocate_dma_memory(struct vpu_device *vpu_dev, struct vpu_buf *vb)
{}

int wave5_vdi_free_dma_memory(struct vpu_device *vpu_dev, struct vpu_buf *vb)
{}

int wave5_vdi_allocate_array(struct vpu_device *vpu_dev, struct vpu_buf *array, unsigned int count,
			     size_t size)
{}

void wave5_vdi_allocate_sram(struct vpu_device *vpu_dev)
{}

void wave5_vdi_free_sram(struct vpu_device *vpu_dev)
{}