Searched refs:ep_desc (Results 1 – 3 of 3) sorted by relevance
233 usb_descriptor_endpoint_t *ep_desc = NULL; in USB_HostCdcOpenDataInterface() local271 ep_desc = interfaceHandle->epList[ep_index].epDesc; in USB_HostCdcOpenDataInterface()272 if (((ep_desc->bEndpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) == in USB_HostCdcOpenDataInterface()274 … ((ep_desc->bmAttributes & USB_DESCRIPTOR_ENDPOINT_ATTRIBUTE_TYPE_MASK) == USB_ENDPOINT_BULK)) 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()297 else if (((ep_desc->bEndpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) == in USB_HostCdcOpenDataInterface()299 … ((ep_desc->bmAttributes & USB_DESCRIPTOR_ENDPOINT_ATTRIBUTE_TYPE_MASK) == USB_ENDPOINT_BULK)) in USB_HostCdcOpenDataInterface()[all …]
294 …status_t _USB_HostAudioInitEndpoint(audio_instance_t *audioPtr, usb_descriptor_endpoint_t *ep_desc) in _USB_HostAudioInitEndpoint() argument301 …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()338 usb_descriptor_endpoint_t *ep_desc = NULL; in _USB_HostAudioOpenInterface() local370 ep_desc = interface_ptr->epList[ep_index].epDesc; in _USB_HostAudioOpenInterface()371 if (((ep_desc->bEndpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) == in _USB_HostAudioOpenInterface()373 …((ep_desc->bmAttributes & USB_DESCRIPTOR_ENDPOINT_ATTRIBUTE_TYPE_MASK) == USB_ENDPOINT_ISOCHRONOUS… in _USB_HostAudioOpenInterface()[all …]
115 usb_descriptor_endpoint_t *ep_desc = NULL; in USB_HostVideoControlOpenInterface() local136 ep_desc = interface_ptr->epList[ep_index].epDesc; in USB_HostVideoControlOpenInterface()137 if (((ep_desc->bEndpointAddress & USB_DESCRIPTOR_ENDPOINT_ADDRESS_DIRECTION_MASK) == in USB_HostVideoControlOpenInterface()139 … ((ep_desc->bmAttributes & USB_DESCRIPTOR_ENDPOINT_ATTRIBUTE_TYPE_MASK) == USB_ENDPOINT_INTERRUPT)) 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()183 usb_descriptor_endpoint_t *ep_desc = NULL; in USB_HostVideoStreamOpenInterface() local205 ep_desc = interface_ptr->epList[ep_index].epDesc; in USB_HostVideoStreamOpenInterface()[all …]