| /hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/device/ |
| D | usb_device_khci.c | 279 uint16_t maxPacketSize = epInit->maxPacketSize; in USB_DeviceKhciEndpointInit() local 288 if (maxPacketSize > USB_DEVICE_MAX_FS_ISO_MAX_PACKET_SIZE) in USB_DeviceKhciEndpointInit() 290 maxPacketSize = USB_DEVICE_MAX_FS_ISO_MAX_PACKET_SIZE; in USB_DeviceKhciEndpointInit() 295 if (maxPacketSize > USB_DEVICE_MAX_FS_NONE_ISO_MAX_PACKET_SIZE) in USB_DeviceKhciEndpointInit() 297 maxPacketSize = USB_DEVICE_MAX_FS_NONE_ISO_MAX_PACKET_SIZE; in USB_DeviceKhciEndpointInit() 305 khciState->endpointState[index].stateUnion.stateBitField.maxPacketSize = maxPacketSize; in USB_DeviceKhciEndpointInit() 405 khciState->endpointState[index].stateUnion.stateBitField.maxPacketSize = 0U; in USB_DeviceKhciEndpointDeinit() 452 … (uint32_t)(USB_KHCI_BDT_BC(khciState->endpointState[0].stateUnion.stateBitField.maxPacketSize) | in USB_DeviceKhciEndpointStall() 459 … (uint32_t)(USB_KHCI_BDT_BC(khciState->endpointState[1].stateUnion.stateBitField.maxPacketSize) | in USB_DeviceKhciEndpointStall() 525 …uint32_t)(USB_KHCI_BDT_BC(khciState->endpointState[index].stateUnion.stateBitField.maxPacketSize) | in USB_DeviceKhciEndpointStall() [all …]
|
| D | usb_device_lpcip3511.c | 521 uint16_t maxPacketSize = in USB_DeviceLpc3511IpEndpointInit() local 522 …(uint16_t)((((epInit->maxPacketSize & USB_DESCRIPTOR_ENDPOINT_MAXPACKETSIZE_MULT_TRANSACTIONS_MASK… in USB_DeviceLpc3511IpEndpointInit() 525 (epInit->maxPacketSize & USB_DESCRIPTOR_ENDPOINT_MAXPACKETSIZE_SIZE_MASK)); in USB_DeviceLpc3511IpEndpointInit() 535 epState->stateUnion.stateBitField.maxPacketSize = maxPacketSize; in USB_DeviceLpc3511IpEndpointInit() 609 allocateLength = USB_LPC3511IP_GET_MULTIPLE_OF_64(maxPacketSize); in USB_DeviceLpc3511IpEndpointInit() 612 allocateLength = USB_LPC3511IP_GET_MULTIPLE_OF_64(maxPacketSize); in USB_DeviceLpc3511IpEndpointInit() 678 … USB_LPC3511IP_GET_MULTIPLE_OF_64(epState->stateUnion.stateBitField.maxPacketSize) * 2U); in USB_DeviceLpc3511IpEndpointDeinit() 683 … USB_LPC3511IP_GET_MULTIPLE_OF_64(epState->stateUnion.stateBitField.maxPacketSize) * 2U); in USB_DeviceLpc3511IpEndpointDeinit() 687 … epState->stateUnion.stateBitField.maxPacketSize); in USB_DeviceLpc3511IpEndpointDeinit() 699 epState->stateUnion.stateBitField.maxPacketSize = 0U; in USB_DeviceLpc3511IpEndpointDeinit() [all …]
|
| D | usb_device_ehci.c | 188 …ehciState->qh[i].capabilttiesCharacteristicsUnion.capabilttiesCharacteristicsBitmap.maxPacketSize = in USB_DeviceEhciSetDefaultState() 249 … uint16_t maxPacketSize = epInit->maxPacketSize & USB_DESCRIPTOR_ENDPOINT_MAXPACKETSIZE_SIZE_MASK; in USB_DeviceEhciEndpointInit() local 274 if (maxPacketSize > USB_DEVICE_MAX_HS_ISO_MAX_PACKET_SIZE) in USB_DeviceEhciEndpointInit() 276 maxPacketSize = USB_DEVICE_MAX_HS_ISO_MAX_PACKET_SIZE; in USB_DeviceEhciEndpointInit() 279 …1UL + ((((uint32_t)epInit->maxPacketSize) & USB_DESCRIPTOR_ENDPOINT_MAXPACKETSIZE_MULT_TRANSACTION… in USB_DeviceEhciEndpointInit() 288 …State->qh[index].capabilttiesCharacteristicsUnion.capabilttiesCharacteristicsBitmap.maxPacketSize = in USB_DeviceEhciEndpointInit() 289 maxPacketSize; in USB_DeviceEhciEndpointInit() 1211 … .capabilttiesCharacteristicsUnion.capabilttiesCharacteristicsBitmap.maxPacketSize)))
|
| D | usb_device_mcux_drv_port.h | 73 uint16_t maxPacketSize; /*!< Endpoint maximum packet size */ member
|
| D | usb_device_lpcip3511.h | 117 uint32_t maxPacketSize : 12U; /*!< The maximum packet size of the endpoint */ member
|
| D | usb_device_ehci.h | 70 volatile uint32_t maxPacketSize : 11; member
|
| D | usb_device_khci.h | 100 uint32_t maxPacketSize : 10U; /*!< The maximum packet size of the endpoint */ member
|
| /hal_nxp-latest/mcux/mcux-sdk/components/serial_manager/usb_cdc_adapter/ |
| D | usb_device_descriptor.c | 463 g_UsbDeviceCdcVcomCicEndpoints[i].maxPacketSize = HS_CDC_VCOM_INTERRUPT_IN_PACKET_SIZE; in USB_DeviceSetSpeed() 467 g_UsbDeviceCdcVcomCicEndpoints[i].maxPacketSize = FS_CDC_VCOM_INTERRUPT_IN_PACKET_SIZE; in USB_DeviceSetSpeed() 477 g_UsbDeviceCdcVcomDicEndpoints[i].maxPacketSize = HS_CDC_VCOM_BULK_IN_PACKET_SIZE; in USB_DeviceSetSpeed() 481 g_UsbDeviceCdcVcomDicEndpoints[i].maxPacketSize = HS_CDC_VCOM_BULK_OUT_PACKET_SIZE; in USB_DeviceSetSpeed() 489 g_UsbDeviceCdcVcomDicEndpoints[i].maxPacketSize = FS_CDC_VCOM_BULK_IN_PACKET_SIZE; in USB_DeviceSetSpeed() 493 g_UsbDeviceCdcVcomDicEndpoints[i].maxPacketSize = FS_CDC_VCOM_BULK_OUT_PACKET_SIZE; in USB_DeviceSetSpeed()
|
| /hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/host/ |
| D | usb_host_ip3516hs.c | 1050 uint8_t slots = (uint8_t)((pipe->pipeCommon.maxPacketSize + 187U) / 188U); in USB_HostIp3516HsFillSlotBusTime() 1073 …slotTime[startSlot + slots - 1U] = (uint8_t)(((pipe->pipeCommon.maxPacketSize % 188U) * 125U) / 18… in USB_HostIp3516HsFillSlotBusTime() 1087 …slotTime[startSlot + 1U + slots - 1U] = (uint8_t)(((pipe->pipeCommon.maxPacketSize % 188U) * 125U)… in USB_HostIp3516HsFillSlotBusTime() 1288 ((uint32_t)pipe->pipeCommon.maxPacketSize) * ((uint32_t)pipe->pipeCommon.numberPerUframe)); in USB_HostIp3516BaudWidthCheck() 1294 … speed, pipe->pipeCommon.pipeType, pipe->pipeCommon.direction, pipe->pipeCommon.maxPacketSize); in USB_HostIp3516BaudWidthCheck() 1322 pipe->pipeCommon.maxPacketSize; in USB_HostIp3516HsOpenControlBulkPipe() 1409 pipe->pipeCommon.maxPacketSize; in USB_HostIp3516HsOpenIsoPipe() 1506 pipe->pipeCommon.maxPacketSize; in USB_HostIp3516HsOpenInterruptPipe() 2011 transferLength = pipe->pipeCommon.maxPacketSize; in USB_HostIp3516HsWriteControlPipe() 2013 … pipe->pipeCommon.maxPacketSize, &pipe->bufferIndex, in USB_HostIp3516HsWriteControlPipe() [all …]
|
| D | usb_host_ohci.c | 852 ((uint32_t)pipe->pipeCommon.maxPacketSize) * ((uint32_t)pipe->pipeCommon.numberPerUframe)); in USB_HostOhciOpenIsoPipe() 899 ((uint32_t)pipe->pipeCommon.maxPacketSize) * ((uint32_t)pipe->pipeCommon.numberPerUframe)); in USB_HostOhciOpenInterruptPipe() 1717 tdLength -= tdLength % pipe->pipeCommon.maxPacketSize; in USB_HostOhciLinkGtdTr() 1756 tdLength -= tdLength % pipe->pipeCommon.maxPacketSize; in USB_HostOhciLinkGtdTr() 1812 itd->stateUnion.stateBitField.FC = (length - 1U) / pipe->pipeCommon.maxPacketSize; in USB_HostOhciFillItd() 1818 …itd->OffsetPSW[i] = (uint16_t)((((uint32_t)buffer + (i * pipe->pipeCommon.maxPacketSize)) & 0xFFFU… in USB_HostOhciFillItd() 1820 …if ((((uint32_t)buffer + (i * pipe->pipeCommon.maxPacketSize)) & USB_HOST_OHCI_ITD_BP0_MASK) != it… in USB_HostOhciFillItd() 1851 tdCount = ((remainingLength - 1U) / (pipe->pipeCommon.maxPacketSize)) + 1U; in USB_HostOhciLinkItdTr() 1881 tdLength = ((uint32_t)pipe->pipeCommon.maxPacketSize) * ((uint32_t)tansaction); in USB_HostOhciLinkItdTr() 2344 pipe->pipeCommon.maxPacketSize = pipeInit->maxPacketSize; in USB_HostOhciOpenPipe() [all …]
|
| D | usb_host_khci.c | 908 len = (len > pipeDescPointer->maxPacketSize) ? pipeDescPointer->maxPacketSize : len; in _USB_HostKhciAtomNonblockingTransaction() 1158 ((uint32_t)transferResult < transfer->transferPipe->maxPacketSize)) in _USB_HostKhciFinishTranfer() 1173 ((uint32_t)transferResult < transfer->transferPipe->maxPacketSize)) in _USB_HostKhciFinishTranfer() 1741 pipePointer->maxPacketSize = pipeInitPointer->maxPacketSize; in USB_HostKhciOpenPipe() 1851 if (pipePointer->maxPacketSize > USB_HOST_CONFIG_KHCI_DMA_ALIGN_BUFFER) in USB_HostKhciWritePipe() 1922 if (pipePointer->maxPacketSize > USB_HOST_CONFIG_KHCI_DMA_ALIGN_BUFFER) in USB_HostKhciReadpipe()
|
| D | usb_host_ehci.c | 1362 …(((uint32_t)ehciPipePointer->pipeCommon.maxPacketSize) * ehciPipePointer->pipeCommon.numberPerUfra… in USB_HostBandwidthHsHostAllocateIso() 1392 … ehciPipePointer->pipeCommon.maxPacketSize); in USB_HostBandwidthHsHostAllocateIso() 1400 … ehciPipePointer->pipeCommon.maxPacketSize); in USB_HostBandwidthHsHostAllocateIso() 1412 SsCsNumber = (uint8_t)((ehciPipePointer->pipeCommon.maxPacketSize + 187U) / in USB_HostBandwidthHsHostAllocateIso() 1593 …(uint32_t)ehciPipePointer->pipeCommon.maxPacketSize * ehciPipePointer->pipeCommon.numberPerUframe); in USB_HostBandwidthHsHostAllocateInterrupt() 1637 … ehciPipePointer->pipeCommon.maxPacketSize); in USB_HostBandwidthHsHostAllocateInterrupt() 1647 … ehciPipePointer->pipeCommon.maxPacketSize); in USB_HostBandwidthHsHostAllocateInterrupt() 1755 ehciPipePointer->pipeCommon.maxPacketSize); in USB_HostBandwidthFslsHostAllocate() 2536 …controlBits1 |= ((uint32_t)ehciPipePointer->pipeCommon.maxPacketSize << EHCI_HOST_QH_MAX_PACKET_LE… in USB_HostEhciQhInit() 2837 sitdNumber = ((transfer->transferLength - 1U + (ehciPipePointer->pipeCommon.maxPacketSize)) / in USB_HostEhciSitdArrayInit() [all …]
|
| D | usb_host.h | 229 uint16_t maxPacketSize; /*!< Maximum packet size*/ member 275 uint16_t maxPacketSize; /*!< Pipe's maximum packet size*/ member
|
| /hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/host/class/ |
| D | usb_host_cdc.c | 281 …pipeInit.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(ep_desc->wMaxPacketSiz… in USB_HostCdcOpenDataInterface() 287 cdcInstance->bulkInPacketSize = pipeInit.maxPacketSize; in USB_HostCdcOpenDataInterface() 306 …pipeInit.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(ep_desc->wMaxPacketSiz… in USB_HostCdcOpenDataInterface() 312 cdcInstance->bulkOutPacketSize = pipeInit.maxPacketSize; in USB_HostCdcOpenDataInterface() 411 …pipeInit.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(ep_desc->wMaxPacketSiz… in USB_HostCdcOpenControlInterface() 417 cdcInstance->packetSize = pipeInit.maxPacketSize; in USB_HostCdcOpenControlInterface()
|
| D | usb_host_printer.c | 288 …pipeInit.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(epDesc->wMaxPacketSize… in USB_HostPrinterOpenInterface() 294 printerInstance->inPacketSize = pipeInit.maxPacketSize; in USB_HostPrinterOpenInterface() 314 …pipeInit.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(epDesc->wMaxPacketSize… in USB_HostPrinterOpenInterface() 320 printerInstance->outPacketSize = pipeInit.maxPacketSize; in USB_HostPrinterOpenInterface()
|
| D | usb_host_hid.c | 287 …pipeInit.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(epDesc->wMaxPacketSize… in USB_HostHidOpenInterface() 293 hidInstance->inPacketSize = pipeInit.maxPacketSize; in USB_HostHidOpenInterface() 313 …pipeInit.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(epDesc->wMaxPacketSize… in USB_HostHidOpenInterface() 319 hidInstance->outPacketSize = pipeInit.maxPacketSize; in USB_HostHidOpenInterface()
|
| D | usb_host_video.c | 146 …pipe_init.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(ep_desc->wMaxPacketSi… in USB_HostVideoControlOpenInterface() 152 videoInstance->interruptInPacketSize = pipe_init.maxPacketSize; in USB_HostVideoControlOpenInterface() 215 …pipe_init.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(ep_desc->wMaxPacketSi… in USB_HostVideoStreamOpenInterface() 222 videoInstance->isoInPacketSize = pipe_init.maxPacketSize; in USB_HostVideoStreamOpenInterface()
|
| D | usb_host_phdc.c | 502 …pipeInit.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(epDesc->wMaxPacketSize… in USB_HostPhdcOpenInterface() 527 …pipeInit.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(epDesc->wMaxPacketSize… in USB_HostPhdcOpenInterface() 553 …pipeInit.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(epDesc->wMaxPacketSize… in USB_HostPhdcOpenInterface()
|
| /hal_nxp-latest/mcux/mcux-sdk/components/serial_manager/ |
| D | fsl_component_serial_port_usb.c | 321 (0U == (epCbParam->length % g_UsbDeviceCdcVcomDicEndpoints[0].maxPacketSize))) in USB_DeviceCdcVcomCallback() 608 g_UsbDeviceCdcVcomDicEndpoints[0].maxPacketSize); in USB_DeviceCallback() 956 if (length < g_UsbDeviceCdcVcomDicEndpoints[0].maxPacketSize) in Serial_UsbCdcRead() 965 primeLength = g_UsbDeviceCdcVcomDicEndpoints[0].maxPacketSize; in Serial_UsbCdcRead()
|
| /hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/output/source/device/class/ |
| D | usb_device_cdc_acm.c | 244 epInitStruct.maxPacketSize = interface->endpointList.endpoint[count].maxPacketSize; in USB_DeviceCdcAcmEndpointsInit() 292 epInitStruct.maxPacketSize = interface->endpointList.endpoint[count].maxPacketSize; in USB_DeviceCdcAcmEndpointsInit()
|
| D | usb_device_video.c | 317 epInitStruct.maxPacketSize = interface->endpointList.endpoint[count].maxPacketSize; in USB_DeviceVideoStreamEndpointsInit() 439 epInitStruct.maxPacketSize = interface->endpointList.endpoint[count].maxPacketSize; in USB_DeviceVideoControlEndpointsInit()
|
| D | usb_device_audio.c | 335 epInitStruct.maxPacketSize = interface->endpointList.endpoint[count].maxPacketSize; in USB_DeviceAudioStreamEndpointsInit() 488 epInitStruct.maxPacketSize = interface->endpointList.endpoint[count].maxPacketSize; in USB_DeviceAudioControlEndpointsInit()
|
| D | usb_device_printer.c | 206 epInitStruct.maxPacketSize = interface->endpointList.endpoint[index].maxPacketSize; in USB_DevicePrinterEndpointsInit()
|
| D | usb_device_hid.c | 239 epInitStruct.maxPacketSize = interface->endpointList.endpoint[count].maxPacketSize; in USB_DeviceHidEndpointsInit()
|
| D | usb_device_phdc.c | 268 epInitStruct.maxPacketSize = interface->endpointList.endpoint[count].maxPacketSize; in USB_DevicePhdcEndpointsInit()
|