upload tizen1.0 source
[kernel/linux-2.6.36.git] / drivers / usb / host / s3c-otg / s3c-otg-transferchecker-interrupt.h
1 /****************************************************************************
2  *  (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
3  *
4  *  [File Name]   : IntTransferChecker.h
5  *  [Description] : The Header file defines the external and internal functions of IntTransferChecker
6  *  [Author]      : Yang Soon Yeal { syatom.yang@samsung.com }
7  *  [Department]  : System LSI Division/System SW Lab
8  *  [Created Date]: 2008/06/19
9  *  [Revision History]
10  *      (1) 2008/06/18   by Yang Soon Yeal { syatom.yang@samsung.com }
11  *          - Created this file and defines functions of IntTransferChecker
12  *
13  ****************************************************************************/
14 /****************************************************************************
15  * This program is free software; you can redistribute it and/or modify
16  * it under the terms of the GNU General Public License as published by
17  * the Free Software Foundation; either version 2 of the License, or
18  * (at your option) any later version.
19  *
20  * This program is distributed in the hope that it will be useful,
21  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23  * GNU General Public License for more details.
24  *
25  * You should have received a copy of the GNU General Public License
26  * along with this program; if not, write to the Free Software
27  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
28  ****************************************************************************/
29
30 #ifndef  _INT_TRANSFER_CHECKER_H
31 #define  _INT_TRANSFER_CHECKER_H
32
33 /*
34 // ----------------------------------------------------------------------------
35 // Include files : None.
36 // ----------------------------------------------------------------------------
37 */
38
39 #include "s3c-otg-common-common.h"
40 //#include "s3c-otg-common-typedef.h"
41 #include "s3c-otg-common-const.h"
42 #include "s3c-otg-common-errorcode.h"
43 #include "s3c-otg-common-datastruct.h"
44 #include "s3c-otg-common-regdef.h"
45
46 #include "s3c-otg-hcdi-debug.h"
47 #include "s3c-otg-scheduler-scheduler.h"
48 #include "s3c-otg-isr.h"
49 #include "s3c-otg-transferchecker-checker.h"
50
51
52
53 #ifdef __cplusplus
54 extern "C"
55 {
56 #endif
57
58 u8      process_intr_transfer(td_t      *pRawTD,
59                                 hc_info_t *pHCRegData);
60
61 u8      process_xfercompl_on_intr(td_t  *pRawTD,
62                                         hc_info_t *pHCRegData);
63
64 u8      process_chhltd_on_intr(td_t     *pRawTD,
65                                 hc_info_t *pHCRegData);
66
67 u8      process_ahb_on_intr(td_t        *pRawTD,
68                                 hc_info_t *pHCRegData);
69
70 u8      process_stall_on_intr(td_t              *pRawTD,
71                                  hc_info_t      *pHCRegData);
72
73 u8      process_nak_on_intr(td_t        *pRawTD,
74                              hc_info_t  *pHCRegData);
75
76 u8      process_frmovrrun_on_intr(td_t  *pRawTD,
77                                         hc_info_t *pHCRegData);
78
79 u8      process_ack_on_intr(td_t        *pRawTD,
80                                 hc_info_t *pHCRegData);
81
82 u8      process_xacterr_on_intr(td_t    *pRawTD,
83                                    hc_info_t    *pHCRegData);
84
85 u8      process_bblerr_on_intr(td_t             *pRawTD,
86                                   hc_info_t     *pHCRegData);
87
88 u8      process_datatgl_on_intr(td_t    *pRawTD,
89                                 hc_info_t       *pHCRegData);
90
91 #ifdef __cplusplus
92 }
93 #endif
94
95
96 #endif
97