Home
last modified time | relevance | path

Searched refs:USB_IN (Results 1 – 25 of 30) sorted by relevance

12

/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/device/
Dusb_device_khci.c220 USB_KHCI_BDT_SET_CONTROL((uint32_t)khciState->bdt, count, USB_IN, 0U, 0U); in USB_DeviceKhciSetDefaultState()
221 USB_KHCI_BDT_SET_CONTROL((uint32_t)khciState->bdt, count, USB_IN, 1U, 0U); in USB_DeviceKhciSetDefaultState()
224 khciState->endpointState[((uint32_t)count << 1U) | USB_IN].stateUnion.state = 0U; in USB_DeviceKhciSetDefaultState()
314 (USB_IN == direction) ? USB_ENDPT_EPTXEN_MASK : USB_ENDPT_EPRXEN_MASK; in USB_DeviceKhciEndpointInit()
319 if (USB_IN == direction) in USB_DeviceKhciEndpointInit()
481 if (USB_IN == direction) in USB_DeviceKhciEndpointStall()
573 if (USB_IN == direction) in USB_DeviceKhciEndpointUnstall()
695 if (direction == USB_IN) in USB_DeviceKhciInterruptTokenDone()
743 … USB_DeviceKhciEndpointTransfer(khciState, endpoint, USB_IN, (uint8_t *)NULL, 0U)) in USB_DeviceKhciInterruptTokenDone()
750 … (void)USB_DeviceKhciEndpointTransfer(khciState, endpoint, USB_IN, (uint8_t *)NULL, 0U); in USB_DeviceKhciInterruptTokenDone()
[all …]
Dusb_device_ehci.c684 direction = USB_IN; in USB_DeviceEhciInterruptTokenDone()
698 if ((USB_CONTROL_ENDPOINT == endpoint) && (USB_IN == direction)) in USB_DeviceEhciInterruptTokenDone()
1199 (USB_IN == ((endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >>
1683 …(endpointAddress & USB_ENDPOINT_NUMBER_MASK) | (USB_IN << USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTIO…
2193 …f ((kStatus_USB_Success != USB_DeviceEhciEndpointDeinit(ehciState, (count | (USB_IN << 0x07U)))) ||
2199 (void)USB_DeviceEhciEndpointDeinit(ehciState, (count | (USB_IN << 0x07U)));
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/output/source/device/class/
Dusb_device_msc_ufi.c104 … status = USB_DeviceMscLbaTransfer(mscHandle, USB_IN, &mscCheckEvent->lbaInformation); in USB_DeviceMscUfiThirteenCasesCheck()
129 … status = USB_DeviceMscLbaTransfer(mscHandle, USB_IN, &mscCheckEvent->lbaInformation); in USB_DeviceMscUfiThirteenCasesCheck()
161 … status = USB_DeviceMscLbaTransfer(mscHandle, USB_IN, &mscCheckEvent->lbaInformation); in USB_DeviceMscUfiThirteenCasesCheck()
369 ufi->thirteenCase.deviceExpectedDirection = USB_IN; in USB_DeviceMscUfiRequestSenseCommand()
415 ufi->thirteenCase.deviceExpectedDirection = USB_IN; in USB_DeviceMscUfiInquiryCommand()
463 ufi->thirteenCase.deviceExpectedDirection = USB_IN; in USB_DeviceMscUfiReadCommand()
548 ufi->thirteenCase.deviceExpectedDirection = USB_IN; in USB_DeviceMscUfiTestUnitReadyCommand()
589 ufi->thirteenCase.deviceExpectedDirection = USB_IN; in USB_DeviceMscUfiVerifyCommand()
636 ufi->thirteenCase.deviceExpectedDirection = USB_IN; in USB_DeviceMscUfiModeSenseCommand()
775 ufi->thirteenCase.deviceExpectedDirection = USB_IN; in USB_DeviceMscUfiReadCapacityCommand()
[all …]
Dusb_device_cdc_acm.c247 … if ((USB_IN == ((epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >> in USB_DeviceCdcAcmEndpointsInit()
295 … if ((USB_IN == ((epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >> in USB_DeviceCdcAcmEndpointsInit()
467 if (USB_IN == (((*temp8) & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >> in USB_DeviceCdcAcmEvent()
492 if (USB_IN == (((*temp8) & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >> in USB_DeviceCdcAcmEvent()
533 if (USB_IN == (((*temp8) & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >> in USB_DeviceCdcAcmEvent()
Dusb_device_printer.c210 USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_SHIFT) == USB_IN) in USB_DevicePrinterEndpointsInit()
424 … if (USB_IN == ((printerHandle->interfaceHandle->endpointList.endpoint[temp16].endpointAddress & in USB_DevicePrinterEvent()
453 if (USB_IN == (((temp8)&USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >> in USB_DevicePrinterEvent()
Dusb_device_hid.c242 … if (USB_IN == ((epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >> in USB_DeviceHidEndpointsInit()
403 … if (USB_IN == ((hidHandle->interfaceHandle->endpointList.endpoint[count].endpointAddress & in USB_DeviceHidEvent()
430 if (USB_IN == (((*temp8) & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >> in USB_DeviceHidEvent()
Dusb_device_phdc.c278 …else if (USB_IN == ((epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK… in USB_DevicePhdcEndpointsInit()
424 … else if (USB_IN == ((phdcHandle->interfaceHandle->endpointList.endpoint[count].endpointAddress & in USB_DevicePhdcEvent()
479 … else if (USB_IN == ((phdcHandle->interfaceHandle->endpointList.endpoint[count].endpointAddress & in USB_DevicePhdcEvent()
Dusb_device_audio.c339 … (USB_IN == ((epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >> in USB_DeviceAudioStreamEndpointsInit()
387 USB_IN) in USB_DeviceAudioStreamEndpointsDeinit()
492 … (USB_IN == ((epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >> in USB_DeviceAudioControlEndpointsInit()
Dusb_device_video.c321 … (USB_IN == ((epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >> in USB_DeviceVideoStreamEndpointsInit()
443 … (USB_IN == ((epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >> in USB_DeviceVideoControlEndpointsInit()
Dusb_device_msc.c827 … if (USB_IN == ((epInitStruct.endpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) >> in USB_DeviceMscEndpointsInit()
1504 if (direction == USB_IN) in USB_DeviceMscLbaTransfer()
/hal_nxp-latest/mcux/mcux-sdk/components/serial_manager/usb_cdc_adapter/
Dusb_device_descriptor.c23 USB_CDC_VCOM_INTERRUPT_IN_ENDPOINT | (USB_IN << 7U),
33 USB_CDC_VCOM_BULK_IN_ENDPOINT | (USB_IN << 7U),
186 …LENGTH_ENDPOINT, USB_DESCRIPTOR_TYPE_ENDPOINT, USB_CDC_VCOM_INTERRUPT_IN_ENDPOINT | (USB_IN << 7U),
196 …PTOR_LENGTH_ENDPOINT, USB_DESCRIPTOR_TYPE_ENDPOINT, USB_CDC_VCOM_BULK_IN_ENDPOINT | (USB_IN << 7U),
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/host/
Dusb_host_khci.c726 if (transfer->direction == USB_IN) in _USB_HostKhciTransactionDone()
744 if (transfer->direction == USB_IN) in _USB_HostKhciTransactionDone()
769 if (pipeDescPointer->direction == USB_IN) in _USB_HostKhciTransactionDone()
1063 … usbHostPointer, (transfer->direction == USB_IN) ? (uint32_t)kTr_In : (uint32_t)kTr_Out, in _USB_HostKhciStartTranfer()
1081 … usbHostPointer, (transfer->direction == USB_IN) ? (uint32_t)kTr_Out : (uint32_t)kTr_In, in _USB_HostKhciStartTranfer()
1107 …usbHostPointer, (transfer->transferPipe->direction == USB_IN) ? (uint32_t)kTr_In : (uint32_t)kTr_O… in _USB_HostKhciStartTranfer()
1843 if ((transfer->direction == USB_IN) && (transfer->transferBuffer != NULL) && in USB_HostKhciWritePipe()
1860 if (transfer->direction == USB_IN) in USB_HostKhciWritePipe()
Dusb_host_ip3516hs.c630 if (direction == USB_IN) in USB_HostIp3516HsBusTime()
656 if (direction == USB_IN) in USB_HostIp3516HsBusTime()
2070 if (USB_IN == tr->direction) in USB_HostIp3516HsWriteControlPipe()
2194 if (USB_IN == tr->direction) in USB_HostIp3516HsWriteBulkPipe()
2309 if (USB_IN == currentTr->direction) in USB_HostIp3516HsWriteIsoPipe()
2369 if (USB_IN == currentTr->direction) in USB_HostIp3516HsWriteIsoPipe()
2477 if (USB_IN == tr->direction) in USB_HostIp3516HsWriteInterruptPipe()
2611 if (USB_IN == trCurrent->direction) in USB_HostIp3516HsCheckIsoTransferSofar()
2804 if (USB_IN == trCurrent->direction) in USB_HostIp3516HsTokenDone()
2817 if (USB_IN == trCurrent->direction) in USB_HostIp3516HsTokenDone()
[all …]
Dusb_host_hci.c426 transfer->direction = USB_IN; in USB_HostSendSetup()
463 transfer->direction = USB_IN; in USB_HostRecv()
Dusb_host_ehci.c1030 if (direction == USB_IN) in USB_HostBandwidthComputeTime()
1056 if (direction == USB_IN) in USB_HostBandwidthComputeTime()
1398 … (uint16_t)USB_HostBandwidthComputeTime(USB_SPEED_HIGH, USB_ENDPOINT_ISOCHRONOUS, USB_IN, 1); in USB_HostBandwidthHsHostAllocateIso()
1399 …eteSplit = (uint16_t)USB_HostBandwidthComputeTime(USB_SPEED_HIGH, USB_ENDPOINT_ISOCHRONOUS, USB_IN, in USB_HostBandwidthHsHostAllocateIso()
1645 …Split = (uint16_t)USB_HostBandwidthComputeTime(USB_SPEED_HIGH, USB_ENDPOINT_INTERRUPT, USB_IN, 1U); in USB_HostBandwidthHsHostAllocateInterrupt()
1646 …pleteSplit = (uint16_t)USB_HostBandwidthComputeTime(USB_SPEED_HIGH, USB_ENDPOINT_INTERRUPT, USB_IN, in USB_HostBandwidthHsHostAllocateInterrupt()
1649 … (uint16_t)USB_HostBandwidthComputeTime(USB_SPEED_HIGH, USB_ENDPOINT_INTERRUPT, USB_IN, 0U); in USB_HostBandwidthHsHostAllocateInterrupt()
3929 if ((transfer->direction == USB_IN) && (transfer->transferSofar > 0U)) in USB_HostEhciTransferCallback()
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/host/class/
Dusb_host_msd.c575 if (transfer->direction == USB_IN) in USB_HostMsdDataCallback()
690 transfer->direction = USB_IN; in USB_HostMsdProcessCommand()
771 msdInstance->msdCommand.dataDirection = USB_IN; in USB_HostMsdCommand()
828 pipeInit.direction = USB_IN; in USB_HostMsdOpenInterface()
Dusb_host_phdc.c499 pipeInit.direction = USB_IN; in USB_HostPhdcOpenInterface()
525 pipeInit.direction = USB_IN; in USB_HostPhdcOpenInterface()
1267 if (direction == USB_IN) in USB_HostPhdcGetEndpointInformation()
Dusb_host_cdc.c278 pipeInit.direction = USB_IN; in USB_HostCdcOpenDataInterface()
408 pipeInit.direction = USB_IN; in USB_HostCdcOpenControlInterface()
1033 if (direction == USB_IN) in USB_HostCdcGetPacketsize()
Dusb_host_printer.c285 pipeInit.direction = USB_IN; in USB_HostPrinterOpenInterface()
618 if (direction == USB_IN) in USB_HostPrinterGetPacketsize()
Dusb_host_hid.c284 pipeInit.direction = USB_IN; in USB_HostHidOpenInterface()
562 if (direction == USB_IN) in USB_HostHidGetPacketsize()
Dusb_host_video.c143 pipe_init.direction = USB_IN; in USB_HostVideoControlOpenInterface()
212 pipe_init.direction = USB_IN; in USB_HostVideoStreamOpenInterface()
Dusb_host_hub.c267 pipeInit.direction = USB_IN; in USB_HostHubSetInterface()
Dusb_host_audio.c311 if (pipe_init.direction == USB_IN) in _USB_HostAudioInitEndpoint()
1189 if (direction == USB_IN) in USB_HostAudioPacketSize()
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/output/source/device/
Dusb_device_ch9.c1244 …epInitStruct.endpointAddress = USB_CONTROL_ENDPOINT | (USB_IN << USB_DESCRIPTOR_ENDPOINT_ADDRESS_D… in USB_DeviceControlPipeInit()
1262 … handle, USB_CONTROL_ENDPOINT | (USB_IN << USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_SHIFT))) in USB_DeviceControlPipeInit()
1268 … handle, USB_CONTROL_ENDPOINT | (USB_IN << USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_SHIFT)); in USB_DeviceControlPipeInit()
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/include/
Dusb_spec.h40 #define USB_IN (1U) macro

12