Searched refs:card_exist (Results 1 – 10 of 10) sorted by relevance
224 unsigned int card_exist; in rtl8411_cd_deglitch() local226 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()[all …]
534 int card_exist = (interrupt & SD_EXIST) | (interrupt & MS_EXIST); in rts5260_set_l1off_cfg_sub_d0() local554 if (card_exist) in rts5260_set_l1off_cfg_sub_d0()
851 if (pcr->card_exist & (~cd_mask[card])) in rtsx_pci_card_exclusive_check()935 pcr->card_exist |= card_inserted; in rtsx_pci_card_detect()936 pcr->card_exist &= ~card_removed; in rtsx_pci_card_detect()1410 pcr->card_exist = pcr->ops->cd_deglitch(pcr); in rtsx_pci_init_hw()1412 pcr->card_exist = rtsx_pci_readl(pcr, RTSX_BIPR) & CARD_EXIST; in rtsx_pci_init_hw()
642 int card_exist = (interrupt & SD_EXIST) | (interrupt & MS_EXIST); in rts5250_set_l1off_cfg_sub_d0() local662 if (card_exist) in rts5250_set_l1off_cfg_sub_d0()
360 if (!pcr->card_exist) in rts522a_extra_init_hw()
364 chip->card_exist |= XD_CARD; in rtsx_reset_cards()372 if (chip->card_exist & XD_CARD) { in rtsx_reset_cards()378 chip->card_exist |= SD_CARD; in rtsx_reset_cards()388 chip->card_exist |= MS_CARD; in rtsx_reset_cards()414 chip->card_exist |= SD_CARD; in rtsx_reinit_cards()423 chip->card_exist |= XD_CARD; in rtsx_reinit_cards()432 chip->card_exist |= MS_CARD; in rtsx_reinit_cards()447 if (chip->card_exist) { in card_cd_debounce()448 if (chip->card_exist & XD_CARD) { in card_cd_debounce()451 } else if (chip->card_exist & SD_CARD) { in card_cd_debounce()[all …]
892 chip->card_exist = 0; in rtsx_release_chip()899 if (chip->card_exist && chip->blink_led) { in rtsx_blink_led()967 if (chip->card_exist & SD_CARD) in rtsx_manage_ocp()969 else if (chip->card_exist & MS_CARD) in rtsx_manage_ocp()971 else if (chip->card_exist & XD_CARD) in rtsx_manage_ocp()987 if (chip->card_exist & SD_CARD) { in rtsx_manage_sd_lock()1097 if (sd_oc && (chip->card_exist & SD_CARD)) { in rtsx_manage_2lun_mode()1103 if (ms_oc && (chip->card_exist & MS_CARD)) { in rtsx_manage_2lun_mode()1120 if (chip->card_exist & SD_CARD) { in rtsx_manage_1lun_mode()1123 } else if (chip->card_exist & MS_CARD) { in rtsx_manage_1lun_mode()[all …]
2427 if (chip->card_exist) { in read_status()2428 if (chip->card_exist & XD_CARD) in read_status()2430 else if (chip->card_exist & SD_CARD) in read_status()2432 else if (chip->card_exist & MS_CARD) in read_status()
731 u8 card_exist; /* card exist bit map (physical exist) */ member
46 bool card_exist; member796 host->card_exist = true; in sdmmc_get_cd()801 host->card_exist = false; in sdmmc_get_cd()820 if ((!host->card_exist)) { in sdmmc_request()