Searched refs:gUsbCmd (Results 1 – 4 of 4) sorted by relevance
26 S_HSUSBD_CMD_T gUsbCmd; variable117 gUsbCmd.bmRequestType = (uint8_t)(HSUSBD->SETUP1_0 & 0xfful); in HSUSBD_ProcessSetupPacket()118 gUsbCmd.bRequest = (uint8_t)((HSUSBD->SETUP1_0 >> 8) & 0xfful); in HSUSBD_ProcessSetupPacket()119 gUsbCmd.wValue = (uint16_t)HSUSBD->SETUP3_2; in HSUSBD_ProcessSetupPacket()120 gUsbCmd.wIndex = (uint16_t)HSUSBD->SETUP5_4; in HSUSBD_ProcessSetupPacket()121 gUsbCmd.wLength = (uint16_t)HSUSBD->SETUP7_6; in HSUSBD_ProcessSetupPacket()124 switch(gUsbCmd.bmRequestType & 0x60ul) in HSUSBD_ProcessSetupPacket()170 u32Len = gUsbCmd.wLength; in HSUSBD_GetDescriptor()173 switch((gUsbCmd.wValue & 0xff00ul) >> 8) in HSUSBD_GetDescriptor()284 u32ConfigDescOffset = g_hsusbd_sInfo->gu32ConfigHidDescIdx[gUsbCmd.wIndex & 0xfful]; in HSUSBD_GetDescriptor()[all …]
27 S_HSUSBD_CMD_T gUsbCmd; variable118 gUsbCmd.bmRequestType = (uint8_t)(HSUSBD->SETUP1_0 & 0xfful); in HSUSBD_ProcessSetupPacket()119 gUsbCmd.bRequest = (uint8_t)((HSUSBD->SETUP1_0 >> 8) & 0xfful); in HSUSBD_ProcessSetupPacket()120 gUsbCmd.wValue = (uint16_t)HSUSBD->SETUP3_2; in HSUSBD_ProcessSetupPacket()121 gUsbCmd.wIndex = (uint16_t)HSUSBD->SETUP5_4; in HSUSBD_ProcessSetupPacket()122 gUsbCmd.wLength = (uint16_t)HSUSBD->SETUP7_6; in HSUSBD_ProcessSetupPacket()125 switch (gUsbCmd.bmRequestType & 0x60ul) in HSUSBD_ProcessSetupPacket()171 u32Len = gUsbCmd.wLength; in HSUSBD_GetDescriptor()174 switch ((gUsbCmd.wValue & 0xff00ul) >> 8) in HSUSBD_GetDescriptor()269 u32ConfigDescOffset = g_hsusbd_sInfo->gu32ConfigHidDescIdx[gUsbCmd.wIndex & 0xfful]; in HSUSBD_GetDescriptor()[all …]
126 extern S_HSUSBD_CMD_T gUsbCmd;
149 extern S_HSUSBD_CMD_T gUsbCmd;