Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/staging/rts5208/
Drtsx_card.c143 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()
166 chip->rw_card[chip->card2lun[SD_CARD]] = sd_rw; in do_reset_sd_card()
177 chip->capacity[chip->card2lun[SD_CARD]] = 0; in do_reset_sd_card()
178 chip->rw_card[chip->card2lun[SD_CARD]] = NULL; in do_reset_sd_card()
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()
219 chip->rw_card[chip->card2lun[XD_CARD]] = xd_rw; in do_reset_xd_card()
[all …]
Drtsx_chip.c860 chip->card2lun[SD_CARD] = 0; in rtsx_init_chip()
861 chip->card2lun[MS_CARD] = 1; in rtsx_init_chip()
862 chip->card2lun[XD_CARD] = 0xFF; in rtsx_init_chip()
868 chip->card2lun[SD_CARD] = 0; in rtsx_init_chip()
869 chip->card2lun[MS_CARD] = 0; in rtsx_init_chip()
870 chip->card2lun[XD_CARD] = 0xFF; in rtsx_init_chip()
874 chip->card2lun[XD_CARD] = 0; in rtsx_init_chip()
875 chip->card2lun[SD_CARD] = 0; in rtsx_init_chip()
876 chip->card2lun[MS_CARD] = 0; in rtsx_init_chip()
Dsd.c2020 chip->capacity[chip->card2lun[SD_CARD]] = 0;
2612 chip->card_bus_width[chip->card2lun[SD_CARD]] = 4;
2846 chip->card_bus_width[chip->card2lun[SD_CARD]] = 8;
2854 chip->card_bus_width[chip->card2lun[SD_CARD]] = 4;
2977 chip->card_bus_width[chip->card2lun[SD_CARD]] = 1;
3053 chip->capacity[chip->card2lun[SD_CARD]] = 0;
3119 chip->capacity[chip->card2lun[SD_CARD]] = sd_card->capacity;
3146 chip->capacity[chip->card2lun[SD_CARD]] = sd_card->capacity = 0;
3171 chip->capacity[chip->card2lun[SD_CARD]] = sd_card->capacity;
3316 chip->capacity[chip->card2lun[SD_CARD]] = 0;
[all …]
Dms.c1128 chip->capacity[chip->card2lun[MS_CARD]] =
1131 chip->capacity[chip->card2lun[MS_CARD]] =
1136 chip->capacity[chip->card2lun[MS_CARD]] = ms_card->capacity;
1223 chip->card_bus_width[chip->card2lun[MS_CARD]] = 8;
1225 chip->card_bus_width[chip->card2lun[MS_CARD]] = 4;
2056 chip->capacity[chip->card2lun[MS_CARD]] = ms_card->capacity;
2089 chip->card_bus_width[chip->card2lun[MS_CARD]] = 4;
2091 chip->card_bus_width[chip->card2lun[MS_CARD]] = 1;
Drtsx_chip.h759 u8 card2lun[32]; member
Dxd.c743 chip->capacity[chip->card2lun[XD_CARD]] = xd_card->capacity; in reset_xd()