Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/rts5208/
Drtsx_card.c41 if (chip->card_ready & XD_CARD) { in do_remaining_work()
197 chip->xd_reset_counter, chip->card2lun[XD_CARD]); in do_reset_xd_card()
199 if (chip->card2lun[XD_CARD] >= MAX_ALLOWED_LUN_CNT) { in do_reset_xd_card()
206 chip->rw_fail_cnt[chip->card2lun[XD_CARD]] = 0; in do_reset_xd_card()
212 if (chip->need_release & XD_CARD) in do_reset_xd_card()
217 chip->card_ready |= XD_CARD; in do_reset_xd_card()
218 chip->card_fail &= ~XD_CARD; in do_reset_xd_card()
219 chip->rw_card[chip->card2lun[XD_CARD]] = xd_rw; 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()
[all …]
Dxd.c63 retval = select_card(chip, XD_CARD); in xd_switch_clock()
90 retval = rtsx_send_cmd(chip, XD_CARD, 20); in xd_read_id()
160 retval = rtsx_send_cmd(chip, XD_CARD, 500); in xd_read_redundant()
224 retval = rtsx_send_cmd(chip, XD_CARD, 250); in xd_read_cis()
445 retval = select_card(chip, XD_CARD); in reset_xd()
470 retval = rtsx_send_cmd(chip, XD_CARD, 100); in reset_xd()
475 retval = card_power_off(chip, XD_CARD); in reset_xd()
492 retval = rtsx_send_cmd(chip, XD_CARD, 100); in reset_xd()
496 retval = card_power_on(chip, XD_CARD); in reset_xd()
526 retval = rtsx_send_cmd(chip, XD_CARD, 100); in reset_xd()
[all …]
Drtsx_transport.c235 else if (card == XD_CARD) in rtsx_send_cmd()
341 else if (card == XD_CARD) in rtsx_transfer_sglist_adma_partial()
504 else if (card == XD_CARD) in rtsx_transfer_sglist_adma()
654 else if (card == XD_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_chip.c41 if (chip->lun2card[i] & XD_CARD) in rtsx_enable_card_int()
68 if (chip->lun2card[i] & XD_CARD) in rtsx_enable_bus_int()
522 chip->need_reset |= XD_CARD; in rtsx_reset_chip()
862 chip->card2lun[XD_CARD] = 0xFF; in rtsx_init_chip()
870 chip->card2lun[XD_CARD] = 0xFF; in rtsx_init_chip()
874 chip->card2lun[XD_CARD] = 0; in rtsx_init_chip()
877 chip->lun2card[0] = XD_CARD | SD_CARD | MS_CARD; in rtsx_init_chip()
971 else if (chip->card_exist & XD_CARD) in rtsx_manage_ocp()
1126 } else if (chip->card_exist & XD_CARD) { in rtsx_manage_1lun_mode()
1128 chip->card_fail |= XD_CARD; in rtsx_manage_1lun_mode()
[all …]
Drtsx_scsi.c1404 case XD_CARD: in set_variable()
1466 case XD_CARD: in get_variable()
2428 if (chip->card_exist & XD_CARD) in read_status()
2465 rtsx_status[11] = XD_CARD | SD_CARD | MS_CARD; in read_status()
2473 if (get_lun_card(chip, lun) == XD_CARD) { in read_status()
Drtsx_chip.h316 #define XD_CARD BIT(XD_NR) macro