Searched refs:sd_card (Results 1 – 8 of 8) sorted by relevance
400 #define CHK_SD(sd_card) (((sd_card)->sd_type & 0xFF) == TYPE_SD) argument401 #define CHK_SD_HS(sd_card) (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_HS)) argument402 #define CHK_SD_SDR50(sd_card) (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_SDR50)) argument403 #define CHK_SD_DDR50(sd_card) (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_DDR50)) argument404 #define CHK_SD_SDR104(sd_card) (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_SDR104)) argument405 #define CHK_SD_HCXC(sd_card) (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_HCXC)) argument406 #define CHK_SD_HC(sd_card) (CHK_SD_HCXC(sd_card) && ((sd_card)->capacity <= 0x4000000)) argument407 #define CHK_SD_XC(sd_card) (CHK_SD_HCXC(sd_card) && ((sd_card)->capacity > 0x4000000)) argument408 #define CHK_SD30_SPEED(sd_card) (CHK_SD_SDR50(sd_card) || CHK_SD_DDR50(sd_card) || CHK_SD_SDR104(s… argument410 #define SET_SD(sd_card) ((sd_card)->sd_type = TYPE_SD) argument[all …]
59 struct sd_info *sd_card = &(chip->sd_card); in sd_set_err_code() local61 sd_card->err_code |= err_code; in sd_set_err_code()66 struct sd_info *sd_card = &(chip->sd_card); in sd_clr_err_code() local68 sd_card->err_code = 0; in sd_clr_err_code()73 struct sd_info *sd_card = &(chip->sd_card); in sd_check_err_code() local75 return sd_card->err_code & err_code; in sd_check_err_code()129 struct sd_info *sd_card = &(chip->sd_card); local271 sd_card->sd_data_buf_ready = 1;273 sd_card->sd_data_buf_ready = 0;288 struct sd_info *sd_card = &(chip->sd_card); local[all …]
439 struct sd_info *sd_card = &(chip->sd_card); in test_unit_ready() local441 if (sd_card->sd_lock_notify) { in test_unit_ready()442 sd_card->sd_lock_notify = 0; in test_unit_ready()445 } else if (sd_card->sd_lock_status & SD_LOCKED) { in test_unit_ready()860 struct sd_info *sd_card = &(chip->sd_card); in read_write() local888 if (sd_card->sd_erase_status) { in read_write()899 if (sd_card->sd_lock_status & SD_LOCKED) { in read_write()1352 struct sd_info *sd_card = &(chip->sd_card); in get_sd_csd() local1368 rtsx_stor_set_xfer_buf(sd_card->raw_csd, scsi_bufflen(srb), srb); in get_sd_csd()1529 struct sd_info *sd_card = &(chip->sd_card); in set_variable() local[all …]
36 struct sd_info *sd_card = &(chip->sd_card); in do_remaining_work() local43 if (sd_card->seq_mode) { in do_remaining_work()45 sd_card->cleanup_counter++; in do_remaining_work()47 sd_card->cleanup_counter = 0; in do_remaining_work()82 if (sd_card->cleanup_counter > POLLING_WAIT_CNT) in do_remaining_work()
931 struct sd_info *sd_card = &chip->sd_card; in rtsx_init_chip() local947 memset(sd_card, 0, sizeof(struct sd_info)); in rtsx_init_chip()1169 struct sd_info *sd_card = &chip->sd_card; in rtsx_manage_sd_lock() local1172 if (!sd_card->sd_erase_status) in rtsx_manage_sd_lock()1178 sd_card->sd_erase_status = SD_NOT_ERASE; in rtsx_manage_sd_lock()1179 sd_card->sd_lock_notify = 1; in rtsx_manage_sd_lock()1183 sd_card->sd_erase_status = SD_NOT_ERASE; in rtsx_manage_sd_lock()
1035 struct sd_info *sd_card = &(chip->sd_card); in get_card_size() local1038 (sd_card->sd_lock_status & SD_LOCKED)) in get_card_size()
525 struct sd_info *sd_card = &(chip->sd_card); in rtsx_polling_thread() local529 sd_card->cleanup_counter = 0; in rtsx_polling_thread()
807 FUNCTION(sd_card),