Lines Matching refs:epsts
296 unsigned long epsts; member
2068 (int)(ep->epsts)); in pch_udc_complete_transfer()
2117 (int)(ep->epsts)); in pch_udc_complete_receiver()
2156 u32 epsts; in pch_udc_svc_data_in() local
2160 epsts = ep->epsts; in pch_udc_svc_data_in()
2161 ep->epsts = 0; in pch_udc_svc_data_in()
2163 if (!(epsts & (UDC_EPSTS_IN | UDC_EPSTS_BNA | UDC_EPSTS_HE | in pch_udc_svc_data_in()
2167 if ((epsts & UDC_EPSTS_BNA)) in pch_udc_svc_data_in()
2169 if (epsts & UDC_EPSTS_HE) in pch_udc_svc_data_in()
2171 if (epsts & UDC_EPSTS_RSS) { in pch_udc_svc_data_in()
2176 if (epsts & UDC_EPSTS_RCS) { in pch_udc_svc_data_in()
2185 if (epsts & UDC_EPSTS_TDC) in pch_udc_svc_data_in()
2188 if ((epsts & UDC_EPSTS_IN) && !(epsts & UDC_EPSTS_RSS) && in pch_udc_svc_data_in()
2189 !(epsts & UDC_EPSTS_TDC) && !(epsts & UDC_EPSTS_TXEMPTY)) in pch_udc_svc_data_in()
2200 u32 epsts; in pch_udc_svc_data_out() local
2205 epsts = ep->epsts; in pch_udc_svc_data_out()
2206 ep->epsts = 0; in pch_udc_svc_data_out()
2208 if ((epsts & UDC_EPSTS_BNA) && (!list_empty(&ep->queue))) { in pch_udc_svc_data_out()
2219 if (epsts & UDC_EPSTS_HE) in pch_udc_svc_data_out()
2221 if (epsts & UDC_EPSTS_RSS) { in pch_udc_svc_data_out()
2226 if (epsts & UDC_EPSTS_RCS) { in pch_udc_svc_data_out()
2235 if (((epsts & UDC_EPSTS_OUT_MASK) >> UDC_EPSTS_OUT_SHIFT) == in pch_udc_svc_data_out()
2270 u32 epsts; in pch_udc_svc_control_in() local
2276 epsts = ep->epsts; in pch_udc_svc_control_in()
2277 ep->epsts = 0; in pch_udc_svc_control_in()
2279 if (!(epsts & (UDC_EPSTS_IN | UDC_EPSTS_BNA | UDC_EPSTS_HE | in pch_udc_svc_control_in()
2283 if ((epsts & UDC_EPSTS_BNA)) in pch_udc_svc_control_in()
2285 if (epsts & UDC_EPSTS_HE) in pch_udc_svc_control_in()
2287 if ((epsts & UDC_EPSTS_TDC) && (!dev->stall)) { in pch_udc_svc_control_in()
2298 if ((epsts & UDC_EPSTS_IN) && !(epsts & UDC_EPSTS_TDC) && in pch_udc_svc_control_in()
2299 !(epsts & UDC_EPSTS_TXEMPTY)) in pch_udc_svc_control_in()
2317 stat = ep->epsts; in pch_udc_svc_control_out()
2318 ep->epsts = 0; in pch_udc_svc_control_out()
2373 ep->epsts = stat; in pch_udc_svc_control_out()
2411 ep->epsts = pch_udc_read_ep_status(ep); in pch_udc_read_all_epstatus()
2412 pch_udc_clear_ep_status(ep, ep->epsts); in pch_udc_read_all_epstatus()
2417 ep->epsts = pch_udc_read_ep_status(ep); in pch_udc_read_all_epstatus()
2418 pch_udc_clear_ep_status(ep, ep->epsts); in pch_udc_read_all_epstatus()