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 __GDM_SDIO_H__
15 #define __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
;
29 void (*callback
)(void *cb_data
);
34 struct list_head free_list
;
35 struct list_head sdu_list
;
36 struct list_head hci_list
;
37 struct timeval sdu_stamp
;
47 struct list_head list
;
48 struct rx_cxt
*rx_cxt
;
50 void (*callback
)(void *cb_data
, void *data
, int len
);
55 struct list_head free_list
;
56 struct list_head req_list
;
64 struct sdio_func
*func
;
69 struct work_struct ws
;
72 #endif /* __GDM_SDIO_H__ */