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 …]
1073 chip->card_exist = 0; in rtsx_release_chip()1080 if (chip->card_exist && chip->blink_led) { in rtsx_blink_led()1147 if (chip->card_exist & SD_CARD) in rtsx_manage_ocp()1149 else if (chip->card_exist & MS_CARD) in rtsx_manage_ocp()1151 else if (chip->card_exist & XD_CARD) in rtsx_manage_ocp()1167 if (chip->card_exist & SD_CARD) { in rtsx_manage_sd_lock()1277 if (sd_oc && (chip->card_exist & SD_CARD)) { in rtsx_manage_2lun_mode()1283 if (ms_oc && (chip->card_exist & MS_CARD)) { in rtsx_manage_2lun_mode()1300 if (chip->card_exist & SD_CARD) { in rtsx_manage_1lun_mode()1303 } else if (chip->card_exist & MS_CARD) { in rtsx_manage_1lun_mode()[all …]
2624 if (chip->card_exist) { in read_status()2625 if (chip->card_exist & XD_CARD) in read_status()2627 else if (chip->card_exist & SD_CARD) in read_status()2629 else if (chip->card_exist & MS_CARD) in read_status()
723 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()