Home
last modified time | relevance | path

Searched refs:ep_init (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.7.0/drivers/usb/device/
Dusb_dc_mcux.c281 usb_device_endpoint_init_struct_t ep_init; in usb_dc_ep_configure() local
286 ep_init.zlt = 0U; in usb_dc_ep_configure()
287 ep_init.endpointAddress = cfg->ep_addr; in usb_dc_ep_configure()
288 ep_init.maxPacketSize = cfg->ep_mps; in usb_dc_ep_configure()
289 ep_init.transferType = cfg->ep_type; in usb_dc_ep_configure()
335 kUSB_DeviceControlEndpointInit, &ep_init); in usb_dc_ep_configure()
779 usb_device_endpoint_init_struct_t ep_init; in handle_bus_reset() local
796 ep_init.zlt = 0U; in handle_bus_reset()
797 ep_init.transferType = USB_ENDPOINT_CONTROL; in handle_bus_reset()
798 ep_init.maxPacketSize = USB_CONTROL_EP_MPS; in handle_bus_reset()
[all …]
/Zephyr-Core-3.7.0/drivers/usb/udc/
Dudc_mcux_ehci.c564 usb_device_endpoint_init_struct_t ep_init; in udc_mcux_ep_enable() local
568 ep_init.zlt = 0U; in udc_mcux_ep_enable()
569 ep_init.interval = cfg->interval; in udc_mcux_ep_enable()
570 ep_init.endpointAddress = cfg->addr; in udc_mcux_ep_enable()
571 ep_init.maxPacketSize = cfg->mps; in udc_mcux_ep_enable()
575 ep_init.transferType = USB_ENDPOINT_CONTROL; in udc_mcux_ep_enable()
578 ep_init.transferType = USB_ENDPOINT_BULK; in udc_mcux_ep_enable()
581 ep_init.transferType = USB_ENDPOINT_INTERRUPT; in udc_mcux_ep_enable()
584 ep_init.transferType = USB_ENDPOINT_ISOCHRONOUS; in udc_mcux_ep_enable()
590 return udc_mcux_control(dev, kUSB_DeviceControlEndpointInit, &ep_init); in udc_mcux_ep_enable()
Dudc_mcux_ip3511.c564 usb_device_endpoint_init_struct_t ep_init; in udc_mcux_ep_enable() local
568 ep_init.zlt = 0U; in udc_mcux_ep_enable()
569 ep_init.interval = cfg->interval; in udc_mcux_ep_enable()
570 ep_init.endpointAddress = cfg->addr; in udc_mcux_ep_enable()
571 ep_init.maxPacketSize = cfg->mps; in udc_mcux_ep_enable()
575 ep_init.transferType = USB_ENDPOINT_CONTROL; in udc_mcux_ep_enable()
578 ep_init.transferType = USB_ENDPOINT_BULK; in udc_mcux_ep_enable()
581 ep_init.transferType = USB_ENDPOINT_INTERRUPT; in udc_mcux_ep_enable()
584 ep_init.transferType = USB_ENDPOINT_ISOCHRONOUS; in udc_mcux_ep_enable()
590 return udc_mcux_control(dev, kUSB_DeviceControlEndpointInit, &ep_init); in udc_mcux_ep_enable()