Home
last modified time | relevance | path

Searched refs:ep_type (Results 1 – 8 of 8) sorted by relevance

/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Ddwc2_udc_otg_priv.h48 enum ep_type { enum
66 enum ep_type ep_type; member
H A Ddesignware_udc.c594 int ep_num, ep_type; in udc_setup_ep() local
625 ep_type = ENDP_EPTYPE_CNTL; in udc_setup_ep()
629 ep_type = ENDP_EPTYPE_BULK; in udc_setup_ep()
632 ep_type = ENDP_EPTYPE_INT; in udc_setup_ep()
635 ep_type = ENDP_EPTYPE_ISO; in udc_setup_ep()
666 writel((ep_type << 4) | ENDP_CNTL_RRDY, &in_p->endp_cntl); in udc_setup_ep()
671 if (ep_type == ENDP_EPTYPE_INT) { in udc_setup_ep()
675 (0 << 11) | (ep_type << 5) | ep_num, in udc_setup_ep()
681 (1 << 11) | (ep_type << 5) | ep_num, in udc_setup_ep()
688 (0 << 11) | (ep_type << 5) | ep_num, in udc_setup_ep()
[all …]
H A Dpxa27x_udc.c527 int ep_num, ep_addr, ep_isout, ep_type, ep_size; in udc_setup_ep() local
560 ep_type = ep_isout ? endpoint->rcv_attributes : endpoint->tx_attributes; in udc_setup_ep()
566 ep_type == USB_ENDPOINT_XFER_ISOC ? "isoc" : in udc_setup_ep()
567 ep_type == USB_ENDPOINT_XFER_BULK ? "bulk" : in udc_setup_ep()
568 ep_type == USB_ENDPOINT_XFER_INT ? "int" : "???", in udc_setup_ep()
578 tmp |= (ep_type << UDCCONR_ET_S) & UDCCONR_ET; in udc_setup_ep()
H A Ddwc2_udc_otg.c836 .ep_type = ep_control,
851 .ep_type = ep_bulk_out,
866 .ep_type = ep_bulk_in,
881 .ep_type = ep_interrupt,
H A Ddwc2_udc_otg_xfer_dma.c955 debug("%s: ep_num = %d, ep_type = %d\n", __func__, ep_num, ep->ep_type); in dwc2_udc_set_nak()
981 debug("%s: ep_num = %d, ep_type = %d\n", __func__, ep_num, ep->ep_type); in dwc2_udc_ep_set_stall()
1016 debug("%s: ep_num = %d, ep_type = %d\n", __func__, ep_num, ep->ep_type); in dwc2_udc_ep_clear_stall()
/rk3399_rockchip-uboot/drivers/usb/host/
H A Dxhci.c504 unsigned int ep_type; in xhci_set_configuration() local
583 ep_type = (((endpt_desc->bmAttributes) & (0x3)) | (dir << 2)); in xhci_set_configuration()
590 cpu_to_le32(ep_type << EP_TYPE_SHIFT); in xhci_set_configuration()
H A Ddwc2.c498 uint8_t ep_is_in, uint8_t ep_type, uint16_t max_packet) in dwc_otg_hc_init() argument
504 (ep_type << DWC2_HCCHAR_EPTYPE_OFFSET) | in dwc_otg_hc_init()
/rk3399_rockchip-uboot/drivers/usb/cdns3/
H A Dgadget.h985 #define GET_TRBS_PER_SEGMENT(ep_type) ((ep_type) == USB_ENDPOINT_XFER_ISOC ? \ argument