Home
last modified time | relevance | path

Searched refs:epctl (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/hw/ppc/
H A Dppc405.h150 uint32_t epctl; member
H A Dppc405_uc.c856 ret = cpc->epctl; in dcr_read_epcpc()
895 cpc->epctl = val & 0xC00000F3; in dcr_write_epcpc()
926 cpc->epctl = 0x00000000; in ppc405_cpc_reset()
/openbmc/linux/drivers/usb/dwc2/
H A Dgadget.c2840 if ((epctl & DXEPCTL_STALL) && (epctl & DXEPCTL_EPTYPE_BULK)) { in dwc2_gadget_handle_ep_disabled()
4390 u32 epctl; in dwc2_hsotg_ep_sethalt() local
4417 epctl = dwc2_readl(hs, epreg); in dwc2_hsotg_ep_sethalt()
4421 if (epctl & DXEPCTL_EPENA) in dwc2_hsotg_ep_sethalt()
4422 epctl |= DXEPCTL_EPDIS; in dwc2_hsotg_ep_sethalt()
4424 epctl &= ~DXEPCTL_STALL; in dwc2_hsotg_ep_sethalt()
4429 epctl |= DXEPCTL_SETD0PID; in dwc2_hsotg_ep_sethalt()
4431 dwc2_writel(hs, epctl, epreg); in dwc2_hsotg_ep_sethalt()
4434 epctl = dwc2_readl(hs, epreg); in dwc2_hsotg_ep_sethalt()
4444 epctl &= ~DXEPCTL_STALL; in dwc2_hsotg_ep_sethalt()
[all …]