Lines Matching defs:state
116 MODULE_PARM_DESC(chase, "Enable state chase handling");
499 /* link state machine states from IBC */
1103 * changes state while a packet is being sent or received. This doesn't
1105 * having the link change state, so we receive a "known bad" packet.
1754 * Detect and handle the state chase issue, where we can
1888 * up, but the IB link changes state at the "wrong"
1904 * up, but the IB link changes state at the "wrong" time.
1968 * Since going into a recovery state causes the link
1969 * state to go down and since recovery is transitory,
1971 * training state go into recovery (i.e., ignore this
1972 * transition for link state special handling purposes)
2267 * new state is seen.
2571 * qib_setup_7322_setextled - set the state of the two external LEDs
2578 * These LEDs indicate the physical and logical state of IB link.
2580 * is Yellow (logical state) and LED2 is Green (physical state),
2583 * we can. Green indicates physical link state is OK (something is
4001 /* will only take effect when the link state changes */
4155 /* will only take effect when the link state changes */
4183 case QIB_IB_CFG_LSTATE: /* set the IB link state */
4239 * stop state chase counter and timer, if running.
5154 * than resetting the IBC or external link state, and useful in some
5156 * as well, then return to previous state (which may be still in reset)
5280 * do that when ready (if link is in Polling training state, it will
5478 u32 state = (u32)SYM_FIELD(ibcs, IBCStatusA_0, LinkState);
5480 switch (state) {
5482 state = IB_PORT_INIT;
5485 state = IB_PORT_ARMED;
5489 state = IB_PORT_ACTIVE;
5494 state = IB_PORT_DOWN;
5497 return state;
5500 /* returns the IBTA port state, rather than the IBC link training state */
5503 u8 state = (u8)SYM_FIELD(ibcs, IBCStatusA_0, LinkTrainingState);
5504 return qib_7322_physportstate[state];
5557 /* on link down, ensure sane pcs state */
5703 /* Enable writes to config EEPROM, if possible. Returns previous state */
5975 * previous state was DISABLED and the VALID bit is not
6090 /* Re-enable the physical state machine on mezz boards
7794 u8 state = SYM_FIELD(data, IBSerdesCtrl_0, RXLOSEN);
7796 if (enable && !state) {
7800 } else if (!enable && state) {
8235 * returns the current state of R_TDO