Home
last modified time | relevance | path

Searched refs:card_exist (Results 1 – 9 of 9) sorted by relevance

/drivers/misc/cardreader/
Drtl8411.c222 unsigned int card_exist; in rtl8411_cd_deglitch() local
224 card_exist = rtsx_pci_readl(pcr, RTSX_BIPR); in rtl8411_cd_deglitch()
225 card_exist &= CARD_EXIST; in rtl8411_cd_deglitch()
226 if (!card_exist) { in rtl8411_cd_deglitch()
235 if (hweight32(card_exist) > 1) { in rtl8411_cd_deglitch()
240 card_exist = rtsx_pci_readl(pcr, RTSX_BIPR); in rtl8411_cd_deglitch()
241 if (card_exist & MS_EXIST) in rtl8411_cd_deglitch()
242 card_exist = MS_EXIST; in rtl8411_cd_deglitch()
243 else if (card_exist & SD_EXIST) in rtl8411_cd_deglitch()
244 card_exist = SD_EXIST; in rtl8411_cd_deglitch()
[all …]
Drtsx_pcr.c863 if (pcr->card_exist & (~cd_mask[card])) in rtsx_pci_card_exclusive_check()
947 pcr->card_exist |= card_inserted; in rtsx_pci_card_detect()
948 pcr->card_exist &= ~card_removed; in rtsx_pci_card_detect()
1341 pcr->card_exist = pcr->ops->cd_deglitch(pcr); in rtsx_pci_init_hw()
1343 pcr->card_exist = rtsx_pci_readl(pcr, RTSX_BIPR) & CARD_EXIST; in rtsx_pci_init_hw()
Drts5260.c602 int card_exist = (interrupt & SD_EXIST) | (interrupt & MS_EXIST); in rts5260_set_l1off_cfg_sub_d0() local
622 if (card_exist) in rts5260_set_l1off_cfg_sub_d0()
Drts5249.c571 int card_exist = (interrupt & SD_EXIST) | (interrupt & MS_EXIST); in rts5250_set_l1off_cfg_sub_d0() local
591 if (card_exist) in rts5250_set_l1off_cfg_sub_d0()
/drivers/staging/rts5208/
Drtsx_card.c364 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 …]
Drtsx_chip.c892 chip->card_exist = 0; in rtsx_release_chip()
899 if (chip->card_exist && chip->blink_led) { in rtsx_blink_led()
966 if (chip->card_exist & SD_CARD) in rtsx_manage_ocp()
968 else if (chip->card_exist & MS_CARD) in rtsx_manage_ocp()
970 else if (chip->card_exist & XD_CARD) in rtsx_manage_ocp()
986 if (chip->card_exist & SD_CARD) { in rtsx_manage_sd_lock()
1096 if (sd_oc && (chip->card_exist & SD_CARD)) { in rtsx_manage_2lun_mode()
1102 if (ms_oc && (chip->card_exist & MS_CARD)) { in rtsx_manage_2lun_mode()
1119 if (chip->card_exist & SD_CARD) { in rtsx_manage_1lun_mode()
1122 } else if (chip->card_exist & MS_CARD) { in rtsx_manage_1lun_mode()
[all …]
Drtsx_scsi.c2427 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()
Drtsx_chip.h731 u8 card_exist; /* card exist bit map (physical exist) */ member
/drivers/mmc/host/
Drtsx_usb_sdmmc.c46 bool card_exist; member
802 host->card_exist = true; in sdmmc_get_cd()
807 host->card_exist = false; in sdmmc_get_cd()
826 if ((!host->card_exist)) { in sdmmc_request()