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
1156 * BFA LPS state machine functions
1160 * Init state -- no login
1295 * of this state, it will appear like a login retry
1504 * IOC in disabled state -- consider all lps offline
2015 * FC PORT state machine functions
2042 * Port is persistently configured to be in enabled state. Do
2043 * not change state. Port enabling is done when START event is
2233 fcport->qos_attr.state != BFA_QOS_ONLINE)
2777 * Link state is down
2797 * Link state is waiting for down notification
2820 * Link state is waiting for down notification and there is a pending up
2844 * Link state is up
2864 * Link state is waiting for up notification
2887 * Link state is waiting for up notification and there is a pending down
2911 * Link state is waiting for up notification and there are pending down and up
3118 * update trunk state if applicable
3121 trunk->attr.state = BFA_TRUNK_DISABLED;
3420 bfa_trc(fcport->bfa, trunk->attr.state);
3425 * Save off new state for trunk attribute query
3427 state_prev = trunk->attr.state;
3428 if (fcport->cfg.trunked && (trunk->attr.state != BFA_TRUNK_DISABLED))
3429 trunk->attr.state = scn->trunk_state;
3435 lattr->link_state = tlink->state;
3441 if (tlink->state == BFA_TRUNK_LINK_STATE_UP) {
3473 * Notify upper layers if trunk state changed.
3475 if ((state_prev != trunk->attr.state) ||
3492 if (fcport->trunk.attr.state == BFA_TRUNK_ONLINE)
3495 fcport->trunk.attr.state = BFA_TRUNK_OFFLINE;
3565 fcport->trunk.attr.state =
3568 fcport->trunk.attr.state =
3576 fcport->qos_attr.state = BFA_QOS_OFFLINE;
3578 fcport->qos_attr.state = BFA_QOS_DISABLED;
3584 fcport->bbcr_attr.state = BFA_BBCR_OFFLINE;
3586 fcport->bbcr_attr.state = BFA_BBCR_DISABLED;
3599 fcport->bbcr_attr.state = BFA_BBCR_OFFLINE;
3601 fcport->bbcr_attr.state = BFA_BBCR_DISABLED;
3796 (fcport->qos_attr.state != BFA_QOS_DISABLED))
3801 (fcport->trunk.attr.state != BFA_TRUNK_DISABLED))
4126 bfa_fcport_cfg_faa(struct bfa_s *bfa, u8 state)
4130 bfa_trc(bfa, state);
4131 fcport->cfg.faa_state = state;
4171 fcport->trunk.attr.state == BFA_TRUNK_ONLINE);
4265 * Assume caller check for port is in disable state
4275 * Assume caller check for port is in disable state
4285 * Assume caller check for port is in disable state
4294 * Assume caller check for port is in disable state
4303 * Beginning state, only online event expected.
4434 * Online state - normal parking state.
4565 * Offline state.
5645 * BFA DPORT state machine events
5655 BFA_DPORT_SM_SCN = 8, /* state change notify frm fw */
6159 if (dport->i2hmsg.scn.state == BFI_DPORT_SCN_DDPORT_ENABLE) {
6165 bfa_trc(dport->bfa, dport->i2hmsg.scn.state);
6258 switch (dport->i2hmsg.scn.state) {
6269 /* no state change */
6295 bfa_trc(dport->bfa, dport->i2hmsg.scn.state);
6348 /* no state change */
6418 switch (dport->i2hmsg.scn.state) {
6426 bfa_trc(dport->bfa, dport->i2hmsg.scn.state);
6550 bfa_trc(dport->bfa, msg->state);
6551 dport->i2hmsg.scn.state = msg->state;
6553 switch (dport->i2hmsg.scn.state) {
6619 bfa_sm_fault(dport->bfa, msg->state);
6699 * Check to see if port is disable or in dport state
6766 * Check to see if port is disable or in dport state
6826 * Check if dport is in enabled state.
6880 * Check if dport is in enabled state.