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
39
40
|
/* Lte modem bootloader support for Samsung Tuna Board.
*
* Copyright (C) 2011 Google, Inc.
* Copyright (C) 2011 Samsung Electronics.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* 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.
*/
#ifndef __LTE_MODEM_BOOTLOADER_H
#define __LTE_MODEM_BOOTLOADER_H
#define LTE_MODEM_BOOTLOADER_DRIVER_NAME "lte_modem_bootloader"
#define IOCTL_LTE_MODEM_XMIT_BOOT _IOW('o', 0x23, unsigned int)
#define IOCTL_LTE_MODEM_LTE2AP_STATUS _IOR('o', 0x24, unsigned int)
#define AIRPLAIN_MODE_TEST
#ifdef AIRPLAIN_MODE_TEST
#define IOCTL_LTE_MODEM_AIRPLAIN_ON _IOWR('o', 0x25, unsigned int)
#define IOCTL_LTE_MODEM_AIRPLAIN_OFF _IOWR('o', 0x26, unsigned int)
#endif
struct lte_modem_bootloader_param {
char __user *buf;
int len;
};
struct lte_modem_bootloader_platform_data {
const char *name;
unsigned int gpio_lte2ap_status;
};
#endif/* LTE_MODEM_BOOTLOADER_H */
|