Searched refs:EP0_CON (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | dwc2_udc_otg_xfer_dma.c | 31 writel(usb_ctrl_dma_addr, ®->in_endp[EP0_CON].diepdma); in dwc2_udc_ep0_zlp() 32 writel(DIEPT_SIZ_PKT_CNT(1), ®->in_endp[EP0_CON].dieptsiz); in dwc2_udc_ep0_zlp() 34 ep_ctrl = readl(®->in_endp[EP0_CON].diepctl); in dwc2_udc_ep0_zlp() 36 ®->in_endp[EP0_CON].diepctl); in dwc2_udc_ep0_zlp() 39 __func__, readl(®->in_endp[EP0_CON].diepctl)); in dwc2_udc_ep0_zlp() 51 ®->out_endp[EP0_CON].doeptsiz); in dwc2_udc_pre_setup() 52 writel(usb_ctrl_dma_addr, ®->out_endp[EP0_CON].doepdma); in dwc2_udc_pre_setup() 54 ep_ctrl = readl(®->out_endp[EP0_CON].doepctl); in dwc2_udc_pre_setup() 55 writel(ep_ctrl|DEPCTL_EPENA, ®->out_endp[EP0_CON].doepctl); in dwc2_udc_pre_setup() 58 __func__, readl(®->in_endp[EP0_CON].diepctl)); in dwc2_udc_pre_setup() [all …]
|
H A D | dwc2_udc_otg.c | 49 #define EP0_CON 0 macro 449 writel(DEPCTL_EPDIS|DEPCTL_SNAK, ®->out_endp[EP0_CON].doepctl); in reconfig_usbd() 450 writel(DEPCTL_EPDIS|DEPCTL_SNAK, ®->in_endp[EP0_CON].diepctl); in reconfig_usbd() 458 writel(((1 << EP0_CON) << DAINT_OUT_BIT) in reconfig_usbd() 459 | (1 << EP0_CON), ®->daintmsk); in reconfig_usbd() 504 ®->out_endp[EP0_CON].doepctl); in reconfig_usbd() 532 ep_ctrl = readl(®->in_endp[EP0_CON].diepctl); in set_max_pktsize() 533 writel(ep_ctrl|(0<<0), ®->in_endp[EP0_CON].diepctl); in set_max_pktsize() 536 ep_ctrl = readl(®->out_endp[EP0_CON].doepctl); in set_max_pktsize() 537 writel(ep_ctrl|(0<<0), ®->out_endp[EP0_CON].doepctl); in set_max_pktsize()
|