Lines Matching refs:state
157 if (!HC_IS_RUNNING(hcd->state)) {
167 if (ed->state == ED_IDLE) {
230 } else if (HC_IS_RUNNING(hcd->state)) {
239 if (urb_priv->ed->state == ED_OPER)
257 /* frees config/altsetting state for endpoints,
284 if (!HC_IS_RUNNING(hcd->state)) {
286 ed->state = ED_IDLE;
290 switch (ed->state) {
311 admhc_err(ahcd, "leak ed %p (#%02x) state %d%s\n",
312 ed, ep->desc.bEndpointAddress, ed->state,
344 * other cases where the next software may expect clean state from the
604 hcd->state = HC_STATE_RUNNING;
699 if (HC_IS_RUNNING(hcd->state))
704 if (HC_IS_RUNNING(hcd->state))
719 && HC_IS_RUNNING(hcd->state))
734 HC_IS_RUNNING(hcd->state) == 0)
745 if (HC_IS_RUNNING(hcd->state)) {