Lines Matching refs:epsts
281 * @epsts: Endpoint status
295 unsigned long epsts;
2067 (int)(ep->epsts));
2116 (int)(ep->epsts));
2155 u32 epsts;
2159 epsts = ep->epsts;
2160 ep->epsts = 0;
2162 if (!(epsts & (UDC_EPSTS_IN | UDC_EPSTS_BNA | UDC_EPSTS_HE |
2166 if ((epsts & UDC_EPSTS_BNA))
2168 if (epsts & UDC_EPSTS_HE)
2170 if (epsts & UDC_EPSTS_RSS) {
2175 if (epsts & UDC_EPSTS_RCS) {
2184 if (epsts & UDC_EPSTS_TDC)
2187 if ((epsts & UDC_EPSTS_IN) && !(epsts & UDC_EPSTS_RSS) &&
2188 !(epsts & UDC_EPSTS_TDC) && !(epsts & UDC_EPSTS_TXEMPTY))
2199 u32 epsts;
2204 epsts = ep->epsts;
2205 ep->epsts = 0;
2207 if ((epsts & UDC_EPSTS_BNA) && (!list_empty(&ep->queue))) {
2218 if (epsts & UDC_EPSTS_HE)
2220 if (epsts & UDC_EPSTS_RSS) {
2225 if (epsts & UDC_EPSTS_RCS) {
2234 if (((epsts & UDC_EPSTS_OUT_MASK) >> UDC_EPSTS_OUT_SHIFT) ==
2269 u32 epsts;
2275 epsts = ep->epsts;
2276 ep->epsts = 0;
2278 if (!(epsts & (UDC_EPSTS_IN | UDC_EPSTS_BNA | UDC_EPSTS_HE |
2282 if ((epsts & UDC_EPSTS_BNA))
2284 if (epsts & UDC_EPSTS_HE)
2286 if ((epsts & UDC_EPSTS_TDC) && (!dev->stall)) {
2297 if ((epsts & UDC_EPSTS_IN) && !(epsts & UDC_EPSTS_TDC) &&
2298 !(epsts & UDC_EPSTS_TXEMPTY))
2316 stat = ep->epsts;
2317 ep->epsts = 0;
2372 ep->epsts = stat;
2410 ep->epsts = pch_udc_read_ep_status(ep);
2411 pch_udc_clear_ep_status(ep, ep->epsts);
2416 ep->epsts = pch_udc_read_ep_status(ep);
2417 pch_udc_clear_ep_status(ep, ep->epsts);