0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef __RTSX_SYS_H
0013 #define __RTSX_SYS_H
0014
0015 #include "rtsx.h"
0016 #include "rtsx_chip.h"
0017 #include "rtsx_card.h"
0018
0019 static inline void rtsx_exclusive_enter_ss(struct rtsx_chip *chip)
0020 {
0021 struct rtsx_dev *dev = chip->rtsx;
0022
0023 spin_lock(&dev->reg_lock);
0024 rtsx_enter_ss(chip);
0025 spin_unlock(&dev->reg_lock);
0026 }
0027
0028 static inline void rtsx_reset_detected_cards(struct rtsx_chip *chip, int flag)
0029 {
0030 rtsx_reset_cards(chip);
0031 }
0032
0033 #define RTSX_MSG_IN_INT(x)
0034
0035 #endif
0036