Home
last modified time | relevance | path

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

/drivers/staging/rts5208/
Drtsx_chip.h395 #define CHK_SD(sd_card) (((sd_card)->sd_type & 0xFF) == TYPE_SD) argument
396 #define CHK_SD_HS(sd_card) (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_HS)) argument
397 #define CHK_SD_SDR50(sd_card) (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_SDR50)) argument
398 #define CHK_SD_DDR50(sd_card) (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_DDR50)) argument
399 #define CHK_SD_SDR104(sd_card) (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_SDR104)) argument
400 #define CHK_SD_HCXC(sd_card) (CHK_SD(sd_card) && ((sd_card)->sd_type & SD_HCXC)) argument
401 #define CHK_SD_HC(sd_card) (CHK_SD_HCXC(sd_card) && ((sd_card)->capacity <= 0x4000000)) argument
402 #define CHK_SD_XC(sd_card) (CHK_SD_HCXC(sd_card) && ((sd_card)->capacity > 0x4000000)) argument
403 #define CHK_SD30_SPEED(sd_card) (CHK_SD_SDR50(sd_card) || CHK_SD_DDR50(sd_card) || CHK_SD_SDR104(s… argument
405 #define SET_SD(sd_card) ((sd_card)->sd_type = TYPE_SD) argument
[all …]
Dsd.c59 struct sd_info *sd_card = &(chip->sd_card); in sd_set_err_code() local
61 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() local
68 sd_card->err_code = 0; in sd_clr_err_code()
73 struct sd_info *sd_card = &(chip->sd_card); in sd_check_err_code() local
75 return sd_card->err_code & err_code; in sd_check_err_code()
129 struct sd_info *sd_card = &(chip->sd_card); local
271 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 …]
Drtsx_scsi.c439 struct sd_info *sd_card = &(chip->sd_card); in test_unit_ready() local
441 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() local
885 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() local
1365 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 …]
Drtsx_card.c36 struct sd_info *sd_card = &(chip->sd_card); in do_remaining_work() local
43 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()
Drtsx_chip.c923 struct sd_info *sd_card = &chip->sd_card; in rtsx_init_chip() local
939 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() local
1164 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()
Drtsx_card.h1033 struct sd_info *sd_card = &(chip->sd_card); in get_card_size() local
1036 (sd_card->sd_lock_status & SD_LOCKED)) in get_card_size()
Drtsx.c522 struct sd_info *sd_card = &(chip->sd_card); in rtsx_polling_thread() local
526 sd_card->cleanup_counter = 0; in rtsx_polling_thread()
/drivers/pinctrl/qcom/
Dpinctrl-msm8916.c807 FUNCTION(sd_card),
Dpinctrl-msm8996.c1632 FUNCTION(sd_card),