Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/dwc2/
H A Dgadget.c2272 u32 epctl = dwc2_readl(hsotg, DOEPCTL(ep_idx)); in dwc2_hsotg_rx_data() local
2277 __func__, size, ep_idx, epctl); in dwc2_hsotg_rx_data()
2836 int epctl = dwc2_readl(hsotg, epctl_reg); in dwc2_gadget_handle_ep_disabled() local
2840 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()
4420 epctl |= DXEPCTL_STALL | DXEPCTL_SNAK; 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()
[all …]
/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()