blob: 7cb275211257730911809d55547cad4894366747 (
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
28
29
30
31
32
33
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
/*
* Samsung Exynos SoC series NPU driver
*
* Copyright (c) 2017 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*/
#ifndef _NPU_STM_SOC_H_
#define _NPU_STM_SOC_H_
#include "npu-system.h"
#ifdef CONFIG_CORESIGHT_STM
/* STM is available */
int npu_stm_enable(struct npu_system *system);
int npu_stm_disable(struct npu_system *system);
int npu_stm_probe(struct npu_system *system);
int npu_stm_release(struct npu_system *system);
#else /* CONFIG_CORESIGHT_STM is not defined */
#define npu_stm_enable(p) (0)
#define npu_stm_disable(p) (0)
#define npu_stm_probe(p) (0)
#define npu_stm_release(p) (0)
#endif
#endif /* _NPU_STM_SOC_H_ */
|