Home
last modified time | relevance | path

Searched refs:lun2card (Results 1 – 9 of 9) sorted by relevance

/linux-3.4.99/drivers/staging/rts5139/
Drts51x_card.h772 if (chip->card_ready & chip->lun2card[lun]) in check_card_ready()
780 if (chip->card_exist & chip->lun2card[lun]) in check_card_exist()
788 if (chip->card_wp & chip->lun2card[lun]) in check_card_wp()
796 if (chip->card_fail & chip->lun2card[lun]) in check_card_fail()
804 if (chip->card_ejected & chip->lun2card[lun]) in check_card_ejected()
813 if (chip->fake_card_ready & chip->lun2card[lun]) in check_fake_card_ready()
821 return chip->lun2card[lun]; in get_lun2card()
Drts51x_card.c702 if ((chip->card_ready & chip->lun2card[lun]) == XD_CARD) in get_lun_card()
704 else if ((chip->card_ready & chip->lun2card[lun]) == SD_CARD) in get_lun_card()
706 else if ((chip->card_ready & chip->lun2card[lun]) == MS_CARD) in get_lun_card()
762 if ((chip->card_ready & chip->lun2card[lun]) == SD_CARD) { in eject_card()
767 } else if ((chip->card_ready & chip->lun2card[lun]) == XD_CARD) { in eject_card()
772 } else if ((chip->card_ready & chip->lun2card[lun]) == MS_CARD) { in eject_card()
Drts51x_chip.h763 u8 lun2card[MAX_ALLOWED_LUN_CNT]; member
Drts51x_scsi.c887 if (chip->need_release & chip->lun2card[lun]) { in read_write()
936 (chip->lun2card[lun] & MS_CARD) && (!card || (card == MS_CARD))) { in read_format_capacity()
Drts51x_chip.c166 chip->lun2card[0] = XD_CARD | SD_CARD | MS_CARD; in rts51x_init_chip()
/linux-3.4.99/drivers/staging/rts_pstor/
Drtsx_card.c1181 if (chip->card_exist & chip->lun2card[lun]) { in check_card_exist()
1190 if (chip->card_ready & chip->lun2card[lun]) { in check_card_ready()
1199 if (chip->card_wp & chip->lun2card[lun]) { in check_card_wp()
1208 if (chip->card_fail & chip->lun2card[lun]) { in check_card_fail()
1217 if (chip->card_ejected & chip->lun2card[lun]) { in check_card_ejected()
1226 if ((chip->card_ready & chip->lun2card[lun]) == XD_CARD) { in get_lun_card()
1228 } else if ((chip->card_ready & chip->lun2card[lun]) == SD_CARD) { in get_lun_card()
1230 } else if ((chip->card_ready & chip->lun2card[lun]) == MS_CARD) { in get_lun_card()
1241 if ((chip->card_ready & chip->lun2card[lun]) == SD_CARD) { in eject_card()
1246 } else if ((chip->card_ready & chip->lun2card[lun]) == XD_CARD) { in eject_card()
[all …]
Drtsx_chip.c67 if (chip->lun2card[i] & XD_CARD) in rtsx_enable_card_int()
69 if (chip->lun2card[i] & SD_CARD) in rtsx_enable_card_int()
71 if (chip->lun2card[i] & MS_CARD) in rtsx_enable_card_int()
91 RTSX_DEBUGP("lun2card[%d] = 0x%02x\n", i, chip->lun2card[i]); in rtsx_enable_bus_int()
93 if (chip->lun2card[i] & XD_CARD) in rtsx_enable_bus_int()
95 if (chip->lun2card[i] & SD_CARD) in rtsx_enable_bus_int()
97 if (chip->lun2card[i] & MS_CARD) in rtsx_enable_bus_int()
1052 chip->lun2card[0] = SD_CARD; in rtsx_init_chip()
1053 chip->lun2card[1] = MS_CARD; in rtsx_init_chip()
1060 chip->lun2card[0] = SD_CARD | MS_CARD; in rtsx_init_chip()
[all …]
Drtsx_scsi.c320 if (chip->lun2card[lun] == SD_CARD) { in inquiry()
338 (chip->lun2card[lun] & MS_CARD)) in inquiry()
600 if ((chip->lun2card[lun] & MS_CARD)) { in mode_sense()
787 if (chip->need_release & chip->lun2card[lun]) { in read_write()
850 (chip->lun2card[lun] & MS_CARD) && in read_format_capacity()
1484 if (CHECK_LUN_MODE(chip, SD_MS_2LUN) && (chip->lun2card[lun] == MS_CARD)) { in get_dev_status()
2331 if (chip->lun2card[lun] == SD_CARD) { in read_status()
2374 if (chip->lun2card[lun] == SD_CARD) { in read_status()
2433 if (chip->lun2card[lun] == SD_CARD) { in read_status()
Drtsx_chip.h747 u8 lun2card[MAX_ALLOWED_LUN_CNT]; member