Searched refs:udccsr0 (Results 1 – 3 of 3) sorted by relevance
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | pxa27x_udc.c | 204 u32 udccsr0 = readl(UDCCSR0); in udc_handle_ep0() local 208 usbdbg("udccsr0 %x", udccsr0); in udc_handle_ep0() 211 if (udccsr0 & UDCCSR0_SST) { in udc_handle_ep0() 218 if ((udccsr0 & UDCCSR0_SA) != 0 && ep0state != EP0_IDLE) in udc_handle_ep0() 224 udccsr0 = readl(UDCCSR0); in udc_handle_ep0() 226 if ((udccsr0 & (UDCCSR0_OPC | UDCCSR0_SA | UDCCSR0_RNE)) in udc_handle_ep0() 302 } else if ((udccsr0 & (UDCCSR0_OPC | UDCCSR0_SA)) in udc_handle_ep0() 313 writel(udccsr0 & (UDCCSR0_SA | UDCCSR0_OPC), UDCCSR0); in udc_handle_ep0() 319 if ((udccsr0 & UDCCSR0_OPC) && !(udccsr0 & UDCCSR0_SA)) { in udc_handle_ep0() 333 } else if (!(udccsr0 & UDCCSR0_OPC) && in udc_handle_ep0() [all …]
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | pxa27x_udc.c | 1933 u32 udccsr0; in handle_ep0() local 1941 udccsr0 = udc_ep_readl(ep, UDCCSR); in handle_ep0() 1943 EP0_STNAME(udc), req, udccsr0, udc_ep_readl(ep, UDCBCR), in handle_ep0() 1946 if (udccsr0 & UDCCSR0_SST) { in handle_ep0() 1953 if (udccsr0 & UDCCSR0_SA) { in handle_ep0() 1968 udccsr0 &= UDCCSR0_CTRL_REQ_MASK; in handle_ep0() 1969 if (likely(udccsr0 == UDCCSR0_CTRL_REQ_MASK)) in handle_ep0() 2488 udc->udccsr0 = udc_ep_readl(ep, UDCCSR); in pxa_udc_suspend() 2513 udc_ep_writel(ep, UDCCSR, udc->udccsr0 & (UDCCSR0_FST | UDCCSR0_DME)); in pxa_udc_resume()
|
H A D | pxa27x_udc.h | 474 unsigned udccsr0; member
|