Home
last modified time | relevance | path

Searched refs:pipeInit (Results 1 – 16 of 16) sorted by relevance

/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/class/
Dusb_host_cdc.c232 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()
279pipeInit.endpointAddress = (ep_desc->bEndpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_NUMBER_MAS… in USB_HostCdcOpenDataInterface()
280 pipeInit.interval = ep_desc->bInterval; in USB_HostCdcOpenDataInterface()
281pipeInit.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(ep_desc->wMaxPacketSiz… in USB_HostCdcOpenDataInterface()
283pipeInit.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 …]
Dusb_host_printer.c245 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()
286pipeInit.endpointAddress = (epDesc->bEndpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_NUMBER_MASK… in USB_HostPrinterOpenInterface()
287 pipeInit.interval = epDesc->bInterval; in USB_HostPrinterOpenInterface()
288pipeInit.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(epDesc->wMaxPacketSize… in USB_HostPrinterOpenInterface()
290pipeInit.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 …]
Dusb_host_phdc.c442 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()
500pipeInit.endpointAddress = (epDesc->bEndpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_NUMBER_MASK… in USB_HostPhdcOpenInterface()
501 pipeInit.interval = epDesc->bInterval; in USB_HostPhdcOpenInterface()
502pipeInit.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(epDesc->wMaxPacketSize… in USB_HostPhdcOpenInterface()
504pipeInit.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 …]
Dusb_host_hid.c244 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()
285pipeInit.endpointAddress = (epDesc->bEndpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_NUMBER_MASK… in USB_HostHidOpenInterface()
286 pipeInit.interval = epDesc->bInterval; in USB_HostHidOpenInterface()
287pipeInit.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(epDesc->wMaxPacketSize… in USB_HostHidOpenInterface()
289pipeInit.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 …]
Dusb_host_msd.c790 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()
829pipeInit.endpointAddress = (epDesc->bEndpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_NUMBER_MASK… in USB_HostMsdOpenInterface()
830 pipeInit.interval = epDesc->bInterval; in USB_HostMsdOpenInterface()
831pipeInit.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(epDesc->wMaxPacketSize… in USB_HostMsdOpenInterface()
833pipeInit.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 …]
Dusb_host_hub.c219 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()
268pipeInit.endpointAddress = (epDesc->bEndpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_NUMBER_MASK… in USB_HostHubSetInterface()
269 pipeInit.interval = epDesc->bInterval; in USB_HostHubSetInterface()
270pipeInit.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(epDesc->wMaxPacketSize… in USB_HostHubSetInterface()
272pipeInit.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/
Dusb_host_devices.c1037 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()
Dusb_host_ohci.c2323 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 …]
Dusb_host_hci.h68 … usb_host_pipe_init_t *pipeInit); /*!< Open a controller pipe function prototype*/
Dusb_host_hci.c353 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()
Dusb_host_ehci.h415 usb_host_pipe_init_t *pipeInit);
Dusb_host.h499 usb_host_pipe_init_t *pipeInit);
Dusb_host_ohci.h536 usb_host_pipe_init_t *pipeInit);
Dusb_host_ip3516hs.c3539 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()
Dusb_host_ehci.c4701 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()
Dusb_host_ip3516hs.h686 usb_host_pipe_init_t *pipeInit);