Lines Matching refs:state
154 * qib_wait_linkstate - wait for an IB link state change to occur
156 * @state: the state to wait for
159 * wait up to msecs milliseconds for IB link state change to occur for
161 * qib_set_linkstate. Returns 0 if state reached, otherwise
162 * -ETIMEDOUT state can have multiple states set, for any of several
165 int qib_wait_linkstate(struct qib_pportdata *ppd, u32 state, int msecs)
176 ppd->state_wanted = state;
179 (ppd->lflags & state),
185 if (!(ppd->lflags & state))
364 /* Check for valid receive state. */
365 if (!(ib_rvt_state_ops[qp->state] &
565 if (ib_rvt_state_ops[qp->state] &
597 * link INIT state...
655 * Following deal with the "obviously simple" task of overriding the state