Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/rts5208/
Drtsx_card.c1097 if (chip->card_exist & chip->lun2card[lun]) in check_card_exist()
1105 if (chip->card_ready & chip->lun2card[lun]) in check_card_ready()
1113 if (chip->card_wp & chip->lun2card[lun]) in check_card_wp()
1121 if ((chip->card_ready & chip->lun2card[lun]) == XD_CARD) in get_lun_card()
1123 else if ((chip->card_ready & chip->lun2card[lun]) == SD_CARD) in get_lun_card()
1125 else if ((chip->card_ready & chip->lun2card[lun]) == MS_CARD) in get_lun_card()
1135 if ((chip->card_ready & chip->lun2card[lun]) == SD_CARD) { in eject_card()
1140 } else if ((chip->card_ready & chip->lun2card[lun]) == XD_CARD) { in eject_card()
1145 } else if ((chip->card_ready & chip->lun2card[lun]) == MS_CARD) { in eject_card()
Drtsx_chip.c41 if (chip->lun2card[i] & XD_CARD) in rtsx_enable_card_int()
43 if (chip->lun2card[i] & SD_CARD) in rtsx_enable_card_int()
45 if (chip->lun2card[i] & MS_CARD) in rtsx_enable_card_int()
66 i, chip->lun2card[i]); in rtsx_enable_bus_int()
68 if (chip->lun2card[i] & XD_CARD) in rtsx_enable_bus_int()
70 if (chip->lun2card[i] & SD_CARD) in rtsx_enable_bus_int()
72 if (chip->lun2card[i] & MS_CARD) in rtsx_enable_bus_int()
863 chip->lun2card[0] = SD_CARD; in rtsx_init_chip()
864 chip->lun2card[1] = MS_CARD; in rtsx_init_chip()
871 chip->lun2card[0] = SD_CARD | MS_CARD; in rtsx_init_chip()
[all …]
Drtsx_scsi.c487 if (chip->lun2card[lun] == SD_CARD) in inquiry()
504 (chip->lun2card[lun] & MS_CARD)) in inquiry()
756 if ((chip->lun2card[lun] & MS_CARD)) { in mode_sense()
942 if (chip->need_release & chip->lun2card[lun]) { in read_write()
997 (chip->lun2card[lun] & MS_CARD) && in read_format_capacity()
1572 chip->lun2card[lun] == MS_CARD) { in get_dev_status()
2422 if (chip->lun2card[lun] == SD_CARD) in read_status()
2460 if (chip->lun2card[lun] == SD_CARD) in read_status()
2516 if (chip->lun2card[lun] == SD_CARD) in read_status()
Drtsx_chip.h761 u8 lun2card[MAX_ALLOWED_LUN_CNT]; member