Home
last modified time | relevance | path

Searched refs:sd_card (Results 1 – 7 of 7) sorted by relevance

/drivers/staging/rts5208/
Drtsx_chip.h400 #define CHK_SD(sd_card) (((sd_card)->sd_type & 0xFF) == TYPE_SD) argument
401 #define CHK_SD_HS(sd_card) (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_HS)) argument
402 #define CHK_SD_SDR50(sd_card) (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_SDR50)) argument
403 #define CHK_SD_DDR50(sd_card) (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_DDR50)) argument
404 #define CHK_SD_SDR104(sd_card) (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_SDR104)) argument
405 #define CHK_SD_HCXC(sd_card) (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_HCXC)) argument
406 #define CHK_SD_HC(sd_card) (CHK_SD_HCXC(sd_card) && ((sd_card)->capacity <= 0x4000000)) argument
407 #define CHK_SD_XC(sd_card) (CHK_SD_HCXC(sd_card) && ((sd_card)->capacity > 0x4000000)) argument
408 #define CHK_SD30_SPEED(sd_card) (CHK_SD_SDR50(sd_card) || CHK_SD_DDR50(sd_card) || CHK_SD_SDR104(s… argument
410 #define SET_SD(sd_card) ((sd_card)->sd_type = TYPE_SD) argument
[all …]
Dsd.c62 struct sd_info *sd_card = &(chip->sd_card); in sd_set_err_code() local
64 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() local
71 sd_card->err_code = 0; in sd_clr_err_code()
76 struct sd_info *sd_card = &(chip->sd_card); in sd_check_err_code() local
78 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() local
259 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 …]
Drtsx_scsi.c442 struct sd_info *sd_card = &(chip->sd_card); in test_unit_ready() local
444 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() local
883 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() local
1327 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 …]
Drtsx_card.c43 struct sd_info *sd_card = &(chip->sd_card); in do_remaining_work() local
50 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()
Drtsx_chip.c663 struct sd_info *sd_card = &(chip->sd_card); in rtsx_init_chip() local
679 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() local
905 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()
Drtsx_card.h1035 struct sd_info *sd_card = &(chip->sd_card); in get_card_size() local
1038 (sd_card->sd_lock_status & SD_LOCKED)) in get_card_size()
Drtsx.c532 struct sd_info *sd_card = &(chip->sd_card); in rtsx_polling_thread() local
536 sd_card->cleanup_counter = 0; in rtsx_polling_thread()