blob: 40982c33783209cfcc178776f10e7a69e0d9e598 [file] [log] [blame]
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -07001/* Copyright (c) 2011, 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_SDIO_H
14#define DIAGFWD_SDIO_H
15
16#include <mach/sdio_al.h>
17#define N_MDM_WRITE 1 /* Upgrade to 2 with ping pong buffer */
18#define N_MDM_READ 1
19
20void diagfwd_sdio_init(void);
21void diagfwd_sdio_exit(void);
22int diagfwd_connect_sdio(void);
23int diagfwd_disconnect_sdio(void);
24int diagfwd_read_complete_sdio(void);
25int diagfwd_write_complete_sdio(void);
26
27#endif