Home
last modified time | relevance | path

Searched refs:doepctl (Results 1 – 5 of 5) sorted by relevance

/openbmc/u-boot/drivers/usb/gadget/
H A Ddwc2_udc_otg_xfer_dma.c54 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()
60 __func__, readl(&reg->out_endp[EP0_CON].doepctl)); in dwc2_udc_pre_setup()
71 __func__, readl(&reg->out_endp[EP0_CON].doepctl)); in dwc2_ep0_complete_out()
80 ep_ctrl = readl(&reg->out_endp[EP0_CON].doepctl); in dwc2_ep0_complete_out()
82 &reg->out_endp[EP0_CON].doepctl); in dwc2_ep0_complete_out()
87 __func__, readl(&reg->out_endp[EP0_CON].doepctl)); in dwc2_ep0_complete_out()
110 ctrl = readl(&reg->out_endp[ep_num].doepctl); in setdma_rx()
119 writel(DEPCTL_EPENA|DEPCTL_CNAK|ctrl, &reg->out_endp[ep_num].doepctl); in setdma_rx()
128 readl(&reg->out_endp[ep_num].doepctl), in setdma_rx()
[all …]
H A Ddwc2_udc_otg.c449 writel(DEPCTL_EPDIS|DEPCTL_SNAK, &reg->out_endp[EP0_CON].doepctl); in reconfig_usbd()
453 writel(DEPCTL_EPDIS|DEPCTL_SNAK, &reg->out_endp[i].doepctl); in reconfig_usbd()
504 &reg->out_endp[EP0_CON].doepctl); in reconfig_usbd()
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()
H A Ddwc2_udc_otg_regs.h34 u32 doepctl; member
/openbmc/linux/drivers/usb/dwc2/
H A Dcore.h721 u32 doepctl[MAX_EPS_CHANNELS]; member
H A Dgadget.c5181 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()