summaryrefslogtreecommitdiff
path: root/include/media/soc380.h
blob: 0cf1744dd022ef5f5a3364f6a6550bb339c57f6f (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
34
35
36
37
38
/**
 * Copyright (c) 2011 NVIDIA Corporation.  All rights reserved.
 *
 * NVIDIA Corporation and its licensors retain all intellectual property
 * and proprietary rights in and to this software and related documentation
 * and any modifications thereto.  Any use, reproduction, disclosure or
 * distribution of this software and related documentation without an express
 * license agreement from NVIDIA Corporation is strictly prohibited.
 */

#ifndef __SOC380_H__
#define __SOC380_H__

#include <linux/ioctl.h>  /* For IOCTL macros */

#define SOC380_IOCTL_SET_MODE		_IOW('o', 1, struct soc380_mode)
#define SOC380_IOCTL_GET_STATUS		_IOR('o', 2, struct soc380_status)

struct soc380_mode {
	int xres;
	int yres;
};

struct soc380_status {
	int data;
	int status;
};

#ifdef __KERNEL__
struct soc380_platform_data {
	int (*power_on)(void);
	int (*power_off)(void);

};
#endif /* __KERNEL__ */

#endif  /* __SOC380_H__ */