Lines Matching defs:state
116 MODULE_PARM_DESC(chase, "Enable state chase handling");
499 /* link state machine states from IBC */
1125 * changes state while a packet is being sent or received. This doesn't
1127 * having the link change state, so we receive a "known bad" packet.
1776 * Detect and handle the state chase issue, where we can
1910 * up, but the IB link changes state at the "wrong"
1926 * up, but the IB link changes state at the "wrong" time.
1990 * Since going into a recovery state causes the link
1991 * state to go down and since recovery is transitory,
1993 * training state go into recovery (i.e., ignore this
1994 * transition for link state special handling purposes)
2289 * new state is seen.
2593 * qib_setup_7322_setextled - set the state of the two external LEDs
2600 * These LEDs indicate the physical and logical state of IB link.
2602 * is Yellow (logical state) and LED2 is Green (physical state),
2605 * we can. Green indicates physical link state is OK (something is
4023 /* will only take effect when the link state changes */
4177 /* will only take effect when the link state changes */
4205 case QIB_IB_CFG_LSTATE: /* set the IB link state */
4261 * stop state chase counter and timer, if running.
5176 * than resetting the IBC or external link state, and useful in some
5178 * as well, then return to previous state (which may be still in reset)
5302 * do that when ready (if link is in Polling training state, it will
5500 u32 state = (u32)SYM_FIELD(ibcs, IBCStatusA_0, LinkState);
5502 switch (state) {
5504 state = IB_PORT_INIT;
5507 state = IB_PORT_ARMED;
5511 state = IB_PORT_ACTIVE;
5516 state = IB_PORT_DOWN;
5519 return state;
5522 /* returns the IBTA port state, rather than the IBC link training state */
5525 u8 state = (u8)SYM_FIELD(ibcs, IBCStatusA_0, LinkTrainingState);
5526 return qib_7322_physportstate[state];
5579 /* on link down, ensure sane pcs state */
5725 /* Enable writes to config EEPROM, if possible. Returns previous state */
5997 * previous state was DISABLED and the VALID bit is not
6112 /* Re-enable the physical state machine on mezz boards
7823 u8 state = SYM_FIELD(data, IBSerdesCtrl_0, RXLOSEN);
7825 if (enable && !state) {
7829 } else if (!enable && state) {
8264 * returns the current state of R_TDO