driver core: Add a guard() definition for the device_lock()
[platform/kernel/linux-starfive.git] / include / linux / imx-media.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Copyright (c) 2014-2017 Mentor Graphics Inc.
4  */
5
6 #ifndef __LINUX_IMX_MEDIA_H__
7 #define __LINUX_IMX_MEDIA_H__
8
9 /*
10  * events from the subdevs
11  */
12 #define V4L2_EVENT_IMX_CLASS                V4L2_EVENT_PRIVATE_START
13 #define V4L2_EVENT_IMX_FRAME_INTERVAL_ERROR (V4L2_EVENT_IMX_CLASS + 1)
14
15 enum imx_ctrl_id {
16         V4L2_CID_IMX_FIM_ENABLE = (V4L2_CID_USER_IMX_BASE + 0),
17         V4L2_CID_IMX_FIM_NUM,
18         V4L2_CID_IMX_FIM_TOLERANCE_MIN,
19         V4L2_CID_IMX_FIM_TOLERANCE_MAX,
20         V4L2_CID_IMX_FIM_NUM_SKIP,
21         V4L2_CID_IMX_FIM_ICAP_EDGE,
22         V4L2_CID_IMX_FIM_ICAP_CHANNEL,
23 };
24
25 #endif