Searched refs:card_exist (Results 1 – 7 of 7) sorted by relevance
234 unsigned int card_exist; in rtl8411_cd_deglitch() local236 card_exist = rtsx_pci_readl(pcr, RTSX_BIPR); in rtl8411_cd_deglitch()237 card_exist &= CARD_EXIST; in rtl8411_cd_deglitch()238 if (!card_exist) { in rtl8411_cd_deglitch()247 if (hweight32(card_exist) > 1) { in rtl8411_cd_deglitch()252 card_exist = rtsx_pci_readl(pcr, RTSX_BIPR); in rtl8411_cd_deglitch()253 if (card_exist & MS_EXIST) in rtl8411_cd_deglitch()254 card_exist = MS_EXIST; in rtl8411_cd_deglitch()255 else if (card_exist & SD_EXIST) in rtl8411_cd_deglitch()256 card_exist = SD_EXIST; in rtl8411_cd_deglitch()[all …]
768 if (pcr->card_exist & (~cd_mask[card])) in rtsx_pci_card_exclusive_check()852 pcr->card_exist |= card_inserted; in rtsx_pci_card_detect()853 pcr->card_exist &= ~card_removed; in rtsx_pci_card_detect()1068 pcr->card_exist = pcr->ops->cd_deglitch(pcr); in rtsx_pci_init_hw()1070 pcr->card_exist = rtsx_pci_readl(pcr, RTSX_BIPR) & CARD_EXIST; in rtsx_pci_init_hw()
375 chip->card_exist |= XD_CARD; in rtsx_reset_cards()383 if (chip->card_exist & XD_CARD) { in rtsx_reset_cards()389 chip->card_exist |= SD_CARD; in rtsx_reset_cards()399 chip->card_exist |= MS_CARD; in rtsx_reset_cards()425 chip->card_exist |= SD_CARD; in rtsx_reinit_cards()434 chip->card_exist |= XD_CARD; in rtsx_reinit_cards()443 chip->card_exist |= MS_CARD; in rtsx_reinit_cards()458 if (chip->card_exist) { in card_cd_debounce()459 if (chip->card_exist & XD_CARD) { in card_cd_debounce()462 } else if (chip->card_exist & SD_CARD) { in card_cd_debounce()[all …]
1081 chip->card_exist = 0; in rtsx_release_chip()1088 if (chip->card_exist && chip->blink_led) { in rtsx_blink_led()1155 if (chip->card_exist & SD_CARD) in rtsx_manage_ocp()1157 else if (chip->card_exist & MS_CARD) in rtsx_manage_ocp()1159 else if (chip->card_exist & XD_CARD) in rtsx_manage_ocp()1175 if (chip->card_exist & SD_CARD) { in rtsx_manage_sd_lock()1285 if (sd_oc && (chip->card_exist & SD_CARD)) { in rtsx_manage_2lun_mode()1291 if (ms_oc && (chip->card_exist & MS_CARD)) { in rtsx_manage_2lun_mode()1308 if (chip->card_exist & SD_CARD) { in rtsx_manage_1lun_mode()1311 } else if (chip->card_exist & MS_CARD) { in rtsx_manage_1lun_mode()[all …]
2633 if (chip->card_exist) { in read_status()2634 if (chip->card_exist & XD_CARD) in read_status()2636 else if (chip->card_exist & SD_CARD) in read_status()2638 else if (chip->card_exist & MS_CARD) in read_status()
729 u8 card_exist; /* card exist bit map (physical exist) */ member
57 bool card_exist; member813 host->card_exist = true; in sdmmc_get_cd()818 host->card_exist = false; in sdmmc_get_cd()837 if ((!host->card_exist)) { in sdmmc_request()