1 /****************************************************************************
2 * (C) Copyright 2008 Samsung Electronics Co., Ltd., All rights reserved
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
10 * (1) 2008/06/18 by Yang Soon Yeal { syatom.yang@samsung.com }
11 * - Created this file and defines functions of IntTransferChecker
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.
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.
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 ****************************************************************************/
30 #ifndef _INT_TRANSFER_CHECKER_H
31 #define _INT_TRANSFER_CHECKER_H
34 // ----------------------------------------------------------------------------
35 // Include files : None.
36 // ----------------------------------------------------------------------------
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"
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"
58 u8 process_intr_transfer(td_t *pRawTD,
59 hc_info_t *pHCRegData);
61 u8 process_xfercompl_on_intr(td_t *pRawTD,
62 hc_info_t *pHCRegData);
64 u8 process_chhltd_on_intr(td_t *pRawTD,
65 hc_info_t *pHCRegData);
67 u8 process_ahb_on_intr(td_t *pRawTD,
68 hc_info_t *pHCRegData);
70 u8 process_stall_on_intr(td_t *pRawTD,
71 hc_info_t *pHCRegData);
73 u8 process_nak_on_intr(td_t *pRawTD,
74 hc_info_t *pHCRegData);
76 u8 process_frmovrrun_on_intr(td_t *pRawTD,
77 hc_info_t *pHCRegData);
79 u8 process_ack_on_intr(td_t *pRawTD,
80 hc_info_t *pHCRegData);
82 u8 process_xacterr_on_intr(td_t *pRawTD,
83 hc_info_t *pHCRegData);
85 u8 process_bblerr_on_intr(td_t *pRawTD,
86 hc_info_t *pHCRegData);
88 u8 process_datatgl_on_intr(td_t *pRawTD,
89 hc_info_t *pHCRegData);