Searched refs:sd_card (Results 1 – 9 of 9) sorted by relevance
395 #define CHK_SD(sd_card) (((sd_card)->sd_type & 0xFF) == TYPE_SD) argument396 #define CHK_SD_HS(sd_card) (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_HS)) argument397 #define CHK_SD_SDR50(sd_card) (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_SDR50)) argument398 #define CHK_SD_DDR50(sd_card) (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_DDR50)) argument399 #define CHK_SD_SDR104(sd_card) (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_SDR104)) argument400 #define CHK_SD_HCXC(sd_card) (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_HCXC)) argument401 #define CHK_SD_HC(sd_card) (CHK_SD_HCXC(sd_card) && ((sd_card)->capacity <= 0x4000000)) argument402 #define CHK_SD_XC(sd_card) (CHK_SD_HCXC(sd_card) && ((sd_card)->capacity > 0x4000000)) argument403 #define CHK_SD30_SPEED(sd_card) (CHK_SD_SDR50(sd_card) || CHK_SD_DDR50(sd_card) || CHK_SD_SDR104(s… argument405 #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()857 struct sd_info *sd_card = &(chip->sd_card); in read_write() local885 if (sd_card->sd_erase_status) { in read_write()896 if (sd_card->sd_lock_status & SD_LOCKED) { in read_write()1349 struct sd_info *sd_card = &(chip->sd_card); in get_sd_csd() local1365 rtsx_stor_set_xfer_buf(sd_card->raw_csd, scsi_bufflen(srb), srb); in get_sd_csd()1526 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()
923 struct sd_info *sd_card = &chip->sd_card; in rtsx_init_chip() local939 memset(sd_card, 0, sizeof(struct sd_info)); in rtsx_init_chip()1161 struct sd_info *sd_card = &chip->sd_card; in rtsx_manage_sd_lock() local1164 if (!sd_card->sd_erase_status) in rtsx_manage_sd_lock()1170 sd_card->sd_erase_status = SD_NOT_ERASE; in rtsx_manage_sd_lock()1171 sd_card->sd_lock_notify = 1; in rtsx_manage_sd_lock()1175 sd_card->sd_erase_status = SD_NOT_ERASE; in rtsx_manage_sd_lock()
1033 struct sd_info *sd_card = &(chip->sd_card); in get_card_size() local1036 (sd_card->sd_lock_status & SD_LOCKED)) in get_card_size()
522 struct sd_info *sd_card = &(chip->sd_card); in rtsx_polling_thread() local526 sd_card->cleanup_counter = 0; in rtsx_polling_thread()
807 FUNCTION(sd_card),
1632 FUNCTION(sd_card),