Home
last modified time | relevance | path

Searched refs:endpoint (Results 1 – 24 of 24) sorted by relevance

/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/include/
A Dusb_host_common.h465 struct usb_host_virt_endpoint *endpoint; //有desc.bNumEndpoint个 member
565 static inline unsigned int __create_pipe(struct usb_host_virt_dev *dev, unsigned int endpoint) in __create_pipe() argument
567 return (dev->devnum << 8) | (endpoint << 15); in __create_pipe()
571 #define usb_sndctrlpipe(dev,endpoint) ((PIPE_CONTROL << 30) | __create_pipe(dev,endpoint)) argument
572 #define usb_rcvctrlpipe(dev,endpoint) ((PIPE_CONTROL << 30) | __create_pipe(dev,endpoint) | USB_D… argument
573 #define usb_sndisocpipe(dev,endpoint) ((PIPE_ISOCHRONOUS << 30) | __create_pipe(dev,endpoint)) argument
574 #define usb_rcvisocpipe(dev,endpoint) ((PIPE_ISOCHRONOUS << 30) | __create_pipe(dev,endpoint) | U… argument
575 #define usb_sndbulkpipe(dev,endpoint) ((PIPE_BULK << 30) | __create_pipe(dev,endpoint)) argument
576 #define usb_rcvbulkpipe(dev,endpoint) ((PIPE_BULK << 30) | __create_pipe(dev,endpoint) | USB_DIR_… argument
577 #define usb_sndintpipe(dev,endpoint) ((PIPE_INTERRUPT << 30) | __create_pipe(dev,endpoint)) argument
[all …]
A Dusb.h59 struct usb_host_endpoint *endpoint; member
/bsp/microchip/samd51-adafruit-metro-m4/bsp/hal/documentation/
A Dusb_device_async.rst24 * Initialize endpoint 0
42 * Enable endpoint 0
77 * Control endpoint setup request packet
89 * In case a setup request received on control endpoint
159 Each USB device endpoint number supports two endpoint addresses, corresponding
160 to IN and OUT endpoint. E.g., for endpoint 1, the endpoint IN has address 0x81
161 and endpoint OUT has address 0x01. Thus, the possible supported endpoint
162 addresses are almost two times of max endpoint number (endpoint 0 must be used
163 as control endpoint instead of dedicated IN and OUT endpoints).
173 * For IN endpoint (transmit to host) the data must in RAM.
[all …]
/bsp/microchip/samd51-seeed-wio-terminal/bsp/hal/documentation/
A Dusb_device_async.rst24 * Initialize endpoint 0
42 * Enable endpoint 0
77 * Control endpoint setup request packet
89 * In case a setup request received on control endpoint
159 Each USB device endpoint number supports two endpoint addresses, corresponding
160 to IN and OUT endpoint. E.g., for endpoint 1, the endpoint IN has address 0x81
161 and endpoint OUT has address 0x01. Thus, the possible supported endpoint
162 addresses are almost two times of max endpoint number (endpoint 0 must be used
163 as control endpoint instead of dedicated IN and OUT endpoints).
173 * For IN endpoint (transmit to host) the data must in RAM.
[all …]
/bsp/nxp/imx/imx6ull-smart/drivers/usb/device/
A Dusb_device_ehci.c70 uint8_t endpoint,
339 if (!endpoint) in USB_DeviceEhciEndpointDeinit()
377 if (!endpoint) in USB_DeviceEhciEndpointStall()
388 if (!endpoint) in USB_DeviceEhciEndpointStall()
419 if (!endpoint) in USB_DeviceEhciEndpointUnstall()
483 uint8_t endpoint, in USB_DeviceEhciCancelControlPipe() argument
568 uint8_t endpoint; in USB_DeviceEhciInterruptTokenDone() local
578 for (endpoint = 0U; endpoint < USB_DEVICE_CONFIG_ENDPOINTS; endpoint++) in USB_DeviceEhciInterruptTokenDone()
581 if (status & (1U << endpoint)) in USB_DeviceEhciInterruptTokenDone()
619 endpoint = count - 16U; in USB_DeviceEhciInterruptTokenDone()
[all …]
A Dusb_device_dci.c270 uint8_t endpoint = endpointAddress & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceTransfer() local
282 if (deviceHandle->epCallback[(uint8_t)((uint32_t)endpoint << 1U) | direction].isBusy) in USB_DeviceTransfer()
287 deviceHandle->epCallback[(uint8_t)((uint32_t)endpoint << 1U) | direction].isBusy = 1U; in USB_DeviceTransfer()
651 uint8_t endpoint = message->code & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceNotification() local
713 if (endpoint < USB_DEVICE_CONFIG_ENDPOINTS) in USB_DeviceNotification()
1082 uint8_t endpoint; in USB_DeviceInitEndpoint() local
1095 endpoint = epInit->endpointAddress & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceInitEndpoint()
1099 if (endpoint < USB_DEVICE_CONFIG_ENDPOINTS) in USB_DeviceInitEndpoint()
1104 deviceHandle->epCallback[(uint8_t)((uint32_t)endpoint << 1U) | direction].isBusy = 0U; in USB_DeviceInitEndpoint()
1130 uint8_t endpoint = endpointAddress & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceDeinitEndpoint() local
[all …]
/bsp/nxp/imx/imxrt/libraries/drivers/usb/device/
A Dusb_device_ehci.c65 uint8_t endpoint,
332 if (!endpoint) in USB_DeviceEhciEndpointDeinit()
370 if (!endpoint) in USB_DeviceEhciEndpointStall()
381 if (!endpoint) in USB_DeviceEhciEndpointStall()
412 if (!endpoint) in USB_DeviceEhciEndpointUnstall()
477 uint8_t endpoint, in USB_DeviceEhciCancelControlPipe() argument
562 uint8_t endpoint; in USB_DeviceEhciInterruptTokenDone() local
572 for (endpoint = 0U; endpoint < USB_DEVICE_CONFIG_ENDPOINTS; endpoint++) in USB_DeviceEhciInterruptTokenDone()
575 if (status & (1U << endpoint)) in USB_DeviceEhciInterruptTokenDone()
612 endpoint = count - 16U; in USB_DeviceEhciInterruptTokenDone()
[all …]
A Dusb_device_dci.c265 uint8_t endpoint = endpointAddress & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceTransfer() local
277 if (deviceHandle->epCallback[(uint8_t)((uint32_t)endpoint << 1U) | direction].isBusy) in USB_DeviceTransfer()
282 deviceHandle->epCallback[(uint8_t)((uint32_t)endpoint << 1U) | direction].isBusy = 1U; in USB_DeviceTransfer()
646 uint8_t endpoint = message->code & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceNotification() local
708 if (endpoint < USB_DEVICE_CONFIG_ENDPOINTS) in USB_DeviceNotification()
1077 uint8_t endpoint; in USB_DeviceInitEndpoint() local
1090 endpoint = epInit->endpointAddress & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceInitEndpoint()
1094 if (endpoint < USB_DEVICE_CONFIG_ENDPOINTS) in USB_DeviceInitEndpoint()
1099 deviceHandle->epCallback[(uint8_t)((uint32_t)endpoint << 1U) | direction].isBusy = 0U; in USB_DeviceInitEndpoint()
1125 uint8_t endpoint = endpointAddress & USB_ENDPOINT_NUMBER_MASK; in USB_DeviceDeinitEndpoint() local
[all …]
/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/core/
A Dusb_core_config.c93 struct usb_host_virt_endpoint *endpoint = NULL; in _usb_parse_endpoint_desc() local
131 endpoint = &ifp->endpoint[ifp->desc.bNumEndpoints]; in _usb_parse_endpoint_desc()
133 memcpy((void *)(&endpoint->desc), (void *)d, n); in _usb_parse_endpoint_desc()
134 INIT_LIST_HEAD(&endpoint->urb_list); in _usb_parse_endpoint_desc()
137 endpoint->extra = buffer; in _usb_parse_endpoint_desc()
139 endpoint->extralen = i; in _usb_parse_endpoint_desc()
249 alt->endpoint = malloc(len); in _usb_parse_interface_desc()
251 if (!alt->endpoint) in _usb_parse_interface_desc()
257 memset(alt->endpoint, 0, len); in _usb_parse_interface_desc()
719 if (intfc->altsetting_array[j].endpoint) in usb_release_interface_cache()
[all …]
A Dusb_core_base.c232 if (virt_dev->config[j].intf_cache[k]->altsetting_array[l].endpoint) in usb_host_free_virt_dev()
234 free(virt_dev->config[j].intf_cache[k]->altsetting_array[l].endpoint); in usb_host_free_virt_dev()
235 virt_dev->config[j].intf_cache[k]->altsetting_array[l].endpoint = NULL; in usb_host_free_virt_dev()
A Dusb_msg.c438 usb_enable_endpoint(dev, &alt->endpoint[i]); in usb_enable_interface()
1052 u32 epaddr = alt->endpoint[i].desc.bEndpointAddress; in usb_set_interface()
1088 usb_disable_endpoint(dev, alt->endpoint[i].desc.bEndpointAddress); in usb_disable_interface()
A Dusb_gen_hub.c2428 static int _hub_config(struct usb_hub *hub, struct usb_endpoint_descriptor *endpoint) in _hub_config() argument
2655 pipe = usb_rcvintpipe(hdev, endpoint->bEndpointAddress); in _hub_config()
2682 endpoint->bInterval); in _hub_config()
2820 struct usb_endpoint_descriptor *endpoint = NULL; in hub_probe() local
2859 endpoint = &desc->endpoint[0].desc; in hub_probe()
2862 if (!(endpoint->bEndpointAddress & USB_DIR_IN)) in hub_probe()
2869 if ((endpoint->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) != USB_ENDPOINT_XFER_INT) in hub_probe()
2940 if (_hub_config(hub, endpoint) >= 0) in hub_probe()
/bsp/microchip/samd51-adafruit-metro-m4/bsp/documentation/
A Dusb_protocol_core.rst14 * Packaging USB device, configuration, interface, endpoint descriptors.
19 * Finding an endpoint descriptor in a given USB descriptor.
/bsp/microchip/samd51-seeed-wio-terminal/bsp/documentation/
A Dusb_protocol_core.rst14 * Packaging USB device, configuration, interface, endpoint descriptors.
19 * Finding an endpoint descriptor in a given USB descriptor.
/bsp/nxp/imx/imx6ull-smart/drivers/usb/include/
A Dusb_spec.h293 usb_descriptor_endpoint_t endpoint; /* Endpoint descriptor */ member
/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/hid/Class/
A DHid.c400 ep = &altsetting->endpoint[i].desc; in HidCreatePipes()
594 || usb_get_extra_descriptor(&(cur_alt->endpoint[0]), USB_HID_DT_HID, &HidDesc))){ in HidDevScan()
/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/uvc/Class/
A Duvc_driver.c137 ep = &alts->endpoint[i]; in uvc_find_endpoint()
537 struct usb_host_virt_endpoint *ep = &alts->endpoint[i]; in uvc_parse_streaming()
545 buffer = alts->endpoint[i].extra; in uvc_parse_streaming()
546 buflen = alts->endpoint[i].extralen; in uvc_parse_streaming()
/bsp/nxp/imx/imxrt/libraries/drivers/usb/include/
A Dusb_spec.h317 usb_descriptor_endpoint_t endpoint; /* Endpoint descriptor */ member
/bsp/nxp/imx/imxrt/libraries/drivers/usb/host/
A Dusb_host_framework.c183 transfer->setupPacket->wIndex = USB_SHORT_TO_LITTLE_ENDIAN(frameParam->endpoint); in USB_HostStandardSyncFrame()
A Dusb_host.h145 uint8_t endpoint; /*!< Endpoint number */ member
/bsp/at32/libraries/usbotg_library/inc/
A Dusbh_core.h204 …usb_endpoint_desc_type endpoint[USBH_MAX_ENDPOINT]; /*!< usb device endpoint de… member
/bsp/allwinner/libraries/sunxi-hal/hal/source/usb/storage/Class/
A Dusb_msc.c739 ep = &altsetting->endpoint[i].desc; in CreatePipes()
/bsp/hpmicro/libraries/hpm_sdk/
A DCHANGELOG.md268 - soc: feature: change usb endpoint max number from 8 to 16
296 - middleware: tinyusb: change endpoint number from 8 to 16
297 - middleware: usbx: change endpoint number from 8 to 16
868 - samples: cherryusb: increase max interface and endpoint number Configuration
917 - middleware: cherryusb: audio: add param to set endpoint bmAttributes
977 - samples: cherryusb: audio: change endpoint attributes for support MACBOOK
/bsp/at32/libraries/usbotg_library/src/
A Dusbh_ctrl.c687 ept_desc = &(cfg_desc->interface[index_intf].endpoint[index_ept]); in usbh_parse_configure_desc()

Completed in 59 milliseconds