blob: 5c95debf1ba2dddefa55711a0184c04f74d6e02e (
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
|
/*
*
* Copyright (C) 2015 Samsung Electronics. All rights reserved.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program;
*
*/
#define FEATURE_ESE_WAKELOCK
/* size of maximum read/write buffer supported by driver */
#define MAX_BUFFER_SIZE 260U
#define K250A_MAGIC 'N'
#define K250A_SET_TIMEOUT _IOW(K250A_MAGIC, 0, unsigned long)
#define K250A_SET_RESET _IO(K250A_MAGIC, 1)
#define K250A_GET_PWR_STATUS _IOR(K250A_MAGIC, 2, unsigned long)
#define K250A_SCL_GPIO 183
#define K250A_SDA_GPIO 184
#define K250A_ON 1
#define K250A_OFF 0
|