Home
last modified time | relevance | path

Searched refs:SD_CARD (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/drivers/staging/rts5208/
Drtsx_card.c31 if (chip->card_ready & SD_CARD) { 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()
164 chip->card_ready |= SD_CARD; in do_reset_sd_card()
165 chip->card_fail &= ~SD_CARD; in do_reset_sd_card()
166 chip->rw_card[chip->card2lun[SD_CARD]] = sd_rw; in do_reset_sd_card()
175 chip->card_ready &= ~SD_CARD; in do_reset_sd_card()
176 chip->card_fail |= SD_CARD; in do_reset_sd_card()
[all …]
Dsd.c165 retval = rtsx_send_cmd(chip, SD_CARD, timeout);
308 retval = rtsx_send_cmd(chip, SD_CARD, timeout);
380 retval = rtsx_send_cmd(chip, SD_CARD, timeout);
402 if (detect_card_cd(chip, SD_CARD) != STATUS_SUCCESS) {
489 chip->card_wp |= SD_CARD;
894 retval = rtsx_send_cmd(chip, SD_CARD, 100);
1198 if (detect_card_cd(chip, SD_CARD) != STATUS_SUCCESS) {
1756 if (detect_card_cd(chip, SD_CARD) != STATUS_SUCCESS) {
1800 if (detect_card_cd(chip, SD_CARD) != STATUS_SUCCESS) {
1866 if (detect_card_cd(chip, SD_CARD) != STATUS_SUCCESS) {
[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()
860 chip->card2lun[SD_CARD] = 0; in rtsx_init_chip()
863 chip->lun2card[0] = SD_CARD; in rtsx_init_chip()
868 chip->card2lun[SD_CARD] = 0; in rtsx_init_chip()
871 chip->lun2card[0] = SD_CARD | MS_CARD; in rtsx_init_chip()
[all …]
Drtsx_transport.c231 if (card == SD_CARD) in rtsx_send_cmd()
337 if (card == SD_CARD) in rtsx_transfer_sglist_adma_partial()
500 if (card == SD_CARD) in rtsx_transfer_sglist_adma()
650 if (card == SD_CARD) in rtsx_transfer_buf()
732 chip->need_reinit = SD_CARD | MS_CARD | XD_CARD; in rtsx_transfer_data_partial()
761 chip->need_reinit = SD_CARD | MS_CARD | XD_CARD; in rtsx_transfer_data()
Drtsx_scsi.c427 if (get_lun_card(chip, SCSI_LUN(srb)) == SD_CARD) { in test_unit_ready()
487 if (chip->lun2card[lun] == SD_CARD) in inquiry()
872 if (get_lun_card(chip, lun) == SD_CARD) { in read_write()
1304 if (get_lun_card(chip, lun) != SD_CARD) { in get_sd_csd()
1408 case SD_CARD: in set_variable()
1470 case SD_CARD: in get_variable()
1587 if (card == SD_CARD) { in get_dev_status()
1638 if (card == SD_CARD) { in get_dev_status()
2422 if (chip->lun2card[lun] == SD_CARD) in read_status()
2430 else if (chip->card_exist & SD_CARD) in read_status()
[all …]
Drtsx_card.h1023 if ((get_lun_card(chip, lun) == SD_CARD) && in get_card_size()
Drtsx_chip.h314 #define SD_CARD BIT(SD_NR) macro
/linux-5.19.10/Documentation/devicetree/bindings/pinctrl/
Dsunplus,sp7021-pinctrl.yaml142 enum: [ SPI_FLASH, SPI_FLASH_4BIT, SPI_NAND, CARD0_EMMC, SD_CARD,
151 SPI_NAND, CARD0_EMMC, SD_CARD, UA0, FPGA_IFX, HDMI_TX1,
211 - SD_CARD
216 - SD_CARD
337 function = "SD_CARD";
338 groups = "SD_CARD";