2 * Copyright (c) 2012 GCT Semiconductor, Inc. All rights reserved.
4 * This software is licensed under the terms of the GNU General Public
5 * License version 2, as published by the Free Software Foundation, and
6 * may be copied, distributed, and modified under those terms.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
14 #ifndef __GDM72XX_GDM_SDIO_H__
15 #define __GDM72XX_GDM_SDIO_H__
17 #include <linux/types.h>
18 #include <linux/time.h>
20 #define MAX_NR_SDU_BUF 64
23 struct list_head list;
24 struct tx_cxt *tx_cxt;
27 void (*callback)(void *cb_data);
32 struct list_head free_list;
33 struct list_head sdu_list;
34 struct list_head hci_list;
35 struct timeval sdu_stamp;
43 struct list_head list;
44 struct rx_cxt *rx_cxt;
45 void (*callback)(void *cb_data, void *data, int len);
50 struct list_head free_list;
51 struct list_head req_list;
57 struct sdio_func *func;
60 struct work_struct ws;
63 #endif /* __GDM72XX_GDM_SDIO_H__ */