xref: /OK3568_Linux_fs/kernel/drivers/media/i2c/jaguar1_drv/jaguar1_motion.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /********************************************************************************
3  *
4  *  Copyright (C) 2017 	NEXTCHIP Inc. All rights reserved.
5  *  Module		: motion.h
6  *  Description	:
7  *  Author		:
8  *  Date         :
9  *  Version		: Version 1.0
10  *
11  ********************************************************************************
12  *  History      :
13  *
14  *
15  ********************************************************************************/
16 #ifndef _MOTION_H_
17 #define _MOTION_H_
18 
19 #include "jaguar1_common.h"
20 
21 typedef struct _motion_mode{
22 	unsigned char ch;
23 	unsigned char devnum;
24 	unsigned char set_val;
25 
26 	unsigned char fmtdef;
27 }motion_mode;
28 
29 void motion_onoff_set(motion_mode *motion_set);
30 void motion_display_onoff_set(motion_mode *motion_set);
31 void motion_pixel_all_onoff_set(motion_mode *motion_set);
32 void motion_pixel_onoff_set(motion_mode *motion_set);
33 void motion_pixel_onoff_get(motion_mode *motion_set);
34 void motion_tsen_set(motion_mode *motion_set);
35 void motion_psen_set(motion_mode *motion_set);
36 void motion_detection_get(motion_mode *motion_set);
37 
38 #endif /* _MOTION_H_ */
39