Home
last modified time | relevance | path

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

/drivers/staging/rts5139/
Dsd_cprm.c309 if ((sd_card->sd_lock_status & SD_LOCK_1BIT_MODE) == 0) {
403 if ((sd_card->sd_lock_status & SD_LOCK_1BIT_MODE) == 0) {
619 sd_lock_state = sd_card->sd_lock_status;
635 if ((sd_card->sd_lock_status & SD_LOCK_1BIT_MODE) == 0) {
874 sd_card->sd_lock_status &= ~SD_PWD_EXIST;
876 sd_card->sd_lock_status |= SD_PWD_EXIST;
881 sd_lock_state, sd_card->sd_lock_status);
882 if (sd_lock_state ^ (sd_card->sd_lock_status & SD_LOCKED)) {
885 if (sd_card->sd_lock_status &
887 sd_card->sd_lock_status |=
[all …]
Dsd.c726 sd_card->sd_lock_status |= SD_LOCKED;
728 sd_card->sd_lock_status &= ~SD_LOCKED;
731 sd_card->sd_lock_status);
1201 if ((sd_card->sd_lock_status & SD_SDR_RST)
2028 if (sd_card->sd_lock_status & SD_UNLOCK_POW_ON)
2200 if (sd_card->sd_lock_status & SD_LOCKED) {
2201 sd_card->sd_lock_status |= (SD_LOCK_1BIT_MODE | SD_PWD_EXIST);
2203 } else if (!(sd_card->sd_lock_status & SD_UNLOCK_POW_ON)) {
2204 sd_card->sd_lock_status &= ~SD_PWD_EXIST;
2299 sd_card->sd_lock_status &= ~SD_LOCK_1BIT_MODE;
[all …]
Drts51x_chip.c1026 if (sd_card->sd_lock_status & SD_LOCKED) { in rts51x_pp_status()
1030 if (sd_card->sd_lock_status & SD_PWD_EXIST) in rts51x_pp_status()
Drts51x_chip.h618 u8 sd_lock_status; member
Drts51x_scsi.c458 } else if (sd_card->sd_lock_status & SD_LOCKED) { in test_unit_ready()
832 if (sd_card->sd_lock_status & SD_LOCKED) { in read_write()
/drivers/staging/rts_pstor/
Dsd.c759 sd_card->sd_lock_status |= SD_LOCKED; in sd_update_lock_status()
761 sd_card->sd_lock_status &= ~SD_LOCKED; in sd_update_lock_status()
764 RTSX_DEBUGP("sd_card->sd_lock_status = 0x%x\n", sd_card->sd_lock_status); in sd_update_lock_status()
1310 if ((sd_card->sd_lock_status & SD_SDR_RST) in sd_switch_function()
2033 sd_card->sd_lock_status = 0; in sd_prepare_reset()
2306 if (sd_card->sd_lock_status & SD_UNLOCK_POW_ON) in reset_sd()
2482 if (sd_card->sd_lock_status & SD_LOCKED) { in reset_sd()
2483 sd_card->sd_lock_status |= (SD_LOCK_1BIT_MODE | SD_PWD_EXIST); in reset_sd()
2485 } else if (!(sd_card->sd_lock_status & SD_UNLOCK_POW_ON)) { in reset_sd()
2486 sd_card->sd_lock_status &= ~SD_PWD_EXIST; in reset_sd()
[all …]
Drtsx_card.h1038 if ((get_lun_card(chip, lun) == SD_CARD) && (sd_card->sd_lock_status & SD_LOCKED)) in get_card_size()
Drtsx_scsi.c268 } else if (sd_card->sd_lock_status & SD_LOCKED) { in test_unit_ready()
719 if (sd_card->sd_lock_status & SD_LOCKED) { in read_write()
1561 if (sd_card->sd_lock_status & SD_LOCKED) { in get_dev_status()
1565 if (sd_card->sd_lock_status & SD_PWD_EXIST) in get_dev_status()
Drtsx_chip.h495 u8 sd_lock_status; member