Searched refs:MS_CARD (Results 1 – 11 of 11) sorted by relevance
/drivers/staging/rts_pstor/ |
D | rtsx_card.c | 69 if (chip->card_ready & MS_CARD) { in do_remaining_work() 260 chip->ms_reset_counter, chip->card2lun[MS_CARD]); in do_reset_ms_card() 262 if (chip->card2lun[MS_CARD] >= MAX_ALLOWED_LUN_CNT) { in do_reset_ms_card() 269 chip->rw_fail_cnt[chip->card2lun[MS_CARD]] = 0; in do_reset_ms_card() 275 if (chip->need_release & MS_CARD) in do_reset_ms_card() 280 chip->card_ready |= MS_CARD; in do_reset_ms_card() 281 chip->card_fail &= ~MS_CARD; in do_reset_ms_card() 282 chip->rw_card[chip->card2lun[MS_CARD]] = ms_rw; in do_reset_ms_card() 291 chip->card_ready &= ~MS_CARD; in do_reset_ms_card() 292 chip->card_fail |= MS_CARD; in do_reset_ms_card() [all …]
|
D | ms.c | 73 retval = rtsx_send_cmd(chip, MS_CARD, 5000); in ms_transfer_tpc() 150 retval = rtsx_transfer_data(chip, MS_CARD, buf, buf_len, in ms_transfer_data() 200 retval = rtsx_send_cmd(chip, MS_CARD, 5000); in ms_write_bytes() 264 retval = rtsx_send_cmd(chip, MS_CARD, 5000); in ms_read_bytes() 370 retval = select_card(chip, MS_CARD); in ms_set_init_para() 383 retval = select_card(chip, MS_CARD); in ms_switch_clock() 463 retval = rtsx_send_cmd(chip, MS_CARD, 100); in ms_pull_ctl_enable() 492 retval = enable_card_clock(chip, MS_CARD); in ms_prepare_reset() 507 retval = card_power_on(chip, MS_CARD); in ms_prepare_reset() 591 chip->card_wp |= MS_CARD; in ms_identify_media_type() [all …]
|
D | rtsx_chip.c | 71 if (chip->lun2card[i] & MS_CARD) in rtsx_enable_card_int() 97 if (chip->lun2card[i] & MS_CARD) in rtsx_enable_bus_int() 574 chip->need_reset |= MS_CARD; in rtsx_reset_chip() 1050 chip->card2lun[MS_CARD] = 1; in rtsx_init_chip() 1053 chip->lun2card[1] = MS_CARD; in rtsx_init_chip() 1058 chip->card2lun[MS_CARD] = 0; in rtsx_init_chip() 1060 chip->lun2card[0] = SD_CARD | MS_CARD; in rtsx_init_chip() 1065 chip->card2lun[MS_CARD] = 0; in rtsx_init_chip() 1066 chip->lun2card[0] = XD_CARD | SD_CARD | MS_CARD; in rtsx_init_chip() 1182 } else if (chip->card_exist & MS_CARD) { in rtsx_polling_func() [all …]
|
D | rtsx_scsi.c | 338 (chip->lun2card[lun] & MS_CARD)) in inquiry() 343 if (!card || (card == MS_CARD)) { in inquiry() 450 if ((get_lun_card(chip, lun) == MS_CARD) && ms_card->pro_under_formatting) { in request_sense() 600 if ((chip->lun2card[lun] & MS_CARD)) { in mode_sense() 601 if (!card || (card == MS_CARD)) { in mode_sense() 609 if (card == MS_CARD) { in mode_sense() 850 (chip->lun2card[lun] & MS_CARD) && in read_format_capacity() 851 (!card || (card == MS_CARD))) { in read_format_capacity() 1330 case MS_CARD: in set_variable() 1389 case MS_CARD: in get_variable() [all …]
|
D | rtsx_transport.c | 249 } else if (card == MS_CARD) { in rtsx_send_cmd() 354 } else if (card == MS_CARD) { in rtsx_transfer_sglist_adma_partial() 514 } else if (card == MS_CARD) { in rtsx_transfer_sglist_adma() 664 } else if (card == MS_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_chip.h | 321 #define MS_CARD (1 << MS_NR) macro
|
/drivers/staging/rts5139/ |
D | rts51x_card.c | 69 if (chip->card_ready & MS_CARD) { in do_remaining_work() 155 if (chip->card2lun[MS_CARD] >= MAX_ALLOWED_LUN_CNT) in do_reset_ms_card() 160 chip->card_ready |= MS_CARD; in do_reset_ms_card() 161 chip->card_fail &= ~MS_CARD; in do_reset_ms_card() 162 chip->rw_card[chip->card2lun[MS_CARD]] = ms_rw; in do_reset_ms_card() 164 chip->card_ready &= ~MS_CARD; in do_reset_ms_card() 165 chip->card_fail |= MS_CARD; in do_reset_ms_card() 166 chip->capacity[chip->card2lun[MS_CARD]] = 0; in do_reset_ms_card() 167 chip->rw_card[chip->card2lun[MS_CARD]] = NULL; in do_reset_ms_card() 210 } else if (chip->card_exist & MS_CARD) { in card_cd_debounce() [all …]
|
D | ms.c | 509 retval = rts51x_select_card(chip, MS_CARD); in ms_set_init_para() 521 retval = rts51x_select_card(chip, MS_CARD); in ms_switch_clock() 605 card_power_on(chip, MS_CARD); in ms_prepare_reset() 687 chip->card_wp |= MS_CARD; in ms_identify_media_type() 689 chip->card_wp &= ~MS_CARD; in ms_identify_media_type() 691 chip->card_wp |= MS_CARD; in ms_identify_media_type() 725 if (monitor_card_cd(chip, MS_CARD) == CD_NOT_EXIST) in ms_confirm_cpu_startup() 754 chip->card_wp |= (MS_CARD); in ms_confirm_cpu_startup() 839 if (monitor_card_cd(chip, MS_CARD) == CD_NOT_EXIST) in ms_pro_reset_flow() 1162 chip->card_wp |= MS_CARD; [all …]
|
D | rts51x_chip.c | 144 card_power_on(chip, SD_CARD | MS_CARD | XD_CARD); in rts51x_reset_chip() 163 chip->card2lun[MS_CARD] = 0; in rts51x_init_chip() 166 chip->lun2card[0] = XD_CARD | SD_CARD | MS_CARD; in rts51x_init_chip() 421 else if (chip->card_exist & MS_CARD) in rts51x_polling_func() 441 (SD_CARD | MS_CARD | XD_CARD)) in rts51x_polling_func() 1007 } else if (card == MS_CARD) { in rts51x_pp_status() 1080 else if (chip->card_exist & MS_CARD) in rts51x_read_status() 1105 rts51x_status[11] = XD_CARD | SD_CARD | MS_CARD; in rts51x_read_status() 1132 } else if (get_lun_card(chip, lun) == MS_CARD) { in rts51x_read_status()
|
D | rts51x_scsi.c | 504 if (MS_FORMATTER_ENABLED(chip) && (get_lun2card(chip, lun) & MS_CARD)) { in inquiry() 505 if (!card || (card == MS_CARD)) in inquiry() 703 if ((get_lun2card(chip, lun) & MS_CARD)) { in mode_sense() 704 if (!card || (card == MS_CARD)) { in mode_sense() 777 if ((get_lun_card(chip, lun) == MS_CARD) in request_sense() 936 (chip->lun2card[lun] & MS_CARD) && (!card || (card == MS_CARD))) { in read_format_capacity() 1244 if ((card == SD_CARD) || (card == MS_CARD)) { in get_card_bus_width() 1473 if (get_lun_card(chip, lun) != MS_CARD) { in ms_format_cmnd() 1490 if (!(chip->card_ready & MS_CARD)) { in ms_format_cmnd() 1495 if (chip->card_wp & MS_CARD) { in ms_format_cmnd() [all …]
|
D | rts51x_chip.h | 74 #define MS_CARD (1 << MS_NR) macro
|