summaryrefstree
path: root/kernel/drivers/vision/dsp/dsp-debug.h
blob: 9d3ed18293bd606ddd60890b48dbdfff63776c7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Samsung Exynos SoC series dsp driver
 *
 * Copyright (c) 2019 Samsung Electronics Co., Ltd
 */

#ifndef __DSP_DEBUG_H__
#define __DSP_DEBUG_H__

#include <linux/dcache.h>

struct dsp_device;

struct dsp_debug {
	struct dentry	*root;
	struct dentry	*debug_log;
};

int dsp_debug_open(struct dsp_debug *debug);
int dsp_debug_close(struct dsp_debug *debug);

int dsp_debug_probe(struct dsp_device *dspdev);
void dsp_debug_remove(struct dsp_debug *debug);

#endif