Home
last modified time | relevance | path

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

/utopia/UTPA2-700.0.x/modules/usb/drv/usbhost/source/usb_host_p1/
H A DdrvMassStorage.c159 … bCMD[4]=sAttachDevice.saCD[0].sInterface[0].sED[ OTGH_PT_BLK.bOutQHDArrayNum].bED_EndpointAddress; in Host20_MSCD_ClearFeature()
161 … bCMD[4]=sAttachDevice.saCD[0].sInterface[0].sED[ OTGH_PT_BLK.bInQHDArrayNum].bED_EndpointAddress; in Host20_MSCD_ClearFeature()
251 OTGH_PT_BLK.sCBW.u32Signature = OTGH_PT_CBW_SIGNATE; in Host20_MSCD_issue_CBW()
252 OTGH_PT_BLK.sCBW.u32DataTransferLength=psMassStorage->srb->request_bufflen; in Host20_MSCD_issue_CBW()
253 OTGH_PT_BLK.sCBW.u32Tag=gwTag; in Host20_MSCD_issue_CBW()
254 OTGH_PT_BLK.sCBW.u8LUN=psMassStorage->srb->lun; in Host20_MSCD_issue_CBW()
260 OTGH_PT_BLK.sCBW.u8Flags=0x00; in Host20_MSCD_issue_CBW()
265 OTGH_PT_BLK.sCBW.u8Flags=0x80; //john 0x01 in Host20_MSCD_issue_CBW()
274 OTGH_PT_BLK.sCBW.u8LUN=psMassStorage->srb->lun;//Only support 1 LUN in Host20_MSCD_issue_CBW()
275 OTGH_PT_BLK.sCBW.u8CBLength=psMassStorage->srb->cmd_len;//Command Length in Host20_MSCD_issue_CBW()
[all …]
H A DdrvScsi.c221 OTGH_PT_BLK.sCBW.u8CB[0]=WRITE_10; in vSCSICmd_READ_WRITE_10()
223 OTGH_PT_BLK.sCBW.u8CB[0]=READ_10; in vSCSICmd_READ_WRITE_10()
224 OTGH_PT_BLK.sCBW.u8CB[1]=0; in vSCSICmd_READ_WRITE_10()
226 OTGH_PT_BLK.sCBW.u8CB[2]= (INT8U)(u32BlockAddr >> 24); in vSCSICmd_READ_WRITE_10()
227 OTGH_PT_BLK.sCBW.u8CB[3]= (INT8U)(u32BlockAddr >> 16); in vSCSICmd_READ_WRITE_10()
228 OTGH_PT_BLK.sCBW.u8CB[4]= (INT8U)(u32BlockAddr >> 8); in vSCSICmd_READ_WRITE_10()
229 OTGH_PT_BLK.sCBW.u8CB[5]= (INT8U)(u32BlockAddr); in vSCSICmd_READ_WRITE_10()
231 OTGH_PT_BLK.sCBW.u8CB[7] = (INT8U)(u16BlockNum >> 8); in vSCSICmd_READ_WRITE_10()
232 OTGH_PT_BLK.sCBW.u8CB[8] = (INT8U)(u16BlockNum ); in vSCSICmd_READ_WRITE_10()
296 OTGH_PT_BLK.sCBW.u8CB[0]=WRITE_10;
[all …]
H A DdrvHost200.c113 OTGH_PT_BLK_Struct OTGH_PT_BLK __attribute__ ((aligned (16))); variable
265 { OTGH_PT_BLK.bInQHDArrayNum=0;//Array 0 //for in 0, for out,1 in OTGH_PT_Bulk_Init()
266 OTGH_PT_BLK.bOutQHDArrayNum=1;//Array 0 in OTGH_PT_Bulk_Init()
270 OTGH_PT_BLK.bInQHDArrayNum=1;//Array 0 //for in 1 for out,0 in OTGH_PT_Bulk_Init()
271 OTGH_PT_BLK.bOutQHDArrayNum=0;//Array 0 in OTGH_PT_Bulk_Init()
274 OTGH_PT_BLK.bStatus = HOST20_OK; in OTGH_PT_Bulk_Init()
/utopia/UTPA2-700.0.x/modules/usb/drv/usbhost/source/
H A DdrvHost200.h214 extern OTGH_PT_BLK_Struct xdata OTGH_PT_BLK;