Searched refs:pipe_init (Results 1 – 2 of 2) sorted by relevance
114 usb_host_pipe_init_t pipe_init; in USB_HostVideoControlOpenInterface() local141 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()144 …pipe_init.endpointAddress = (ep_desc->bEndpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_NUMBER_MA… in USB_HostVideoControlOpenInterface()145 pipe_init.interval = ep_desc->bInterval; in USB_HostVideoControlOpenInterface()146 …pipe_init.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(ep_desc->wMaxPacketSi… in USB_HostVideoControlOpenInterface()148 …pipe_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 …]
296 usb_host_pipe_init_t pipe_init; in _USB_HostAudioInitEndpoint() local299 pipe_init.devInstance = audioPtr->deviceHandle; in _USB_HostAudioInitEndpoint()300 pipe_init.pipeType = USB_ENDPOINT_ISOCHRONOUS; in _USB_HostAudioInitEndpoint()301 …pipe_init.direction = ((ep_desc->bEndpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTIO… in _USB_HostAudioInitEndpoint()303 …pipe_init.endpointAddress = (ep_desc->bEndpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_NUMBER_MA… in _USB_HostAudioInitEndpoint()304 pipe_init.interval = ep_desc->bInterval; in _USB_HostAudioInitEndpoint()305 …pipe_init.maxPacketSize = (uint16_t)((USB_SHORT_FROM_LITTLE_ENDIAN_ADDRESS(ep_desc->wMaxPacketSi… in _USB_HostAudioInitEndpoint()307 …pipe_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 …]