blob: 8785d9fc9c7c6a56422921f78b6d4dc686e562e6 [file] [log] [blame]
Dixon Peterson32e70bb2011-12-16 13:26:45 -08001/* Copyright (c) 2012, Code Aurora Forum. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
13#ifndef DIAGFWD_HSIC_H
14#define DIAGFWD_HSIC_H
15
16#include <mach/diag_bridge.h>
17#define N_MDM_WRITE 1 /* Upgrade to 2 with ping pong buffer */
18#define N_MDM_READ 1
19
Dixon Petersonf79b66f2012-04-26 13:21:26 -070020int diagfwd_connect_hsic(int);
21int diagfwd_disconnect_hsic(int);
22int diagfwd_write_complete_hsic(void);
23int diagfwd_cancel_hsic(void);
Stephen Boyd8744b042012-02-21 01:08:24 -080024void diagfwd_hsic_init(void);
25void diagfwd_hsic_exit(void);
Dixon Peterson32e70bb2011-12-16 13:26:45 -080026
27#endif