Searched refs:doepctl (Results 1 – 5 of 5) sorted by relevance
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | dwc2_udc_otg_xfer_dma.c | 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() 60 __func__, readl(®->out_endp[EP0_CON].doepctl)); in dwc2_udc_pre_setup() 71 __func__, readl(®->out_endp[EP0_CON].doepctl)); in dwc2_ep0_complete_out() 80 ep_ctrl = readl(®->out_endp[EP0_CON].doepctl); in dwc2_ep0_complete_out() 82 ®->out_endp[EP0_CON].doepctl); in dwc2_ep0_complete_out() 87 __func__, readl(®->out_endp[EP0_CON].doepctl)); in dwc2_ep0_complete_out() 110 ctrl = readl(®->out_endp[ep_num].doepctl); in setdma_rx() 119 writel(DEPCTL_EPENA|DEPCTL_CNAK|ctrl, ®->out_endp[ep_num].doepctl); in setdma_rx() 128 readl(®->out_endp[ep_num].doepctl), in setdma_rx() [all …]
|
H A D | dwc2_udc_otg.c | 449 writel(DEPCTL_EPDIS|DEPCTL_SNAK, ®->out_endp[EP0_CON].doepctl); in reconfig_usbd() 453 writel(DEPCTL_EPDIS|DEPCTL_SNAK, ®->out_endp[i].doepctl); in reconfig_usbd() 504 ®->out_endp[EP0_CON].doepctl); in reconfig_usbd() 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()
|
H A D | dwc2_udc_otg_regs.h | 34 u32 doepctl; member
|
/openbmc/linux/drivers/usb/dwc2/ |
H A D | core.h | 721 u32 doepctl[MAX_EPS_CHANNELS]; member
|
H A D | gadget.c | 5181 dr->doepctl[i] = dwc2_readl(hsotg, DOEPCTL(i)); in dwc2_backup_device_registers() 5184 if (dr->doepctl[i] & DXEPCTL_DPID) in dwc2_backup_device_registers() 5185 dr->doepctl[i] |= DXEPCTL_SETD1PID; in dwc2_backup_device_registers() 5187 dr->doepctl[i] |= DXEPCTL_SETD0PID; in dwc2_backup_device_registers() 5253 (dr->doepctl[i] & DXEPCTL_EPENA)) in dwc2_restore_device_registers() 5256 dwc2_writel(hsotg, dr->doepctl[i], DOEPCTL(i)); in dwc2_restore_device_registers()
|