Home
last modified time | relevance | path

Searched refs:pMass_stor (Results 1 – 2 of 2) sorted by relevance

/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/
H A DdrvMSC.c352 struct ms_usdata *pMass_stor;
356 if ( (pMass_stor = Mass_stor_us[uPort]) == NULL)
366 host_id = pMass_stor->host_id;
370 memset(&pMass_stor->srb, 0, sizeof(struct scMsc_cmd ));
372 ms_vSCSICmd_REQUEST_SENSE(pMass_stor, uLunNum);
374 ms_usb_msc_control_thread(pMass_stor);
376 if (pMass_stor->srb.result == MS_STAT_GOOD)
378 memcpy(pSenseBuf, pMass_stor->srb.sense_buffer, DATA_LENGTH_REQUEST_SENSE);
393 struct ms_usdata *pMass_stor; in ms_bSCSI_INQUIRY() local
396 if ( (pMass_stor = Mass_stor_us[uPort]) == NULL) in ms_bSCSI_INQUIRY()
[all …]
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/
H A DdrvSCSI.c394 struct us_data *pMass_stor; in bSCSI_REQ_SENSE() local
398 if ( (pMass_stor = Mass_stor_us[uPort]) == NULL) in bSCSI_REQ_SENSE()
409 host_id = pMass_stor->host_id; in bSCSI_REQ_SENSE()
412 memset(&pMass_stor->srb, 0, sizeof(struct scsi_cmnd )); in bSCSI_REQ_SENSE()
414 vSCSICmd_REQUEST_SENSE(pMass_stor, uLunNum); in bSCSI_REQ_SENSE()
416 usb_stor_control_thread(pMass_stor); in bSCSI_REQ_SENSE()
418 if (pMass_stor->srb.result == SAM_STAT_GOOD) in bSCSI_REQ_SENSE()
420 memcpy(pSenseBuf, pMass_stor->srb.sense_buffer, DATA_LENGTH_REQUEST_SENSE); in bSCSI_REQ_SENSE()
439 struct us_data *pMass_stor; in bSCSI_INQUIRY() local
453 if ( (pMass_stor = Mass_stor_us[uPort]) == NULL) in bSCSI_INQUIRY()
[all …]