/linux-3.4.99/drivers/staging/rts_pstor/ |
D | rtsx_card.c | 49 if (chip->card_ready & SD_CARD) { in do_remaining_work() 158 chip->sd_reset_counter, chip->card2lun[SD_CARD]); in do_reset_sd_card() 160 if (chip->card2lun[SD_CARD] >= MAX_ALLOWED_LUN_CNT) { in do_reset_sd_card() 167 chip->rw_fail_cnt[chip->card2lun[SD_CARD]] = 0; in do_reset_sd_card() 173 if (chip->need_release & SD_CARD) in do_reset_sd_card() 179 chip->card_ready |= SD_CARD; in do_reset_sd_card() 180 chip->card_fail &= ~SD_CARD; in do_reset_sd_card() 181 chip->rw_card[chip->card2lun[SD_CARD]] = sd_rw; in do_reset_sd_card() 190 chip->card_ready &= ~SD_CARD; in do_reset_sd_card() 191 chip->card_fail |= SD_CARD; in do_reset_sd_card() [all …]
|
D | sd.c | 204 retval = rtsx_send_cmd(chip, SD_CARD, timeout); in sd_send_cmd_get_rsp() 354 retval = rtsx_send_cmd(chip, SD_CARD, timeout); in sd_read_data() 422 retval = rtsx_send_cmd(chip, SD_CARD, timeout); in sd_write_data() 444 if (detect_card_cd(chip, SD_CARD) != STATUS_SUCCESS) { in sd_check_csd() 532 chip->card_wp |= SD_CARD; in sd_check_csd() 935 retval = rtsx_send_cmd(chip, SD_CARD, 100); in sd_change_phase() 1216 if (detect_card_cd(chip, SD_CARD) != STATUS_SUCCESS) { in sd_check_switch() 1752 if (detect_card_cd(chip, SD_CARD) != STATUS_SUCCESS) { in sd_tuning_rx() 1795 if (detect_card_cd(chip, SD_CARD) != STATUS_SUCCESS) { in sd_ddr_pre_tuning_tx() 1859 if (detect_card_cd(chip, SD_CARD) != STATUS_SUCCESS) { in sd_tuning_tx() [all …]
|
D | rtsx_chip.c | 69 if (chip->lun2card[i] & SD_CARD) in rtsx_enable_card_int() 95 if (chip->lun2card[i] & SD_CARD) in rtsx_enable_bus_int() 150 chip->need_reset |= SD_CARD; in rtsx_pre_handle_sdio_old() 205 chip->need_reset |= SD_CARD; in rtsx_pre_handle_sdio_new() 217 retval = card_share_mode(chip, SD_CARD); in rtsx_pre_handle_sdio_new() 240 chip->need_reset |= SD_CARD; in rtsx_pre_handle_sdio_new() 1049 chip->card2lun[SD_CARD] = 0; in rtsx_init_chip() 1052 chip->lun2card[0] = SD_CARD; in rtsx_init_chip() 1057 chip->card2lun[SD_CARD] = 0; in rtsx_init_chip() 1060 chip->lun2card[0] = SD_CARD | MS_CARD; in rtsx_init_chip() [all …]
|
D | rtsx_transport.c | 247 if (card == SD_CARD) { in rtsx_send_cmd() 352 if (card == SD_CARD) { in rtsx_transfer_sglist_adma_partial() 512 if (card == SD_CARD) { in rtsx_transfer_sglist_adma() 662 if (card == SD_CARD) { in rtsx_transfer_buf() 742 chip->need_reinit = SD_CARD | MS_CARD | XD_CARD; in rtsx_transfer_data_partial() 772 chip->need_reinit = SD_CARD | MS_CARD | XD_CARD; in rtsx_transfer_data()
|
D | rtsx_scsi.c | 262 if (get_lun_card(chip, SCSI_LUN(srb)) == SD_CARD) { in test_unit_ready() 320 if (chip->lun2card[lun] == SD_CARD) { in inquiry() 718 if (get_lun_card(chip, lun) == SD_CARD) { in read_write() 1155 if (get_lun_card(chip, lun) != SD_CARD) { in get_sd_csd() 1326 case SD_CARD: in set_variable() 1385 case SD_CARD: in get_variable() 1500 if (card == SD_CARD) { in get_dev_status() 1557 if (card == SD_CARD) { in get_dev_status() 2331 if (chip->lun2card[lun] == SD_CARD) { in read_status() 2340 } else if (chip->card_exist & SD_CARD) { in read_status() [all …]
|
D | rtsx_card.h | 1038 if ((get_lun_card(chip, lun) == SD_CARD) && (sd_card->sd_lock_status & SD_LOCKED)) in get_card_size()
|
D | rtsx_chip.h | 320 #define SD_CARD (1 << SD_NR) macro
|
D | xd.c | 414 retval = rtsx_transfer_data(chip, SD_CARD, buf, 512, 0, DMA_TO_DEVICE, 100); in xd_clear_dma_buffer()
|
/linux-3.4.99/drivers/staging/rts5139/ |
D | rts51x_card.c | 51 if (chip->card_ready & SD_CARD) { in do_remaining_work() 128 if (chip->card2lun[SD_CARD] >= MAX_ALLOWED_LUN_CNT) in do_reset_sd_card() 133 chip->card_ready |= SD_CARD; in do_reset_sd_card() 134 chip->card_fail &= ~SD_CARD; in do_reset_sd_card() 135 chip->rw_card[chip->card2lun[SD_CARD]] = sd_rw; in do_reset_sd_card() 137 chip->card_ready &= ~SD_CARD; in do_reset_sd_card() 138 chip->card_fail |= SD_CARD; in do_reset_sd_card() 139 chip->capacity[chip->card2lun[SD_CARD]] = 0; in do_reset_sd_card() 140 chip->rw_card[chip->card2lun[SD_CARD]] = NULL; in do_reset_sd_card() 206 } else if (chip->card_exist & SD_CARD) { in card_cd_debounce() [all …]
|
D | rts51x_chip.c | 144 card_power_on(chip, SD_CARD | MS_CARD | XD_CARD); in rts51x_reset_chip() 162 chip->card2lun[SD_CARD] = 0; in rts51x_init_chip() 166 chip->lun2card[0] = XD_CARD | SD_CARD | MS_CARD; in rts51x_init_chip() 386 if (chip->card_exist & SD_CARD) { in rts51x_polling_func() 398 chip->card_ready &= ~SD_CARD; in rts51x_polling_func() 399 chip->card_exist &= ~SD_CARD; in rts51x_polling_func() 400 chip->rw_card[chip->card2lun[SD_CARD]] = NULL; in rts51x_polling_func() 401 clear_bit(chip->card2lun[SD_CARD], in rts51x_polling_func() 419 if (chip->card_exist & SD_CARD) in rts51x_polling_func() 441 (SD_CARD | MS_CARD | XD_CARD)) in rts51x_polling_func() [all …]
|
D | rts51x_fop.c | 74 retval = ext_sd_execute_no_data(chip, chip->card2lun[SD_CARD], in rts51x_sd_direct_cmnd() 87 retval = ext_sd_execute_read_data(chip, chip->card2lun[SD_CARD], in rts51x_sd_direct_cmnd() 121 ext_sd_execute_write_data(chip, chip->card2lun[SD_CARD], in rts51x_sd_direct_cmnd()
|
D | sd.c | 453 if (monitor_card_cd(chip, SD_CARD) == CD_NOT_EXIST) { 549 chip->card_wp |= SD_CARD; 1121 if (monitor_card_cd(chip, SD_CARD) == CD_NOT_EXIST) { 1593 if (monitor_card_cd(chip, SD_CARD) == CD_NOT_EXIST) { 1637 if (monitor_card_cd(chip, SD_CARD) == CD_NOT_EXIST) { 1691 if (monitor_card_cd(chip, SD_CARD) == CD_NOT_EXIST) { 1800 retval = rts51x_select_card(chip, SD_CARD); 1858 retval = rts51x_select_card(chip, SD_CARD); 1960 retval = card_power_on(chip, SD_CARD); 2099 if (monitor_card_cd(chip, SD_CARD) == CD_NOT_EXIST) { [all …]
|
D | sd_cprm.c | 367 if (!(chip->card_ready & SD_CARD)) 586 if (!(chip->card_ready & SD_CARD)) 923 if (!(chip->card_ready & SD_CARD)) 987 if (chip->card_wp & SD_CARD)
|
D | rts51x_scsi.c | 452 if (get_lun_card(chip, SCSI_LUN(srb)) == SD_CARD) { in test_unit_ready() 831 if (get_lun_card(chip, lun) == SD_CARD) { in read_write() 1145 if (get_lun_card(chip, lun) != SD_CARD) { in get_sd_csd() 1244 if ((card == SD_CARD) || (card == MS_CARD)) { in get_card_bus_width() 1640 if ((get_lun_card(chip, lun) != SD_CARD)) { in sd_extention_cmnd()
|
D | rts51x_chip.h | 73 #define SD_CARD (1 << SD_NR) macro
|