summaryrefstree
path: root/kernel/drivers/vision/npu/include/npu-system-soc.h
blob: 9fadcc7a7bf4a8089073a81cd89e091127388dd2 (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
/*
 * 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_SYSTEM_SOC_H_
#define _NPU_SYSTEM_SOC_H_
#include "npu-system.h"

int npu_system_soc_probe(struct npu_system *system, struct platform_device *pdev);
int npu_system_soc_release(struct npu_system *system, struct platform_device *pdev);
int npu_system_soc_resume(struct npu_system *system, u32 mode);
int npu_system_soc_suspend(struct npu_system *system);

struct npu_iomem_init_data {
	u32	start;
	u32	end;
	struct	npu_iomem_area *area_info;       /* Save iomem result */
};

#endif	/* _NPU_SYSTEM_SOC_H_ */