Lines Matching refs:wValue

119     gUsbCmd.wValue = (uint16_t)HSUSBD->SETUP3_2;  in HSUSBD_ProcessSetupPacket()
173 switch((gUsbCmd.wValue & 0xff00ul) >> 8) in HSUSBD_GetDescriptor()
305 if((gUsbCmd.wValue & 0xfful) < 8ul) in HSUSBD_GetDescriptor()
307 if(u32Len > g_hsusbd_sInfo->gu8StringDesc[gUsbCmd.wValue & 0xfful][0]) in HSUSBD_GetDescriptor()
309 u32Len = g_hsusbd_sInfo->gu8StringDesc[gUsbCmd.wValue & 0xfful][0]; in HSUSBD_GetDescriptor()
315 … HSUSBD_PrepareCtrlIn((uint8_t *)g_hsusbd_sInfo->gu8StringDesc[gUsbCmd.wValue & 0xfful], u32Len); in HSUSBD_GetDescriptor()
431 if((gUsbCmd.wValue & 0xfful) == FEATURE_ENDPOINT_HALT) in HSUSBD_StandardRequest()
447 else if((gUsbCmd.wValue & 0xfful) == FEATURE_DEVICE_REMOTE_WAKEUP) in HSUSBD_StandardRequest()
459 g_hsusbd_UsbAddr = (uint8_t)gUsbCmd.wValue; in HSUSBD_StandardRequest()
468 g_hsusbd_UsbConfig = (uint8_t)gUsbCmd.wValue; in HSUSBD_StandardRequest()
478 if((gUsbCmd.wValue & 0x3ul) == 2ul) /* TEST_MODE */ in HSUSBD_StandardRequest()
483 if((gUsbCmd.wValue & 0x3ul) == 3ul) /* HNP ebable */ in HSUSBD_StandardRequest()
487 …if((gUsbCmd.wValue & FEATURE_DEVICE_REMOTE_WAKEUP) == FEATURE_DEVICE_REMOTE_WAKEUP) /* REMOTE_W… in HSUSBD_StandardRequest()
499 g_hsusbd_UsbAltInterface = (uint8_t)gUsbCmd.wValue; in HSUSBD_StandardRequest()
564 if(gUsbCmd.wValue == FEATURE_ENDPOINT_HALT) in HSUSBD_UpdateDeviceState()
594 if((gUsbCmd.wValue & FEATURE_DEVICE_REMOTE_WAKEUP) == FEATURE_DEVICE_REMOTE_WAKEUP) in HSUSBD_UpdateDeviceState()
602 if(gUsbCmd.wValue == FEATURE_ENDPOINT_HALT) in HSUSBD_UpdateDeviceState()
608 else if(gUsbCmd.wValue == FEATURE_DEVICE_REMOTE_WAKEUP) in HSUSBD_UpdateDeviceState()