Home
last modified time | relevance | path

Searched full:sd_card (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/drivers/staging/rts5208/
Drtsx_chip.h314 #define SD_CARD BIT(SD_NR) macro
388 #define CHK_SD(sd_card) (((sd_card)->sd_type & 0xFF) == TYPE_SD) argument
389 #define CHK_SD_HS(sd_card) (CHK_SD(sd_card) && \ argument
390 ((sd_card)->sd_type & SD_HS))
391 #define CHK_SD_SDR50(sd_card) (CHK_SD(sd_card) && \ argument
392 ((sd_card)->sd_type & SD_SDR50))
393 #define CHK_SD_DDR50(sd_card) (CHK_SD(sd_card) && \ argument
394 ((sd_card)->sd_type & SD_DDR50))
395 #define CHK_SD_SDR104(sd_card) (CHK_SD(sd_card) && \ argument
396 ((sd_card)->sd_type & SD_SDR104))
[all …]
Dsd.c48 struct sd_info *sd_card = &chip->sd_card; in sd_set_err_code() local
50 sd_card->err_code |= err_code; in sd_set_err_code()
55 struct sd_info *sd_card = &chip->sd_card; in sd_clr_err_code() local
57 sd_card->err_code = 0; in sd_clr_err_code()
62 struct sd_info *sd_card = &chip->sd_card; in sd_check_err_code() local
64 return sd_card->err_code & err_code; in sd_check_err_code()
115 struct sd_info *sd_card = &chip->sd_card; local
165 retval = rtsx_send_cmd(chip, SD_CARD, timeout);
248 sd_card->sd_data_buf_ready = 1;
250 sd_card->sd_data_buf_ready = 0;
[all …]
Drtsx_card.c25 struct sd_info *sd_card = &chip->sd_card; in do_remaining_work() local
31 if (chip->card_ready & SD_CARD) { in do_remaining_work()
32 if (sd_card->seq_mode) { in do_remaining_work()
34 sd_card->cleanup_counter++; in do_remaining_work()
36 sd_card->cleanup_counter = 0; in do_remaining_work()
71 if (sd_card->cleanup_counter > POLLING_WAIT_CNT) in do_remaining_work()
143 chip->sd_reset_counter, chip->card2lun[SD_CARD]); in do_reset_sd_card()
145 if (chip->card2lun[SD_CARD] >= MAX_ALLOWED_LUN_CNT) { in do_reset_sd_card()
152 chip->rw_fail_cnt[chip->card2lun[SD_CARD]] = 0; in do_reset_sd_card()
158 if (chip->need_release & SD_CARD) in do_reset_sd_card()
[all …]
Drtsx_scsi.c427 if (get_lun_card(chip, SCSI_LUN(srb)) == SD_CARD) { in test_unit_ready()
428 struct sd_info *sd_card = &chip->sd_card; in test_unit_ready() local
430 if (sd_card->sd_lock_notify) { in test_unit_ready()
431 sd_card->sd_lock_notify = 0; in test_unit_ready()
434 } else if (sd_card->sd_lock_status & SD_LOCKED) { in test_unit_ready()
487 if (chip->lun2card[lun] == SD_CARD) in inquiry()
836 struct sd_info *sd_card = &chip->sd_card; in read_write() local
863 if (sd_card->sd_erase_status) { in read_write()
872 if (get_lun_card(chip, lun) == SD_CARD) { in read_write()
873 if (sd_card->sd_lock_status & SD_LOCKED) { in read_write()
[all …]
Drtsx_chip.c43 if (chip->lun2card[i] & SD_CARD) in rtsx_enable_card_int()
70 if (chip->lun2card[i] & SD_CARD) in rtsx_enable_bus_int()
135 chip->need_reset |= SD_CARD; in rtsx_pre_handle_sdio_old()
200 chip->need_reset |= SD_CARD; in rtsx_pre_handle_sdio_new()
216 retval = card_share_mode(chip, SD_CARD); in rtsx_pre_handle_sdio_new()
241 chip->need_reset |= SD_CARD; in rtsx_pre_handle_sdio_new()
756 struct sd_info *sd_card = &chip->sd_card; in rtsx_init_chip() local
768 memset(sd_card, 0, sizeof(struct sd_info)); in rtsx_init_chip()
860 chip->card2lun[SD_CARD] = 0; in rtsx_init_chip()
863 chip->lun2card[0] = SD_CARD; in rtsx_init_chip()
[all …]
Drtsx_transport.c233 if (card == SD_CARD) in rtsx_send_cmd()
339 if (card == SD_CARD) in rtsx_transfer_sglist_adma_partial()
502 if (card == SD_CARD) in rtsx_transfer_sglist_adma()
652 if (card == SD_CARD) in rtsx_transfer_buf()
734 chip->need_reinit = SD_CARD | MS_CARD | XD_CARD; in rtsx_transfer_data_partial()
763 chip->need_reinit = SD_CARD | MS_CARD | XD_CARD; in rtsx_transfer_data()
Drtsx_card.h1021 struct sd_info *sd_card = &chip->sd_card; in get_card_size() local
1023 if ((get_lun_card(chip, lun) == SD_CARD) && in get_card_size()
1024 (sd_card->sd_lock_status & SD_LOCKED)) in get_card_size()
Drtsx.c467 struct sd_info *sd_card = &chip->sd_card; in rtsx_polling_thread() local
471 sd_card->cleanup_counter = 0; in rtsx_polling_thread()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/
Dqcom,ipq6018-pinctrl.yaml95 qdss_tracedata_a, qdss_tracedata_b, reset_n, sd_card, sd_write,
Dqcom,ipq8074-pinctrl.txt115 qpic, rx0, rx1, rx2, sd_card, sd_write, tsens_max, wci2a,
Dqcom,msm8998-pinctrl.txt132 qlink_request, qua_mi2s, sd_card, sd_write, sdc40, sdc41,
Dqcom,msm8916-pinctrl.txt126 qdss_tracedata_b, reset_n, sd_card, sd_write, sec_mi2s, smb_int,
Dqcom,msm8996-pinctrl.txt141 sd_card, tsif2_data, sdc41, tsif2_sync, sdc40, mdp_vsync_p_b,
/kernel/linux/linux-5.10/drivers/pinctrl/qcom/
Dpinctrl-ipq8074.c906 FUNCTION(sd_card),
1017 PINGROUP(63, sd_card, pwm0, NA, gcc_plltest, NA, NA, NA, NA, NA),
Dpinctrl-ipq6018.c968 FUNCTION(sd_card),
1045 PINGROUP(62, sd_card, _, _, _, _, _, _, _, _),
Dpinctrl-msm8916.c799 FUNCTION(sd_card),
Dpinctrl-msm8998.c1308 FUNCTION(sd_card),
Dpinctrl-msm8996.c1624 FUNCTION(sd_card),