• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Cedrus VPU driver
4  *
5  * Copyright (C) 2016 Florent Revest <florent.revest@free-electrons.com>
6  * Copyright (C) 2018 Paul Kocialkowski <paul.kocialkowski@bootlin.com>
7  * Copyright (C) 2018 Bootlin
8  *
9  * Based on the vim2m driver, that is:
10  *
11  * Copyright (c) 2009-2010 Samsung Electronics Co., Ltd.
12  * Pawel Osciak, <pawel@osciak.com>
13  * Marek Szyprowski, <m.szyprowski@samsung.com>
14  */
15 
16 #ifndef _CEDRUS_HW_H_
17 #define _CEDRUS_HW_H_
18 
19 int cedrus_engine_enable(struct cedrus_ctx *ctx, enum cedrus_codec codec);
20 void cedrus_engine_disable(struct cedrus_dev *dev);
21 
22 void cedrus_dst_format_set(struct cedrus_dev *dev,
23 			   struct v4l2_pix_format *fmt);
24 
25 int cedrus_hw_suspend(struct device *device);
26 int cedrus_hw_resume(struct device *device);
27 
28 int cedrus_hw_probe(struct cedrus_dev *dev);
29 void cedrus_hw_remove(struct cedrus_dev *dev);
30 
31 #endif
32