Lines Matching refs:state
44 * BFA port state machine events
47 BFA_FCPORT_SM_START = 1, /* start port state machine */
48 BFA_FCPORT_SM_STOP = 2, /* stop port state machine */
50 BFA_FCPORT_SM_DISABLE = 4, /* disable port state machine */
64 * BFA port link notification state machine events
124 * forward declaration for LPS state machine
156 * forward declaration for FC PORT state machine
237 * forward declaration for RPORT state machine
1162 * BFA LPS state machine functions
1166 * Init state -- no login
1301 * of this state, it will appear like a login retry
1510 * IOC in disabled state -- consider all lps offline
2021 * FC PORT state machine functions
2048 * Port is persistently configured to be in enabled state. Do
2049 * not change state. Port enabling is done when START event is
2239 fcport->qos_attr.state != BFA_QOS_ONLINE)
2783 * Link state is down
2803 * Link state is waiting for down notification
2826 * Link state is waiting for down notification and there is a pending up
2850 * Link state is up
2870 * Link state is waiting for up notification
2893 * Link state is waiting for up notification and there is a pending down
2917 * Link state is waiting for up notification and there are pending down and up
3124 * update trunk state if applicable
3127 trunk->attr.state = BFA_TRUNK_DISABLED;
3426 bfa_trc(fcport->bfa, trunk->attr.state);
3431 * Save off new state for trunk attribute query
3433 state_prev = trunk->attr.state;
3434 if (fcport->cfg.trunked && (trunk->attr.state != BFA_TRUNK_DISABLED))
3435 trunk->attr.state = scn->trunk_state;
3441 lattr->link_state = tlink->state;
3447 if (tlink->state == BFA_TRUNK_LINK_STATE_UP) {
3479 * Notify upper layers if trunk state changed.
3481 if ((state_prev != trunk->attr.state) ||
3498 if (fcport->trunk.attr.state == BFA_TRUNK_ONLINE)
3501 fcport->trunk.attr.state = BFA_TRUNK_OFFLINE;
3571 fcport->trunk.attr.state =
3574 fcport->trunk.attr.state =
3582 fcport->qos_attr.state = BFA_QOS_OFFLINE;
3584 fcport->qos_attr.state = BFA_QOS_DISABLED;
3590 fcport->bbcr_attr.state = BFA_BBCR_OFFLINE;
3592 fcport->bbcr_attr.state = BFA_BBCR_DISABLED;
3605 fcport->bbcr_attr.state = BFA_BBCR_OFFLINE;
3607 fcport->bbcr_attr.state = BFA_BBCR_DISABLED;
3802 (fcport->qos_attr.state != BFA_QOS_DISABLED))
3807 (fcport->trunk.attr.state != BFA_TRUNK_DISABLED))
4132 bfa_fcport_cfg_faa(struct bfa_s *bfa, u8 state)
4136 bfa_trc(bfa, state);
4137 fcport->cfg.faa_state = state;
4177 fcport->trunk.attr.state == BFA_TRUNK_ONLINE);
4271 * Assume caller check for port is in disable state
4281 * Assume caller check for port is in disable state
4291 * Assume caller check for port is in disable state
4300 * Assume caller check for port is in disable state
4309 * Beginning state, only online event expected.
4440 * Online state - normal parking state.
4571 * Offline state.
5651 * BFA DPORT state machine events
5661 BFA_DPORT_SM_SCN = 8, /* state change notify frm fw */
6165 if (dport->i2hmsg.scn.state == BFI_DPORT_SCN_DDPORT_ENABLE) {
6171 bfa_trc(dport->bfa, dport->i2hmsg.scn.state);
6264 switch (dport->i2hmsg.scn.state) {
6275 /* no state change */
6301 bfa_trc(dport->bfa, dport->i2hmsg.scn.state);
6354 /* no state change */
6424 switch (dport->i2hmsg.scn.state) {
6432 bfa_trc(dport->bfa, dport->i2hmsg.scn.state);
6556 bfa_trc(dport->bfa, msg->state);
6557 dport->i2hmsg.scn.state = msg->state;
6559 switch (dport->i2hmsg.scn.state) {
6625 bfa_sm_fault(dport->bfa, msg->state);
6705 * Check to see if port is disable or in dport state
6772 * Check to see if port is disable or in dport state
6832 * Check if dport is in enabled state.
6886 * Check if dport is in enabled state.