i2c-eg20t: change timeout value 50msec to 1000msec
[zen-stable.git] / drivers / staging / rts5139 / rts51x_sys.h
blobb09cd34a6c0233814dff8212cc5ee35704fab660
1 /* Driver for Realtek USB RTS51xx card reader
2 * Header file
4 * Copyright(c) 2009 Realtek Semiconductor Corp. All rights reserved.
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2, or (at your option) any
9 * later version.
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, see <http://www.gnu.org/licenses/>.
19 * Author:
20 * wwang (wei_wang@realsil.com.cn)
21 * No. 450, Shenhu Road, Suzhou Industry Park, Suzhou, China
22 * Maintainer:
23 * Edwin Rong (edwin_rong@realsil.com.cn)
24 * No. 450, Shenhu Road, Suzhou Industry Park, Suzhou, China
27 #ifndef __RTS51X_SYS_H
28 #define __RTS51X_SYS_H
30 #include "rts51x.h"
31 #include "rts51x_chip.h"
32 #include "rts51x_card.h"
34 #define USING_POLLING_CYCLE_DELINK
36 extern int rts51x_check_start_time(struct rts51x_chip *chip);
37 extern void rts51x_set_start_time(struct rts51x_chip *chip);
38 extern void rts51x_clear_start_time(struct rts51x_chip *chip);
40 /* typedef dma_addr_t ULONG_PTR; */
42 static inline void rts51x_reset_detected_cards(struct rts51x_chip *chip)
44 /* rts51x_reset_cards(chip); */
47 static inline void clear_first_install_mark(struct rts51x_chip *chip)
51 void rts51x_enter_ss(struct rts51x_chip *chip);
52 void rts51x_exit_ss(struct rts51x_chip *chip);
54 #endif /* __RTS51X_SYS_H */