diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2013-07-03 16:10:04 +0200 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2013-07-03 16:10:04 +0200 |
commit | 10eb92cac26b29c204f3a66fde2f355a692efce8 (patch) | |
tree | 28340036e83e854476b0cf93bba8dd8ffb09fe4f /samsung-ipc/device/xmm6260/xmm6260_ipc.h | |
parent | eb9cffa5d60cdc037d4a8397e8cc690f00bc4990 (diff) | |
download | external_libsamsung-ipc-10eb92cac26b29c204f3a66fde2f355a692efce8.zip external_libsamsung-ipc-10eb92cac26b29c204f3a66fde2f355a692efce8.tar.gz external_libsamsung-ipc-10eb92cac26b29c204f3a66fde2f355a692efce8.tar.bz2 |
Major rework of xmm6260 common code (MIPI and HSIC) and xmm6260 devices code
Change-Id: I49fba6329824e1f1ab0aceef91a57f75727a41ab
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'samsung-ipc/device/xmm6260/xmm6260_ipc.h')
-rw-r--r-- | samsung-ipc/device/xmm6260/xmm6260_ipc.h | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/samsung-ipc/device/xmm6260/xmm6260_ipc.h b/samsung-ipc/device/xmm6260/xmm6260_ipc.h deleted file mode 100644 index 632c300..0000000 --- a/samsung-ipc/device/xmm6260/xmm6260_ipc.h +++ /dev/null @@ -1,63 +0,0 @@ -/** - * This file is part of libsamsung-ipc. - * - * Copyright (C) 2012 Alexander Tarasikov <alexander.tarasikov@gmail.com> - * Copyright (C) 2011 Paul Kocialkowski <contact@paulk.fr> - * based on crespo IPC code which is: - * - * Copyright (C) 2011 Paul Kocialkowski <contact@paulk.fr> - * Joerie de Gram <j.de.gram@gmail.com> - * Simon Busch <morphis@gravedo.de> - * - * libsamsung-ipc is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 2 of the License, or - * (at your option) any later version. - * - * libsamsung-ipc 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 libsamsung-ipc. If not, see <http://www.gnu.org/licenses/>. - */ - -#include <stdint.h> - -#ifndef __XMM6260_IPC_H__ -#define __XMM6260_IPC_H__ - -#define IPC_MAX_XFER 4096 -#define GPRS_IFACE_PREFIX "rmnet" -#define GPRS_IFACE_COUNT 3 - -struct rfs_hdr { - uint32_t size; - uint8_t cmd; - uint8_t id; -} __attribute__ ((packed)); - -int xmm6260_ipc_fmt_send(struct ipc_client *client, struct ipc_message_info *request); -int xmm6260_ipc_fmt_recv(struct ipc_client *client, struct ipc_message_info *response); -int xmm6260_ipc_rfs_recv(struct ipc_client *client, struct ipc_message_info *response); -int xmm6260_ipc_rfs_send(struct ipc_client *client, struct ipc_message_info *request); -int xmm6260_ipc_open(void *transport_data, int type); -int xmm6260_ipc_close(void *transport_data); -int xmm6260_ipc_read(void *transport_data, void *buffer, unsigned int length); -int xmm6260_ipc_write(void *transport_data, void *buffer, unsigned int length); -int xmm6260_ipc_poll(void *transport_data, struct timeval *timeout); -int xmm6260_ipc_power_on(void *power_data); -int xmm6260_ipc_power_off(void *power_data); -int xmm6260_ipc_data_create(void **transport_data, void **power_data, void **gprs_data); -int xmm6260_ipc_data_destroy(void *transport_data, void *power_data, void *gprs_data); -char* xmm6260_ipc_gprs_get_iface(int cid); -int xmm6260_ipc_gprs_get_capabilities(struct ipc_client_gprs_capabilities *capabilities); - -struct xmm6260_ipc_transport_data { - int fd; -}; - -#endif - -// vim:ts=4:sw=4:expandtab |