linux/drivers/media/platform/amphion/vpu_dbg.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright 2020-2021 NXP
 */

#include <linux/init.h>
#include <linux/device.h>
#include <linux/ioctl.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/pm_runtime.h>
#include <media/v4l2-device.h>
#include <linux/debugfs.h>
#include "vpu.h"
#include "vpu_defs.h"
#include "vpu_core.h"
#include "vpu_helpers.h"
#include "vpu_cmds.h"
#include "vpu_rpc.h"
#include "vpu_v4l2.h"

struct print_buf_desc {};

static char *vb2_stat_name[] =;

static char *vpu_stat_name[] =;

static inline const char *to_vpu_stat_name(int state)
{}

static int vpu_dbg_instance(struct seq_file *s, void *data)
{}

static int vpu_dbg_core(struct seq_file *s, void *data)
{}

static int vpu_dbg_fwlog(struct seq_file *s, void *data)
{}

static int vpu_dbg_inst_open(struct inode *inode, struct file *filp)
{}

static ssize_t vpu_dbg_inst_write(struct file *file,
				  const char __user *user_buf, size_t size, loff_t *ppos)
{}

static ssize_t vpu_dbg_core_write(struct file *file,
				  const char __user *user_buf, size_t size, loff_t *ppos)
{}

static int vpu_dbg_core_open(struct inode *inode, struct file *filp)
{}

static int vpu_dbg_fwlog_open(struct inode *inode, struct file *filp)
{}

static const struct file_operations vpu_dbg_inst_fops =;

static const struct file_operations vpu_dbg_core_fops =;

static const struct file_operations vpu_dbg_fwlog_fops =;

int vpu_inst_create_dbgfs_file(struct vpu_inst *inst)
{}

int vpu_inst_remove_dbgfs_file(struct vpu_inst *inst)
{}

int vpu_core_create_dbgfs_file(struct vpu_core *core)
{}

int vpu_core_remove_dbgfs_file(struct vpu_core *core)
{}

void vpu_inst_record_flow(struct vpu_inst *inst, u32 flow)
{}