diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2014-02-08 14:29:15 +0100 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2014-02-08 14:29:15 +0100 |
commit | ffc71f0da11b322e5c28425200cbb8666cf441f9 (patch) | |
tree | 4287b6798313811b51faf200186624e6f85623e9 /samsung-ipc/devices/xmm6260/modem.h | |
parent | 190984f13910b589b8909b1088bac863316cdc96 (diff) | |
download | external_libsamsung-ipc-ffc71f0da11b322e5c28425200cbb8666cf441f9.zip external_libsamsung-ipc-ffc71f0da11b322e5c28425200cbb8666cf441f9.tar.gz external_libsamsung-ipc-ffc71f0da11b322e5c28425200cbb8666cf441f9.tar.bz2 |
devices folder instead of device, for better consistency
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'samsung-ipc/devices/xmm6260/modem.h')
-rw-r--r-- | samsung-ipc/devices/xmm6260/modem.h | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/samsung-ipc/devices/xmm6260/modem.h b/samsung-ipc/devices/xmm6260/modem.h new file mode 100644 index 0000000..5a456f5 --- /dev/null +++ b/samsung-ipc/devices/xmm6260/modem.h @@ -0,0 +1,74 @@ +/* + * Copyright (C) 2010 Google, Inc. + * Copyright (C) 2010 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 __MODEM_IF_H__ +#define __MODEM_IF_H__ + +enum modem_t { + IMC_XMM6260, + IMC_XMM6262, + VIA_CBP71, + VIA_CBP72, + SEC_CMC221, + QC_MDM6600, + DUMMY, +}; + +enum dev_format { + IPC_FMT, + IPC_RAW, + IPC_RFS, + IPC_CMD, + IPC_BOOT, + IPC_MULTI_RAW, + IPC_RAMDUMP, + MAX_DEV_FORMAT, +}; +#define MAX_IPC_DEV (IPC_RFS + 1) + +enum modem_io { + IODEV_MISC, + IODEV_NET, + IODEV_DUMMY, +}; + +enum modem_link { + LINKDEV_UNDEFINED, + LINKDEV_MIPI, + LINKDEV_DPRAM, + LINKDEV_SPI, + LINKDEV_USB, + LINKDEV_HSIC, + LINKDEV_C2C, + LINKDEV_MAX, +}; +#define LINKTYPE(modem_link) (1u << (modem_link)) + +enum modem_network { + UMTS_NETWORK, + CDMA_NETWORK, + LTE_NETWORK, +}; + +enum sipc_ver { + NO_SIPC_VER = 0, + SIPC_VER_40 = 40, + SIPC_VER_41 = 41, + SIPC_VER_42 = 42, + SIPC_VER_50 = 50, + MAX_SIPC_VER, +}; + +#endif |