Lines Matching refs:card_exist
224 unsigned int card_exist; in rtl8411_cd_deglitch() local
226 card_exist = rtsx_pci_readl(pcr, RTSX_BIPR); in rtl8411_cd_deglitch()
227 card_exist &= CARD_EXIST; in rtl8411_cd_deglitch()
228 if (!card_exist) { in rtl8411_cd_deglitch()
237 if (hweight32(card_exist) > 1) { in rtl8411_cd_deglitch()
242 card_exist = rtsx_pci_readl(pcr, RTSX_BIPR); in rtl8411_cd_deglitch()
243 if (card_exist & MS_EXIST) in rtl8411_cd_deglitch()
244 card_exist = MS_EXIST; in rtl8411_cd_deglitch()
245 else if (card_exist & SD_EXIST) in rtl8411_cd_deglitch()
246 card_exist = SD_EXIST; in rtl8411_cd_deglitch()
248 card_exist = 0; in rtl8411_cd_deglitch()
254 card_exist); in rtl8411_cd_deglitch()
257 if (card_exist & MS_EXIST) { in rtl8411_cd_deglitch()
262 } else if (card_exist & SD_EXIST) { in rtl8411_cd_deglitch()
269 return card_exist; in rtl8411_cd_deglitch()