summaryrefstree
path: root/kernel/drivers/vision/dsp/hardware/dsp-interface.h
blob: f1de5e73582c9253521ab6a86347ae9e2cb695da (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
27
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Samsung Exynos SoC series dsp driver
 *
 * Copyright (c) 2019 Samsung Electronics Co., Ltd.
 *              http://www.samsung.com/
 */

#ifndef __DSP_INTERFACE_H__
#define __DSP_INTERFACE_H__

#include "dsp-hw-interface.h"

enum dsp_to_cc_int_num {
	DSP_TO_CC_INT_RESET,
	DSP_TO_CC_INT_MAILBOX,
	DSP_TO_CC_INT_NUM,
};

int dsp_interface_interrupt(struct dsp_interface *itf, int status);

int dsp_interface_open(struct dsp_interface *itf);
int dsp_interface_close(struct dsp_interface *itf);
int dsp_interface_probe(struct dsp_system *sys);
void dsp_interface_remove(struct dsp_interface *itf);

#endif