Home
last modified time | relevance | path

Searched refs:XD_CARD (Results 1 – 6 of 6) sorted by relevance

/drivers/staging/rts5208/
Drtsx_card.c52 if (chip->card_ready & XD_CARD) { in do_remaining_work()
208 chip->xd_reset_counter, chip->card2lun[XD_CARD]); in do_reset_xd_card()
210 if (chip->card2lun[XD_CARD] >= MAX_ALLOWED_LUN_CNT) { in do_reset_xd_card()
217 chip->rw_fail_cnt[chip->card2lun[XD_CARD]] = 0; in do_reset_xd_card()
223 if (chip->need_release & XD_CARD) in do_reset_xd_card()
228 chip->card_ready |= XD_CARD; in do_reset_xd_card()
229 chip->card_fail &= ~XD_CARD; in do_reset_xd_card()
230 chip->rw_card[chip->card2lun[XD_CARD]] = xd_rw; in do_reset_xd_card()
239 chip->card_ready &= ~XD_CARD; in do_reset_xd_card()
240 chip->card_fail |= XD_CARD; in do_reset_xd_card()
[all …]
Dxd.c76 retval = select_card(chip, XD_CARD); in xd_switch_clock()
107 retval = rtsx_send_cmd(chip, XD_CARD, 20); in xd_read_id()
177 retval = rtsx_send_cmd(chip, XD_CARD, 500); in xd_read_redundant()
248 retval = rtsx_send_cmd(chip, XD_CARD, 250); in xd_read_cis()
493 retval = select_card(chip, XD_CARD); in reset_xd()
519 retval = rtsx_send_cmd(chip, XD_CARD, 100); in reset_xd()
526 retval = card_power_off(chip, XD_CARD); in reset_xd()
544 retval = rtsx_send_cmd(chip, XD_CARD, 100); in reset_xd()
550 retval = card_power_on(chip, XD_CARD); in reset_xd()
582 retval = rtsx_send_cmd(chip, XD_CARD, 100); in reset_xd()
[all …]
Drtsx_transport.c246 else if (card == XD_CARD) in rtsx_send_cmd()
351 else if (card == XD_CARD) in rtsx_transfer_sglist_adma_partial()
513 else if (card == XD_CARD) in rtsx_transfer_sglist_adma()
663 else if (card == XD_CARD) in rtsx_transfer_buf()
738 chip->need_reinit = SD_CARD | MS_CARD | XD_CARD; in rtsx_transfer_data_partial()
768 chip->need_reinit = SD_CARD | MS_CARD | XD_CARD; in rtsx_transfer_data()
Drtsx_chip.c60 if (chip->lun2card[i] & XD_CARD) in rtsx_enable_card_int()
87 if (chip->lun2card[i] & XD_CARD) in rtsx_enable_bus_int()
648 chip->need_reset |= XD_CARD; in rtsx_reset_chip()
1049 chip->card2lun[XD_CARD] = 0xFF; in rtsx_init_chip()
1057 chip->card2lun[XD_CARD] = 0xFF; in rtsx_init_chip()
1061 chip->card2lun[XD_CARD] = 0; in rtsx_init_chip()
1064 chip->lun2card[0] = XD_CARD | SD_CARD | MS_CARD; in rtsx_init_chip()
1159 else if (chip->card_exist & XD_CARD) in rtsx_manage_ocp()
1314 } else if (chip->card_exist & XD_CARD) { in rtsx_manage_1lun_mode()
1316 chip->card_fail |= XD_CARD; in rtsx_manage_1lun_mode()
[all …]
Drtsx_scsi.c1533 case XD_CARD: in set_variable()
1598 case XD_CARD: in get_variable()
2634 if (chip->card_exist & XD_CARD) in read_status()
2671 rtsx_status[11] = XD_CARD | SD_CARD | MS_CARD; in read_status()
2679 if (get_lun_card(chip, lun) == XD_CARD) { in read_status()
Drtsx_chip.h327 #define XD_CARD (1 << XD_NR) macro