linux/drivers/media/platform/st/sti/hva/hva-debugfs.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (C) STMicroelectronics SA 2015
 * Authors: Yannick Fertre <[email protected]>
 *          Hugues Fruchet <[email protected]>
 */

#include <linux/debugfs.h>

#include "hva.h"
#include "hva-hw.h"

static void format_ctx(struct seq_file *s, struct hva_ctx *ctx)
{}

/*
 * performance debug info
 */
void hva_dbg_perf_begin(struct hva_ctx *ctx)
{}

void hva_dbg_perf_end(struct hva_ctx *ctx, struct hva_stream *stream)
{}

static void hva_dbg_perf_compute(struct hva_ctx *ctx)
{}

/*
 * device debug info
 */

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

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

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

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

#define hva_dbg_create_entry(name)

DEFINE_SHOW_ATTRIBUTE();
DEFINE_SHOW_ATTRIBUTE();
DEFINE_SHOW_ATTRIBUTE();
DEFINE_SHOW_ATTRIBUTE();

void hva_debugfs_create(struct hva_dev *hva)
{}

void hva_debugfs_remove(struct hva_dev *hva)
{}

/*
 * context (instance) debug info
 */

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

DEFINE_SHOW_ATTRIBUTE();

void hva_dbg_ctx_create(struct hva_ctx *ctx)
{}

void hva_dbg_ctx_remove(struct hva_ctx *ctx)
{}