Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/usb/gadget/
H A Ddwc2_udc_otg_xfer_dma.c31 writel(usb_ctrl_dma_addr, &reg->in_endp[EP0_CON].diepdma); in dwc2_udc_ep0_zlp()
32 writel(DIEPT_SIZ_PKT_CNT(1), &reg->in_endp[EP0_CON].dieptsiz); in dwc2_udc_ep0_zlp()
34 ep_ctrl = readl(&reg->in_endp[EP0_CON].diepctl); in dwc2_udc_ep0_zlp()
36 &reg->in_endp[EP0_CON].diepctl); in dwc2_udc_ep0_zlp()
39 __func__, readl(&reg->in_endp[EP0_CON].diepctl)); in dwc2_udc_ep0_zlp()
51 &reg->out_endp[EP0_CON].doeptsiz); in dwc2_udc_pre_setup()
52 writel(usb_ctrl_dma_addr, &reg->out_endp[EP0_CON].doepdma); in dwc2_udc_pre_setup()
54 ep_ctrl = readl(&reg->out_endp[EP0_CON].doepctl); in dwc2_udc_pre_setup()
55 writel(ep_ctrl|DEPCTL_EPENA, &reg->out_endp[EP0_CON].doepctl); in dwc2_udc_pre_setup()
58 __func__, readl(&reg->in_endp[EP0_CON].diepctl)); in dwc2_udc_pre_setup()
[all …]
H A Ddwc2_udc_otg.c49 #define EP0_CON 0 macro
449 writel(DEPCTL_EPDIS|DEPCTL_SNAK, &reg->out_endp[EP0_CON].doepctl); in reconfig_usbd()
450 writel(DEPCTL_EPDIS|DEPCTL_SNAK, &reg->in_endp[EP0_CON].diepctl); in reconfig_usbd()
458 writel(((1 << EP0_CON) << DAINT_OUT_BIT) in reconfig_usbd()
459 | (1 << EP0_CON), &reg->daintmsk); in reconfig_usbd()
504 &reg->out_endp[EP0_CON].doepctl); in reconfig_usbd()
532 ep_ctrl = readl(&reg->in_endp[EP0_CON].diepctl); in set_max_pktsize()
533 writel(ep_ctrl|(0<<0), &reg->in_endp[EP0_CON].diepctl); in set_max_pktsize()
536 ep_ctrl = readl(&reg->out_endp[EP0_CON].doepctl); in set_max_pktsize()
537 writel(ep_ctrl|(0<<0), &reg->out_endp[EP0_CON].doepctl); in set_max_pktsize()