Home
last modified time | relevance | path

Searched refs:wIndex (Results 1 – 25 of 26) sorted by relevance

12

/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/output/source/device/
Dusb_device_ch9.c149 if (setup->wIndex == USB_REQUEST_STANDARD_GET_STATUS_OTG_STATUS_SELECTOR) in USB_DeviceCh9GetStatus()
175 (((uint8_t)kUSB_DeviceStateConfigured == state) && (0U == setup->wIndex))) in USB_DeviceCh9GetStatus()
191 if ((USB_CONTROL_ENDPOINT != (setup->wIndex & USB_ENDPOINT_NUMBER_MASK)) && in USB_DeviceCh9GetStatus()
201 endpointStatus.endpointAddress = (uint8_t)setup->wIndex; in USB_DeviceCh9GetStatus()
301 if ((USB_CONTROL_ENDPOINT != (setup->wIndex & USB_ENDPOINT_NUMBER_MASK)) && in USB_DeviceCh9SetClearFeature()
314 endpointStatus.endpointAddress = (uint8_t)setup->wIndex; in USB_DeviceCh9SetClearFeature()
322 if (USB_CONTROL_ENDPOINT == (setup->wIndex & USB_ENDPOINT_NUMBER_MASK)) in USB_DeviceCh9SetClearFeature()
328 … if (kStatus_USB_Success != USB_DeviceStallEndpoint(classHandle->handle, (uint8_t)setup->wIndex)) in USB_DeviceCh9SetClearFeature()
333 (void)USB_DeviceStallEndpoint(classHandle->handle, (uint8_t)setup->wIndex); in USB_DeviceCh9SetClearFeature()
339 … if (kStatus_USB_Success != USB_DeviceUnstallEndpoint(classHandle->handle, (uint8_t)setup->wIndex)) in USB_DeviceCh9SetClearFeature()
[all …]
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/host/
Dusb_host_framework.c79 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN(statusParam->statusSelector); in USB_HostStandardGetStatus()
110 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN(featureParam->interfaceOrEndpoint); in USB_HostStandardSetClearFeature()
138 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN(descriptorParam->languageId); in USB_HostStandardSetGetDescriptor()
153 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN(interfaceParam->interface); in USB_HostStandardGetInterface()
167 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN(setParam->interface); in USB_HostStandardSetInterface()
183 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN(frameParam->endpoint); in USB_HostStandardSyncFrame()
204 transfer->setupPacket->wIndex = 0; in USB_HostRequestControl()
Dusb_host_devices.c323 transfer->setupPacket->wIndex = 0U; in USB_HostProcessState()
Dusb_host_ip3516hs.c174 transfer->setupPacket->wIndex = 0; in USB_HostIp3516HsTestSingleStepGetDeviceDesc()
211 transfer->setupPacket->wIndex = 0; in USB_HostIp3516HsTestSingleStepGetDeviceDescData()
3126 … ((uint8_t)(USB_SHORT_FROM_LITTLE_ENDIAN(trCurrent->setupPacket->wIndex))))) in USB_HostIp3516HsTokenDone()
Dusb_host_ehci.c739 transfer->setupPacket->wIndex = 0; in USB_HostEhciTestSingleStepGetDeviceDesc()
899 transfer->setupPacket->wIndex = 0; in USB_HostEhciTestSingleStepGetDeviceDescData()
4029 … (uint8_t)(USB_SHORT_FROM_LITTLE_ENDIAN(transfer->setupPacket->wIndex))) && in USB_HostEhciTransactionDone()
Dusb_host_khci.c679 (uint8_t)(USB_SHORT_FROM_LITTLE_ENDIAN(transfer->setupPacket->wIndex))) && in _USB_HostKhciProcessTrCallback()
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/host/class/
Dusb_host_phdc.c150 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN(endpoint); in USB_HostPhdcClearHalt()
221 (transfer->setupPacket->wIndex == in USB_HostPhdcSetClearFeatureEndpointHaltCallback()
242 (transfer->setupPacket->wIndex == in USB_HostPhdcSetClearFeatureEndpointHaltCallback()
707 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN( in USB_HostPhdcSetInterface()
1144 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN( in USB_HostPhdcSendControlRequest()
Dusb_host_printer.c158 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN(endpoint); in USB_HostPrinterClearHalt()
461 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN( in USB_HostPrinterSetInterface()
715 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN(windex); in USB_HostPrinterControl()
Dusb_host_hid.c161 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN(endpoint); in USB_HostHidClearHalt()
457 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN( in USB_HostHidSetInterface()
710 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN( in USB_HostHidControl()
Dusb_host_cdc.c88 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN(endpoint); in USB_HostCdcClearHalt()
570 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN( in USB_HostCdcSetControlInterface()
706 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN( in USB_HostCdcSetDataInterface()
1096 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN( in USB_HostCdcControl()
Dusb_host_hub.c157 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN(windex); in USB_HostHubClassRequestCommon()
439 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN(portNumber); in USB_HostHubSendPortReset()
Dusb_host_video.c390 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN(windex); in USB_HostVideoControl()
555 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN( in USB_HostVideoStreamSetInterface()
694 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN( in USB_HostVideoControlSetInterface()
Dusb_host_msd.c227 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN(endpoint); in USB_HostMsdClearHalt()
1015 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN( in USB_HostMsdSetInterface()
1148 transfer->setupPacket->wIndex = in USB_HostMsdControl()
Dusb_host_audio.c276 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN(windex); in _USB_HostAudioControl()
1018 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN( in USB_HostAudioStreamSetInterface()
1146 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN( in USB_HostAudioControlSetInterface()
Dusb_host_hub_app.c1095 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN(windex); in USB_HostSendHubRequest()
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/output/source/device/class/
Dusb_device_printer.c540 classRequest.interface = (uint8_t)(controlRequest->setup->wIndex >> 8); in USB_DevicePrinterEvent()
546 classRequest.alternateSetting = (uint8_t)(controlRequest->setup->wIndex); in USB_DevicePrinterEvent()
Dusb_device_dfu.c129 if ((controlRequest->setup->wIndex & 0xFFU) != 0x00U /* Interface number is always 0 */) in USB_DeviceDfuEvent()
Dusb_device_cdc_acm.c614 if ((controlRequest->setup->wIndex & 0xFFU) != cdcAcmHandle->interfaceNumber) in USB_DeviceCdcAcmEvent()
623 reqParam.interfaceIndex = controlRequest->setup->wIndex; in USB_DeviceCdcAcmEvent()
Dusb_device_audio.c1625 uint8_t entityId = (uint8_t)(controlRequest->setup->wIndex >> 0x08); in USB_DeviceAudioSetRequestInterface()
1684 uint8_t entityId = (uint8_t)(controlRequest->setup->wIndex >> 0x08); in USB_DeviceAudioGetRequestInterface()
1905 … uint8_t interfaceOrEndpoint = (uint8_t)controlRequest->setup->wIndex; in USB_DeviceAudioEvent()
Dusb_device_video.c713 uint8_t entityId = (uint8_t)(controlRequest->setup->wIndex >> 0x08U); in USB_DeviceVideoVcRequest()
1294 … uint8_t interface_index = (uint8_t)controlRequest->setup->wIndex; in USB_DeviceVideoEvent()
Dusb_device_hid.c515 if ((controlRequest->setup->wIndex & 0xFFU) != hidHandle->interfaceNumber) in USB_DeviceHidEvent()
Dusb_device_phdc.c552 if ((controlRequest->setup->wIndex & 0xFFU) != phdcHandle->interfaceNumber) in USB_DevicePhdcEvent()
Dusb_device_ccid.c892 if ((controlRequest->setup->wIndex & 0xFFU) != ccidHandle->interfaceNumber) in USB_DeviceCcidEvent()
Dusb_device_msc.c1283 if ((control_request->setup->wIndex & 0xFFU) != mscHandle->interfaceNumber) in USB_DeviceMscEvent()
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/include/
Dusb_spec.h28 uint16_t wIndex; member

12