Searched refs:sd_card (Results 1 – 7 of 7) 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 …]
62 struct sd_info *sd_card = &(chip->sd_card); in sd_set_err_code() local64 sd_card->err_code |= err_code; in sd_set_err_code()69 struct sd_info *sd_card = &(chip->sd_card); in sd_clr_err_code() local71 sd_card->err_code = 0; in sd_clr_err_code()76 struct sd_info *sd_card = &(chip->sd_card); in sd_check_err_code() local78 return sd_card->err_code & err_code; in sd_check_err_code()126 struct sd_info *sd_card = &(chip->sd_card); in sd_send_cmd_get_rsp() local259 sd_card->sd_data_buf_ready = 1; in sd_send_cmd_get_rsp()261 sd_card->sd_data_buf_ready = 0; in sd_send_cmd_get_rsp()276 struct sd_info *sd_card = &(chip->sd_card); in sd_read_data() local[all …]
442 struct sd_info *sd_card = &(chip->sd_card); in test_unit_ready() local444 if (sd_card->sd_lock_notify) { in test_unit_ready()445 sd_card->sd_lock_notify = 0; in test_unit_ready()448 } else if (sd_card->sd_lock_status & SD_LOCKED) { in test_unit_ready()856 struct sd_info *sd_card = &(chip->sd_card); in read_write() local883 if (sd_card->sd_erase_status) { in read_write()893 if (sd_card->sd_lock_status & SD_LOCKED) { in read_write()1313 struct sd_info *sd_card = &(chip->sd_card); in get_sd_csd() local1327 rtsx_stor_set_xfer_buf(sd_card->raw_csd, scsi_bufflen(srb), srb); in get_sd_csd()1485 struct sd_info *sd_card = &(chip->sd_card); in set_variable() local[all …]
43 struct sd_info *sd_card = &(chip->sd_card); in do_remaining_work() local50 if (sd_card->seq_mode) { in do_remaining_work()52 sd_card->cleanup_counter++; in do_remaining_work()54 sd_card->cleanup_counter = 0; in do_remaining_work()89 if (sd_card->cleanup_counter > POLLING_WAIT_CNT) in do_remaining_work()
663 struct sd_info *sd_card = &(chip->sd_card); in rtsx_init_chip() local679 memset(sd_card, 0, sizeof(struct sd_info)); in rtsx_init_chip()870 struct sd_info *sd_card = &(chip->sd_card); in rtsx_polling_func() local905 if (sd_card->sd_erase_status) { in rtsx_polling_func()911 sd_card->sd_erase_status = SD_NOT_ERASE; in rtsx_polling_func()912 sd_card->sd_lock_notify = 1; in rtsx_polling_func()916 sd_card->sd_erase_status = SD_NOT_ERASE; in rtsx_polling_func()
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()
532 struct sd_info *sd_card = &(chip->sd_card); in rtsx_polling_thread() local536 sd_card->cleanup_counter = 0; in rtsx_polling_thread()