/* * 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_XMM626, 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