Searched refs:pipeInit (Results 1 – 16 of 16) sorted by relevance
/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/class/ |
D | usb_host_cdc.c | 232 usb_host_pipe_init_t pipeInit; in USB_HostCdcOpenDataInterface() local 276 pipeInit.devInstance = cdcInstance->deviceHandle; in USB_HostCdcOpenDataInterface() 277 pipeInit.pipeType = USB_ENDPOINT_BULK; in USB_HostCdcOpenDataInterface() 278 pipeInit.direction = USB_IN; in USB_HostCdcOpenDataInterface() 279 …pipeInit.endpointAddress = (ep_desc->bEndpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_NUMBER_MAS… in USB_HostCdcOpenDataInterface() 280 pipeInit.interval = ep_desc->bInterval; in USB_HostCdcOpenDataInterface() 281 …pipeInit.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(ep_desc->wMaxPacketSiz… in USB_HostCdcOpenDataInterface() 283 …pipeInit.numberPerUframe = (uint8_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(ep_desc->wMaxPacketSize… in USB_HostCdcOpenDataInterface() 285 pipeInit.nakCount = USB_HOST_CONFIG_MAX_NAK; in USB_HostCdcOpenDataInterface() 287 cdcInstance->bulkInPacketSize = pipeInit.maxPacketSize; in USB_HostCdcOpenDataInterface() [all …]
|
D | usb_host_printer.c | 245 usb_host_pipe_init_t pipeInit; in USB_HostPrinterOpenInterface() local 283 pipeInit.devInstance = printerInstance->deviceHandle; in USB_HostPrinterOpenInterface() 284 pipeInit.pipeType = USB_ENDPOINT_BULK; in USB_HostPrinterOpenInterface() 285 pipeInit.direction = USB_IN; in USB_HostPrinterOpenInterface() 286 …pipeInit.endpointAddress = (epDesc->bEndpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_NUMBER_MASK… in USB_HostPrinterOpenInterface() 287 pipeInit.interval = epDesc->bInterval; in USB_HostPrinterOpenInterface() 288 …pipeInit.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(epDesc->wMaxPacketSize… in USB_HostPrinterOpenInterface() 290 …pipeInit.numberPerUframe = (uint8_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(epDesc->wMaxPacketSize)… in USB_HostPrinterOpenInterface() 292 pipeInit.nakCount = USB_HOST_CONFIG_MAX_NAK; in USB_HostPrinterOpenInterface() 294 printerInstance->inPacketSize = pipeInit.maxPacketSize; in USB_HostPrinterOpenInterface() [all …]
|
D | usb_host_phdc.c | 442 usb_host_pipe_init_t pipeInit; in USB_HostPhdcOpenInterface() local 497 pipeInit.devInstance = phdcInstance->deviceHandle; in USB_HostPhdcOpenInterface() 498 pipeInit.pipeType = USB_ENDPOINT_INTERRUPT; in USB_HostPhdcOpenInterface() 499 pipeInit.direction = USB_IN; in USB_HostPhdcOpenInterface() 500 …pipeInit.endpointAddress = (epDesc->bEndpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_NUMBER_MASK… in USB_HostPhdcOpenInterface() 501 pipeInit.interval = epDesc->bInterval; in USB_HostPhdcOpenInterface() 502 …pipeInit.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(epDesc->wMaxPacketSize… in USB_HostPhdcOpenInterface() 504 …pipeInit.numberPerUframe = (uint8_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(epDesc->wMaxPacketSize)… in USB_HostPhdcOpenInterface() 506 pipeInit.nakCount = USB_HOST_CONFIG_MAX_NAK; in USB_HostPhdcOpenInterface() 507 … status = USB_HostOpenPipe(phdcInstance->hostHandle, &phdcInstance->interruptPipe, &pipeInit); in USB_HostPhdcOpenInterface() [all …]
|
D | usb_host_hid.c | 244 usb_host_pipe_init_t pipeInit; in USB_HostHidOpenInterface() local 282 pipeInit.devInstance = hidInstance->deviceHandle; in USB_HostHidOpenInterface() 283 pipeInit.pipeType = USB_ENDPOINT_INTERRUPT; in USB_HostHidOpenInterface() 284 pipeInit.direction = USB_IN; in USB_HostHidOpenInterface() 285 …pipeInit.endpointAddress = (epDesc->bEndpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_NUMBER_MASK… in USB_HostHidOpenInterface() 286 pipeInit.interval = epDesc->bInterval; in USB_HostHidOpenInterface() 287 …pipeInit.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(epDesc->wMaxPacketSize… in USB_HostHidOpenInterface() 289 …pipeInit.numberPerUframe = (uint8_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(epDesc->wMaxPacketSize)… in USB_HostHidOpenInterface() 291 pipeInit.nakCount = USB_HOST_CONFIG_MAX_NAK; in USB_HostHidOpenInterface() 293 hidInstance->inPacketSize = pipeInit.maxPacketSize; in USB_HostHidOpenInterface() [all …]
|
D | usb_host_msd.c | 790 usb_host_pipe_init_t pipeInit; in USB_HostMsdOpenInterface() local 826 pipeInit.devInstance = msdInstance->deviceHandle; in USB_HostMsdOpenInterface() 827 pipeInit.pipeType = USB_ENDPOINT_BULK; in USB_HostMsdOpenInterface() 828 pipeInit.direction = USB_IN; in USB_HostMsdOpenInterface() 829 …pipeInit.endpointAddress = (epDesc->bEndpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_NUMBER_MASK… in USB_HostMsdOpenInterface() 830 pipeInit.interval = epDesc->bInterval; in USB_HostMsdOpenInterface() 831 …pipeInit.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(epDesc->wMaxPacketSize… in USB_HostMsdOpenInterface() 833 …pipeInit.numberPerUframe = (uint8_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(epDesc->wMaxPacketSize)… in USB_HostMsdOpenInterface() 835 pipeInit.nakCount = USB_HOST_CONFIG_MAX_NAK; in USB_HostMsdOpenInterface() 837 status = USB_HostOpenPipe(msdInstance->hostHandle, &msdInstance->inPipe, &pipeInit); in USB_HostMsdOpenInterface() [all …]
|
D | usb_host_hub.c | 219 usb_host_pipe_init_t pipeInit; in USB_HostHubSetInterface() local 265 pipeInit.devInstance = hubInstance->deviceHandle; in USB_HostHubSetInterface() 266 pipeInit.pipeType = USB_ENDPOINT_INTERRUPT; in USB_HostHubSetInterface() 267 pipeInit.direction = USB_IN; in USB_HostHubSetInterface() 268 …pipeInit.endpointAddress = (epDesc->bEndpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_NUMBER_MASK… in USB_HostHubSetInterface() 269 pipeInit.interval = epDesc->bInterval; in USB_HostHubSetInterface() 270 …pipeInit.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(epDesc->wMaxPacketSize… in USB_HostHubSetInterface() 272 …pipeInit.numberPerUframe = (uint8_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(epDesc->wMaxPacketSize)… in USB_HostHubSetInterface() 274 pipeInit.nakCount = USB_HOST_CONFIG_MAX_NAK; in USB_HostHubSetInterface() 277 … status = USB_HostOpenPipe(hubInstance->hostHandle, &hubInstance->interruptPipe, &pipeInit); in USB_HostHubSetInterface()
|
/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/ |
D | usb_host_devices.c | 1037 usb_host_pipe_init_t pipeInit; in USB_HostAttachDevice() local 1156 pipeInit.devInstance = newInstance; in USB_HostAttachDevice() 1157 pipeInit.pipeType = USB_ENDPOINT_CONTROL; in USB_HostAttachDevice() 1158 pipeInit.direction = 0; in USB_HostAttachDevice() 1159 pipeInit.endpointAddress = 0; in USB_HostAttachDevice() 1160 pipeInit.interval = 0; in USB_HostAttachDevice() 1161 pipeInit.maxPacketSize = 8; in USB_HostAttachDevice() 1162 pipeInit.numberPerUframe = 0; in USB_HostAttachDevice() 1163 pipeInit.nakCount = USB_HOST_CONFIG_MAX_NAK; in USB_HostAttachDevice() 1164 if (USB_HostOpenPipe(hostHandle, &newInstance->controlPipe, &pipeInit) != kStatus_USB_Success) in USB_HostAttachDevice()
|
D | usb_host_ohci.c | 2323 usb_host_pipe_init_t *pipeInit) in USB_HostOhciOpenPipe() argument 2340 pipe->pipeCommon.deviceHandle = pipeInit->devInstance; in USB_HostOhciOpenPipe() 2341 pipe->pipeCommon.endpointAddress = pipeInit->endpointAddress; in USB_HostOhciOpenPipe() 2342 pipe->pipeCommon.direction = pipeInit->direction; in USB_HostOhciOpenPipe() 2343 pipe->pipeCommon.interval = pipeInit->interval; in USB_HostOhciOpenPipe() 2344 pipe->pipeCommon.maxPacketSize = pipeInit->maxPacketSize; in USB_HostOhciOpenPipe() 2345 pipe->pipeCommon.pipeType = pipeInit->pipeType; in USB_HostOhciOpenPipe() 2347 pipe->pipeCommon.nakCount = pipeInit->nakCount; in USB_HostOhciOpenPipe() 2351 pipe->ed->stateUnion.stateBitField.EN = pipeInit->endpointAddress; in USB_HostOhciOpenPipe() 2352 pipe->ed->stateUnion.stateBitField.D = (USB_OUT == pipeInit->direction) ? 1U : 2U; in USB_HostOhciOpenPipe() [all …]
|
D | usb_host_hci.h | 68 … usb_host_pipe_init_t *pipeInit); /*!< Open a controller pipe function prototype*/
|
D | usb_host_hci.c | 353 usb_host_pipe_init_t *pipeInit) in USB_HostOpenPipe() argument 358 if ((hostHandle == NULL) || (pipeInit == NULL)) in USB_HostOpenPipe() 364 …nstance->controllerTable->controllerOpenPipe(hostInstance->controllerHandle, pipeHandle, pipeInit); in USB_HostOpenPipe()
|
D | usb_host_ehci.h | 415 usb_host_pipe_init_t *pipeInit);
|
D | usb_host.h | 499 usb_host_pipe_init_t *pipeInit);
|
D | usb_host_ohci.h | 536 usb_host_pipe_init_t *pipeInit);
|
D | usb_host_ip3516hs.c | 3539 usb_host_pipe_init_t *pipeInit) in USB_HostIp3516HsOpenPipe() argument 3555 pipe->pipeCommon.deviceHandle = pipeInit->devInstance; in USB_HostIp3516HsOpenPipe() 3556 pipe->pipeCommon.endpointAddress = pipeInit->endpointAddress; in USB_HostIp3516HsOpenPipe() 3557 pipe->pipeCommon.direction = pipeInit->direction; in USB_HostIp3516HsOpenPipe() 3558 pipe->pipeCommon.interval = pipeInit->interval; in USB_HostIp3516HsOpenPipe() 3559 pipe->pipeCommon.maxPacketSize = pipeInit->maxPacketSize; in USB_HostIp3516HsOpenPipe() 3560 pipe->pipeCommon.pipeType = pipeInit->pipeType; in USB_HostIp3516HsOpenPipe() 3561 pipe->pipeCommon.numberPerUframe = (pipeInit->numberPerUframe + 1U) & 0x03U; in USB_HostIp3516HsOpenPipe() 3562 pipe->pipeCommon.nakCount = pipeInit->nakCount; in USB_HostIp3516HsOpenPipe()
|
D | usb_host_ehci.c | 4701 usb_host_pipe_init_t *pipeInit) in USB_HostEhciOpenPipe() argument 4727 ehciPipePointer->pipeCommon.deviceHandle = pipeInit->devInstance; in USB_HostEhciOpenPipe() 4728 ehciPipePointer->pipeCommon.endpointAddress = pipeInit->endpointAddress; in USB_HostEhciOpenPipe() 4729 ehciPipePointer->pipeCommon.direction = pipeInit->direction; in USB_HostEhciOpenPipe() 4730 ehciPipePointer->pipeCommon.interval = pipeInit->interval; in USB_HostEhciOpenPipe() 4731 ehciPipePointer->pipeCommon.maxPacketSize = pipeInit->maxPacketSize; in USB_HostEhciOpenPipe() 4732 ehciPipePointer->pipeCommon.pipeType = pipeInit->pipeType; in USB_HostEhciOpenPipe() 4733 ehciPipePointer->pipeCommon.numberPerUframe = pipeInit->numberPerUframe + 1U; in USB_HostEhciOpenPipe() 4738 ehciPipePointer->pipeCommon.nakCount = pipeInit->nakCount; in USB_HostEhciOpenPipe()
|
D | usb_host_ip3516hs.h | 686 usb_host_pipe_init_t *pipeInit);
|