Searched refs:epctl (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/usb/dwc2/ |
H A D | gadget.c | 2268 u32 epctl = dwc2_readl(hsotg, DOEPCTL(ep_idx)); in dwc2_hsotg_rx_data() local 2273 __func__, size, ep_idx, epctl); in dwc2_hsotg_rx_data() 2832 int epctl = dwc2_readl(hsotg, epctl_reg); in dwc2_gadget_handle_ep_disabled() local 2836 if ((epctl & DXEPCTL_STALL) && (epctl & DXEPCTL_EPTYPE_BULK)) { in dwc2_gadget_handle_ep_disabled() 4358 u32 epctl; in dwc2_hsotg_ep_sethalt() local 4385 epctl = dwc2_readl(hs, epreg); in dwc2_hsotg_ep_sethalt() 4388 epctl |= DXEPCTL_STALL | DXEPCTL_SNAK; in dwc2_hsotg_ep_sethalt() 4389 if (epctl & DXEPCTL_EPENA) in dwc2_hsotg_ep_sethalt() 4390 epctl | in dwc2_hsotg_ep_sethalt() [all...] |
/kernel/linux/linux-6.6/drivers/usb/dwc2/ |
H A D | gadget.c | 2268 u32 epctl = dwc2_readl(hsotg, DOEPCTL(ep_idx)); in dwc2_hsotg_rx_data() local 2273 __func__, size, ep_idx, epctl); in dwc2_hsotg_rx_data() 2832 int epctl = dwc2_readl(hsotg, epctl_reg); in dwc2_gadget_handle_ep_disabled() local 2836 if ((epctl & DXEPCTL_STALL) && (epctl & DXEPCTL_EPTYPE_BULK)) { in dwc2_gadget_handle_ep_disabled() 4380 u32 epctl; in dwc2_hsotg_ep_sethalt() local 4407 epctl = dwc2_readl(hs, epreg); in dwc2_hsotg_ep_sethalt() 4410 epctl |= DXEPCTL_STALL | DXEPCTL_SNAK; in dwc2_hsotg_ep_sethalt() 4411 if (epctl & DXEPCTL_EPENA) in dwc2_hsotg_ep_sethalt() 4412 epctl | in dwc2_hsotg_ep_sethalt() [all...] |
Completed in 11 milliseconds