Home
last modified time | relevance | path

Searched refs:sAttachDevice (Results 1 – 10 of 10) sorted by relevance

/utopia/UTPA2-700.0.x/modules/usb/drv/usbhost/source/usb_host_p1/
H A DdrvHostLib.c139 Host20_Attach_Device_Structure sAttachDevice __attribute__ ((aligned (8))); variable
1252 if (sAttachDevice.sDD.bCONFIGURATION_NUMBER>HOST20_CONFIGURATION_NUM_MAX) in flib_Host20_AnalysisConfigyration()
1257 memcpy((U8 *)&(sAttachDevice.saCD[i]),pbData,HOST20_CONFIGURATION_LENGTH); in flib_Host20_AnalysisConfigyration()
1262 pBuf = (U8 *)&(sAttachDevice.saCD[i]); in flib_Host20_AnalysisConfigyration()
1268 RemainLen = (int)sAttachDevice.saCD[i].bTotalLengthLowByte + in flib_Host20_AnalysisConfigyration()
1269 … ((int)sAttachDevice.saCD[i].bTotalLengthHighByte << 8) - HOST20_CONFIGURATION_LENGTH; in flib_Host20_AnalysisConfigyration()
1287 memcpy((U8 *)&(sAttachDevice.saCD[i].sInterface[0]),pbData,HOST20_INTERFACE_LENGTH); in flib_Host20_AnalysisConfigyration()
1289 if (sAttachDevice.saCD[i].sInterface[0].bEP_NUMBER>HOST20_ENDPOINT_NUM_MAX) in flib_Host20_AnalysisConfigyration()
1297 … memcpy((U8 *)&(sAttachDevice.saCD[i].sInterface[0].sED[ept_idx]),pbData,HOST20_ENDPOINT_LENGTHX); in flib_Host20_AnalysisConfigyration()
1304 if (ept_idx == sAttachDevice.saCD[i].sInterface[0].bEP_NUMBER) //All endpoints are collected in flib_Host20_AnalysisConfigyration()
[all …]
H A DdrvHost200.c137 if (sAttachDevice.saCD[0].sInterface[0].bInterfaceClass!=0x08) in MassStorage_Init()
171 if (sAttachDevice.saCD[0].sInterface[0].sED[0].bED_bmAttributes==OTGH_ED_BULK)
207 wMaxPacketSize=sAttachDevice.saCD[0].sInterface[0].sED[0].bED_wMaxPacketSizeHighByte; in OTGH_PT_Bulk_Init()
208 …wMaxPacketSize=(wMaxPacketSize<<8)+(sAttachDevice.saCD[0].sInterface[0].sED[0].bED_wMaxPacketSizeL… in OTGH_PT_Bulk_Init()
213 if (sAttachDevice.saCD[0].sInterface[0].sED[0].bED_bmAttributes==OTGH_ED_BULK) in OTGH_PT_Bulk_Init()
240 wMaxPacketSize=sAttachDevice.saCD[0].sInterface[0].sED[0].bED_wMaxPacketSizeHighByte; in OTGH_PT_Bulk_Init()
241 …wMaxPacketSize=(wMaxPacketSize<<8)+(sAttachDevice.saCD[0].sInterface[0].sED[0].bED_wMaxPacketSizeL… in OTGH_PT_Bulk_Init()
244 pHost20_qHD_List_Bulk0->bDeviceAddress=sAttachDevice.bAdd; in OTGH_PT_Bulk_Init()
245 pHost20_qHD_List_Bulk1->bDeviceAddress=sAttachDevice.bAdd; in OTGH_PT_Bulk_Init()
246 …pHost20_qHD_List_Bulk0->bEdNumber=(sAttachDevice.saCD[0].sInterface[0].sED[0].bED_EndpointAddress)… in OTGH_PT_Bulk_Init()
[all …]
H A DdrvUsbMain.c759 tmp=sAttachDevice.saCD[i].sInterface[j].bInterfaceClass;
1516 if (sAttachDevice.saCD[0].sInterface[0].bInterfaceClass != USB_INTERFACE_CLASS_MSD) in MDrv_GET_MASS_VALID_LUN()
2244 rootUSBDeviceInterfaceClass= sAttachDevice.saCD[0].sInterface[0].bInterfaceClass; in MDrv_Usb_Device_Enum()
2275 sAttachDevice.bAdd=3; in MDrv_Usb_Device_Enum()
2276 pHost20_qHD_List_Control1->bDeviceAddress=sAttachDevice.bAdd; in MDrv_Usb_Device_Enum()
2291 if (sAttachDevice.saCD[0].sInterface[0].bInterfaceClass == 0x08) in MDrv_Usb_Device_Enum()
2294 sAttachDevice.bAdd=devaddr; in MDrv_Usb_Device_Enum()
2308 (sAttachDevice.saCD[0].sInterface[0].bInterfaceProtocol == 0x50) ) in MDrv_Usb_Device_Enum()
2336 ((sAttachDevice.saCD[0].sInterface[0].bInterfaceProtocol == 0x00)|| in MDrv_Usb_Device_Enum()
2337 (sAttachDevice.saCD[0].sInterface[0].bInterfaceProtocol == 0x01)) ) in MDrv_Usb_Device_Enum()
[all …]
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()
576 …if ((sAttachDevice.saCD[0].sInterface[0].bInterfaceProtocol==0x00)||(sAttachDevice.saCD[0].sInterf… in Host20_MSCD_usb_stor_control_thread()
H A DdrvScsi.c175 if ( (sAttachDevice.saCD[0].sInterface[0].bInterfaceProtocol==0x00)|| in Init_Mass_Storage_Structure()
176 (sAttachDevice.saCD[0].sInterface[0].bInterfaceProtocol==0x01) ) in Init_Mass_Storage_Structure()
1397 …if ((sAttachDevice.saCD[0].sInterface[0].bInterfaceProtocol==0x00)||(sAttachDevice.saCD[0].sInterf… in bInit_USB_LUN()
/utopia/UTPA2-700.0.x/modules/usb/drv/usbhost/source/usb_hid_p1/
H A Ddrvintpipe.c107 extern Host20_Attach_Device_Structure sAttachDevice;
162 EndPaddr= sAttachDevice.saCD[0].sInterface[0].sED[0].bED_EndpointAddress & 0x7f; in flib_Host20_Interrupt_Init()
349 sAttachDevice.bSendStatusError=0; in flib_Host20_Send_qTD2()
/utopia/UTPA2-700.0.x/modules/usb/drv/usbhost/source4/usb_host_p4/
H A DdrvHostLib_4.c2958 if ((sAttachDevice.sDD.bPIDHighByte==0x01)&&(sAttachDevice.sDD.bPIDLowByte==0x06)) in EnterTestMode_Port4()
/utopia/UTPA2-700.0.x/modules/usb/drv/usbhost/source3/usb_host_p3/
H A DdrvHostLib_3.c2966 if ((sAttachDevice.sDD.bPIDHighByte==0x01)&&(sAttachDevice.sDD.bPIDLowByte==0x06)) in EnterTestMode_Port3()
/utopia/UTPA2-700.0.x/modules/usb/drv/usbhost/source2/usb_host_p2/
H A DdrvHostLib_2.c2937 if ((sAttachDevice.sDD.bPIDHighByte==0x01)&&(sAttachDevice.sDD.bPIDLowByte==0x06)) in EnterTestMode_Port2()
/utopia/UTPA2-700.0.x/modules/usb/drv/usbhost/source/
H A DdrvHostLib.h978 extern Host20_Attach_Device_Structure xdata sAttachDevice;