Home
last modified time | relevance | path

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

/hal_nuvoton-latest/m46x/StdDriver/src/
Dhsusbd.c26 S_HSUSBD_CMD_T gUsbCmd; variable
117 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 …]
/hal_nuvoton-latest/m48x/StdDriver/src/
Dhsusbd.c27 S_HSUSBD_CMD_T gUsbCmd; variable
118 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 …]
/hal_nuvoton-latest/m48x/StdDriver/inc/
Dhsusbd.h126 extern S_HSUSBD_CMD_T gUsbCmd;
/hal_nuvoton-latest/m46x/StdDriver/inc/
Dhsusbd.h149 extern S_HSUSBD_CMD_T gUsbCmd;