Home
last modified time | relevance | path

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

/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/
H A DdrvMSC.c697 int LunIdx; in ms_bSCSI_Initial() local
705 for (LunIdx=0; LunIdx<=pMass_stor->max_lun; LunIdx++) in ms_bSCSI_Initial()
707 LunDevice[LunIdx].bDeviceReady = FALSE; in ms_bSCSI_Initial()
708 if (LunIdx == 0) in ms_bSCSI_Initial()
730 if (!ms_bSCSI_INQUIRY(uPort, LunIdx, pIngBuf)) in ms_bSCSI_Initial()
733 LunDevice[LunIdx].u8DevType = (pIngBuf[0] & 0x1F) | (pIngBuf[1] & 0x80); in ms_bSCSI_Initial()
737 for (LunIdx=0; LunIdx<=pMass_stor->max_lun; LunIdx++) in ms_bSCSI_Initial()
739 if (!ms_bInit_USB_LUN(uPort, LunIdx)) in ms_bSCSI_Initial()
742 LunDevice[LunIdx].bDeviceReady = TRUE; in ms_bSCSI_Initial()
744 if (ConnectUSBDisk(uPort, LunIdx)) in ms_bSCSI_Initial()
[all …]
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/
H A DdrvSCSI.c751 int LunIdx;
759 for ( LunIdx=0; LunIdx<=pMass_stor->max_lun; LunIdx++)
761 LunDevice[LunIdx].bDeviceReady = FALSE;
762 if (LunIdx == 0)
784 if (!bSCSI_INQUIRY(uPort, LunIdx, pIngBuf))
790 for ( LunIdx=0; LunIdx<=pMass_stor->max_lun; LunIdx++)
792 if (!bInit_USB_LUN(uPort, LunIdx))
795 LunDevice[LunIdx].bDeviceReady = TRUE;
797 if (ConnectUSBDisk(uPort, LunIdx))
798 LunDevice[LunIdx].bFSInit = TRUE;
[all …]
/utopia/UTPA2-700.0.x/modules/usb/drv/usbhost/source4/usb_host_p4/
H A DdrvScsi_4.c1257 U8 LunIdx; in bSCSI_Initial_Port4() local
1260 for ( LunIdx=0; LunIdx<=Mass_stor_us1_port4.max_lun; LunIdx++) in bSCSI_Initial_Port4()
1262 LunDevice[LunIdx].bDeviceValid=FALSE; in bSCSI_Initial_Port4()
1263 if (bSCSI_INQUIRY_Port4(LunIdx)) in bSCSI_Initial_Port4()
1265 LunDevice[LunIdx].bDeviceValid=TRUE; in bSCSI_Initial_Port4()
1295 for ( LunIdx=0; LunIdx<=Mass_stor_us1_port4.max_lun; LunIdx++) in bSCSI_Initial_Port4()
1297 LunDevice[LunIdx].bDeviceReady = FALSE; in bSCSI_Initial_Port4()
1298 if (!bInit_USB_LUN_Port4(LunIdx)) in bSCSI_Initial_Port4()
1300 LunDevice[LunIdx].bDeviceReady = TRUE; in bSCSI_Initial_Port4()
1314 U8 LunIdx; in GetValidLun_Port4() local
[all …]
/utopia/UTPA2-700.0.x/modules/usb/drv/usbhost/source2/usb_host_p2/
H A DdrvScsi_2.c1254 U8 LunIdx; in bSCSI_Initial_Port2() local
1257 for ( LunIdx=0; LunIdx<=Mass_stor_us1_port2.max_lun; LunIdx++) in bSCSI_Initial_Port2()
1259 LunDevice[LunIdx].bDeviceValid=FALSE; in bSCSI_Initial_Port2()
1260 if (bSCSI_INQUIRY_Port2(LunIdx)) in bSCSI_Initial_Port2()
1262 LunDevice[LunIdx].bDeviceValid=TRUE; in bSCSI_Initial_Port2()
1292 for ( LunIdx=0; LunIdx<=Mass_stor_us1_port2.max_lun; LunIdx++) in bSCSI_Initial_Port2()
1294 LunDevice[LunIdx].bDeviceReady = FALSE; in bSCSI_Initial_Port2()
1295 if (!bInit_USB_LUN_Port2(LunIdx)) in bSCSI_Initial_Port2()
1297 LunDevice[LunIdx].bDeviceReady = TRUE; in bSCSI_Initial_Port2()
1311 U8 LunIdx; in GetValidLun_Port2() local
[all …]
/utopia/UTPA2-700.0.x/modules/usb/drv/usbhost/source/usb_host_p1/
H A DdrvScsi.c1258 U8 LunIdx; in bSCSI_Initial() local
1261 for ( LunIdx=0; LunIdx<=Mass_stor_us1.max_lun; LunIdx++) in bSCSI_Initial()
1263 LunDevice[LunIdx].bDeviceValid=FALSE; in bSCSI_Initial()
1264 if (bSCSI_INQUIRY(LunIdx)) in bSCSI_Initial()
1266 LunDevice[LunIdx].bDeviceValid=TRUE; in bSCSI_Initial()
1296 for ( LunIdx=0; LunIdx<=Mass_stor_us1.max_lun; LunIdx++) in bSCSI_Initial()
1298 LunDevice[LunIdx].bDeviceReady = FALSE; in bSCSI_Initial()
1299 if (!bInit_USB_LUN(LunIdx)) in bSCSI_Initial()
1301 LunDevice[LunIdx].bDeviceReady = TRUE; in bSCSI_Initial()
1315 U8 LunIdx; in GetValidLun() local
[all …]
/utopia/UTPA2-700.0.x/modules/usb/drv/usbhost/source3/usb_host_p3/
H A DdrvScsi_3.c1257 U8 LunIdx; in bSCSI_Initial_Port3() local
1260 for ( LunIdx=0; LunIdx<=Mass_stor_us1_port3.max_lun; LunIdx++) in bSCSI_Initial_Port3()
1262 LunDevice[LunIdx].bDeviceValid=FALSE; in bSCSI_Initial_Port3()
1263 if (bSCSI_INQUIRY_Port3(LunIdx)) in bSCSI_Initial_Port3()
1265 LunDevice[LunIdx].bDeviceValid=TRUE; in bSCSI_Initial_Port3()
1295 for ( LunIdx=0; LunIdx<=Mass_stor_us1_port3.max_lun; LunIdx++) in bSCSI_Initial_Port3()
1297 LunDevice[LunIdx].bDeviceReady = FALSE; in bSCSI_Initial_Port3()
1298 if (!bInit_USB_LUN_Port3(LunIdx)) in bSCSI_Initial_Port3()
1300 LunDevice[LunIdx].bDeviceReady = TRUE; in bSCSI_Initial_Port3()
1314 U8 LunIdx; in GetValidLun_Port3() local
[all …]