Searched refs:SD_CARD (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/staging/rts5208/ |
D | rtsx_card.c | 31 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 …]
|
D | sd.c | 165 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 …]
|
D | rtsx_chip.c | 43 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 …]
|
D | rtsx_transport.c | 233 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()
|
D | rtsx_scsi.c | 427 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 …]
|
D | rtsx_card.h | 1023 if ((get_lun_card(chip, lun) == SD_CARD) && in get_card_size()
|
D | rtsx_chip.h | 314 #define SD_CARD BIT(SD_NR) macro
|