Lines Matching refs:g_hsusbd_sInfo
28 S_HSUSBD_INFO_T *g_hsusbd_sInfo; variable
70 g_hsusbd_sInfo = param; in HSUSBD_Open()
75 g_hsusbd_CtrlMaxPktSize = g_hsusbd_sInfo->gu8DevDesc[7]; in HSUSBD_Open()
180 HSUSBD_PrepareCtrlIn((uint8_t *)g_hsusbd_sInfo->gu8DevDesc, u32Len); in HSUSBD_GetDescriptor()
189 u32TotalLen = g_hsusbd_sInfo->gu8ConfigDesc[3]; in HSUSBD_GetDescriptor()
190 u32TotalLen = g_hsusbd_sInfo->gu8ConfigDesc[2] + (u32TotalLen << 8); in HSUSBD_GetDescriptor()
200 HSUSBD_PrepareCtrlIn((uint8_t *)g_hsusbd_sInfo->gu8ConfigDesc, u32Len); in HSUSBD_GetDescriptor()
204 u32TotalLen = g_hsusbd_sInfo->gu8FullConfigDesc[3]; in HSUSBD_GetDescriptor()
205 u32TotalLen = g_hsusbd_sInfo->gu8FullConfigDesc[2] + (u32TotalLen << 8); in HSUSBD_GetDescriptor()
215 HSUSBD_PrepareCtrlIn((uint8_t *)g_hsusbd_sInfo->gu8FullConfigDesc, u32Len); in HSUSBD_GetDescriptor()
224 HSUSBD_PrepareCtrlIn((uint8_t *)g_hsusbd_sInfo->gu8QualDesc, u32Len); in HSUSBD_GetDescriptor()
233 u32TotalLen = g_hsusbd_sInfo->gu8HSOtherConfigDesc[3]; in HSUSBD_GetDescriptor()
234 u32TotalLen = g_hsusbd_sInfo->gu8HSOtherConfigDesc[2] + (u32TotalLen << 8); in HSUSBD_GetDescriptor()
244 HSUSBD_PrepareCtrlIn((uint8_t *)g_hsusbd_sInfo->gu8HSOtherConfigDesc, u32Len); in HSUSBD_GetDescriptor()
248 u32TotalLen = g_hsusbd_sInfo->gu8FSOtherConfigDesc[3]; in HSUSBD_GetDescriptor()
249 u32TotalLen = g_hsusbd_sInfo->gu8FSOtherConfigDesc[2] + (u32TotalLen << 8); in HSUSBD_GetDescriptor()
259 HSUSBD_PrepareCtrlIn((uint8_t *)g_hsusbd_sInfo->gu8FSOtherConfigDesc, u32Len); in HSUSBD_GetDescriptor()
269 u32ConfigDescOffset = g_hsusbd_sInfo->gu32ConfigHidDescIdx[gUsbCmd.wIndex & 0xfful]; in HSUSBD_GetDescriptor()
270 … HSUSBD_PrepareCtrlIn((uint8_t *)&g_hsusbd_sInfo->gu8ConfigDesc[u32ConfigDescOffset], u32Len); in HSUSBD_GetDescriptor()
276 if (u32Len > g_hsusbd_sInfo->gu32HidReportSize[gUsbCmd.wIndex & 0xfful]) in HSUSBD_GetDescriptor()
278 u32Len = g_hsusbd_sInfo->gu32HidReportSize[gUsbCmd.wIndex & 0xfful]; in HSUSBD_GetDescriptor()
284 …HSUSBD_PrepareCtrlIn((uint8_t *)g_hsusbd_sInfo->gu8HidReportDesc[gUsbCmd.wIndex & 0xfful], u32Len); in HSUSBD_GetDescriptor()
292 if (u32Len > g_hsusbd_sInfo->gu8StringDesc[gUsbCmd.wValue & 0xfful][0]) in HSUSBD_GetDescriptor()
294 u32Len = g_hsusbd_sInfo->gu8StringDesc[gUsbCmd.wValue & 0xfful][0]; in HSUSBD_GetDescriptor()
300 … HSUSBD_PrepareCtrlIn((uint8_t *)g_hsusbd_sInfo->gu8StringDesc[gUsbCmd.wValue & 0xfful], u32Len); in HSUSBD_GetDescriptor()
371 if ((g_hsusbd_sInfo->gu8ConfigDesc[7] & 0x40ul) == 0x40ul) in HSUSBD_StandardRequest()