Home
last modified time | relevance | path

Searched refs:pipe_init (Results 1 – 2 of 2) sorted by relevance

/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/class/
Dusb_host_video.c114 usb_host_pipe_init_t pipe_init; in USB_HostVideoControlOpenInterface() local
141 pipe_init.devInstance = videoInstance->deviceHandle; in USB_HostVideoControlOpenInterface()
142 pipe_init.pipeType = USB_ENDPOINT_INTERRUPT; in USB_HostVideoControlOpenInterface()
143 pipe_init.direction = USB_IN; in USB_HostVideoControlOpenInterface()
144pipe_init.endpointAddress = (ep_desc->bEndpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_NUMBER_MA… in USB_HostVideoControlOpenInterface()
145 pipe_init.interval = ep_desc->bInterval; in USB_HostVideoControlOpenInterface()
146pipe_init.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(ep_desc->wMaxPacketSi… in USB_HostVideoControlOpenInterface()
148pipe_init.numberPerUframe = (uint8_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(ep_desc->wMaxPacketSiz… in USB_HostVideoControlOpenInterface()
150 pipe_init.nakCount = USB_HOST_CONFIG_MAX_NAK; in USB_HostVideoControlOpenInterface()
152 videoInstance->interruptInPacketSize = pipe_init.maxPacketSize; in USB_HostVideoControlOpenInterface()
[all …]
Dusb_host_audio.c296 usb_host_pipe_init_t pipe_init; in _USB_HostAudioInitEndpoint() local
299 pipe_init.devInstance = audioPtr->deviceHandle; in _USB_HostAudioInitEndpoint()
300 pipe_init.pipeType = USB_ENDPOINT_ISOCHRONOUS; in _USB_HostAudioInitEndpoint()
301pipe_init.direction = ((ep_desc->bEndpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTIO… in _USB_HostAudioInitEndpoint()
303pipe_init.endpointAddress = (ep_desc->bEndpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_NUMBER_MA… in _USB_HostAudioInitEndpoint()
304 pipe_init.interval = ep_desc->bInterval; in _USB_HostAudioInitEndpoint()
305pipe_init.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(ep_desc->wMaxPacketSi… in _USB_HostAudioInitEndpoint()
307pipe_init.numberPerUframe = (uint8_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(ep_desc->wMaxPacketSiz… in _USB_HostAudioInitEndpoint()
309 pipe_init.nakCount = USB_HOST_CONFIG_MAX_NAK; in _USB_HostAudioInitEndpoint()
311 if (pipe_init.direction == USB_IN) in _USB_HostAudioInitEndpoint()
[all …]