Home
last modified time | relevance | path

Searched refs:ep_ctrl (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/drivers/usb/gadget/
Ddwc2_udc_otg_xfer_dma.c32 u32 ep_ctrl; in dwc2_udc_ep0_zlp() local
37 ep_ctrl = readl(&reg->in_endp[EP0_CON].diepctl); in dwc2_udc_ep0_zlp()
38 writel(ep_ctrl|DEPCTL_EPENA|DEPCTL_CNAK, in dwc2_udc_ep0_zlp()
48 u32 ep_ctrl; in dwc2_udc_pre_setup() local
57 ep_ctrl = readl(&reg->out_endp[EP0_CON].doepctl); in dwc2_udc_pre_setup()
58 writel(ep_ctrl|DEPCTL_EPENA, &reg->out_endp[EP0_CON].doepctl); in dwc2_udc_pre_setup()
69 u32 ep_ctrl; in dwc2_ep0_complete_out() local
83 ep_ctrl = readl(&reg->out_endp[EP0_CON].doepctl); in dwc2_ep0_complete_out()
84 writel(ep_ctrl|DEPCTL_EPENA|DEPCTL_CNAK, in dwc2_ep0_complete_out()
773 u32 ep_ctrl = 0; in dwc2_udc_ep0_set_stall() local
[all …]
Ddwc2_udc_otg.c583 unsigned int ep_ctrl; in set_max_pktsize() local
603 ep_ctrl = readl(&reg->in_endp[EP0_CON].diepctl); in set_max_pktsize()
604 writel(ep_ctrl|(0<<0), &reg->in_endp[EP0_CON].diepctl); in set_max_pktsize()
607 ep_ctrl = readl(&reg->out_endp[EP0_CON].doepctl); in set_max_pktsize()
608 writel(ep_ctrl|(0<<0), &reg->out_endp[EP0_CON].doepctl); in set_max_pktsize()