Lines Matching refs:ms

1477 	struct bfa_fcs_lport_s *port = fdmi->ms->port;  in bfa_fcs_lport_fdmi_sm_offline()
1517 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_sending_rhba()
1542 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_rhba()
1591 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_rhba_retry()
1622 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_sending_rprt()
1647 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_rprt()
1694 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_rprt_retry()
1725 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_sending_rpa()
1750 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_rpa()
1795 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_rpa_retry()
1823 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_online()
1844 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_disabled()
1859 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_send_rhba()
1898 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_build_rhba_pyld()
2158 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_rhba_response()
2192 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_send_rprt()
2458 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_build_rprt_pyld()
2481 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_rprt_response()
2515 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_send_rpa()
2552 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_build_rpa_pyld()
2573 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_rpa_response()
2612 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_fdmi_get_hbaattr()
2668 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_fdmi_get_portattr()
2787 bfa_fcs_lport_fdmi_init(struct bfa_fcs_lport_ms_s *ms) in bfa_fcs_lport_fdmi_init() argument
2789 struct bfa_fcs_lport_fdmi_s *fdmi = &ms->fdmi; in bfa_fcs_lport_fdmi_init()
2791 fdmi->ms = ms; in bfa_fcs_lport_fdmi_init()
2792 if (ms->port->fcs->fdmi_enabled) in bfa_fcs_lport_fdmi_init()
2799 bfa_fcs_lport_fdmi_offline(struct bfa_fcs_lport_ms_s *ms) in bfa_fcs_lport_fdmi_offline() argument
2801 struct bfa_fcs_lport_fdmi_s *fdmi = &ms->fdmi; in bfa_fcs_lport_fdmi_offline()
2803 fdmi->ms = ms; in bfa_fcs_lport_fdmi_offline()
2808 bfa_fcs_lport_fdmi_online(struct bfa_fcs_lport_ms_s *ms) in bfa_fcs_lport_fdmi_online() argument
2810 struct bfa_fcs_lport_fdmi_s *fdmi = &ms->fdmi; in bfa_fcs_lport_fdmi_online()
2812 fdmi->ms = ms; in bfa_fcs_lport_fdmi_online()
2867 static void bfa_fcs_lport_ms_sm_offline(struct bfa_fcs_lport_ms_s *ms,
2869 static void bfa_fcs_lport_ms_sm_plogi_sending(struct bfa_fcs_lport_ms_s *ms,
2871 static void bfa_fcs_lport_ms_sm_plogi(struct bfa_fcs_lport_ms_s *ms,
2873 static void bfa_fcs_lport_ms_sm_plogi_retry(struct bfa_fcs_lport_ms_s *ms,
2875 static void bfa_fcs_lport_ms_sm_gmal_sending(struct bfa_fcs_lport_ms_s *ms,
2877 static void bfa_fcs_lport_ms_sm_gmal(struct bfa_fcs_lport_ms_s *ms,
2879 static void bfa_fcs_lport_ms_sm_gmal_retry(struct bfa_fcs_lport_ms_s *ms,
2881 static void bfa_fcs_lport_ms_sm_gfn_sending(struct bfa_fcs_lport_ms_s *ms,
2883 static void bfa_fcs_lport_ms_sm_gfn(struct bfa_fcs_lport_ms_s *ms,
2885 static void bfa_fcs_lport_ms_sm_gfn_retry(struct bfa_fcs_lport_ms_s *ms,
2887 static void bfa_fcs_lport_ms_sm_online(struct bfa_fcs_lport_ms_s *ms,
2893 bfa_fcs_lport_ms_sm_offline(struct bfa_fcs_lport_ms_s *ms, in bfa_fcs_lport_ms_sm_offline() argument
2896 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_offline()
2897 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_offline()
2901 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_plogi_sending); in bfa_fcs_lport_ms_sm_offline()
2902 bfa_fcs_lport_ms_send_plogi(ms, NULL); in bfa_fcs_lport_ms_sm_offline()
2909 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_offline()
2914 bfa_fcs_lport_ms_sm_plogi_sending(struct bfa_fcs_lport_ms_s *ms, in bfa_fcs_lport_ms_sm_plogi_sending() argument
2917 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_plogi_sending()
2918 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_sending()
2922 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_plogi); in bfa_fcs_lport_ms_sm_plogi_sending()
2926 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_offline); in bfa_fcs_lport_ms_sm_plogi_sending()
2927 bfa_fcxp_walloc_cancel(BFA_FCS_GET_HAL_FROM_PORT(ms->port), in bfa_fcs_lport_ms_sm_plogi_sending()
2928 &ms->fcxp_wqe); in bfa_fcs_lport_ms_sm_plogi_sending()
2932 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_sending()
2937 bfa_fcs_lport_ms_sm_plogi(struct bfa_fcs_lport_ms_s *ms, in bfa_fcs_lport_ms_sm_plogi() argument
2940 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_plogi()
2941 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi()
2948 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_plogi_retry); in bfa_fcs_lport_ms_sm_plogi()
2949 ms->port->stats.ms_retries++; in bfa_fcs_lport_ms_sm_plogi()
2950 bfa_timer_start(BFA_FCS_GET_HAL_FROM_PORT(ms->port), in bfa_fcs_lport_ms_sm_plogi()
2951 &ms->timer, bfa_fcs_lport_ms_timeout, ms, in bfa_fcs_lport_ms_sm_plogi()
2959 bfa_fcs_lport_fdmi_online(ms); in bfa_fcs_lport_ms_sm_plogi()
2964 if (ms->port->vport) { in bfa_fcs_lport_ms_sm_plogi()
2965 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_online); in bfa_fcs_lport_ms_sm_plogi()
2973 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_gmal_sending); in bfa_fcs_lport_ms_sm_plogi()
2974 bfa_fcs_lport_ms_send_gmal(ms, NULL); in bfa_fcs_lport_ms_sm_plogi()
2978 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_offline); in bfa_fcs_lport_ms_sm_plogi()
2979 bfa_fcxp_discard(ms->fcxp); in bfa_fcs_lport_ms_sm_plogi()
2983 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi()
2988 bfa_fcs_lport_ms_sm_plogi_retry(struct bfa_fcs_lport_ms_s *ms, in bfa_fcs_lport_ms_sm_plogi_retry() argument
2991 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_plogi_retry()
2992 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_retry()
2999 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_plogi_sending); in bfa_fcs_lport_ms_sm_plogi_retry()
3000 bfa_fcs_lport_ms_send_plogi(ms, NULL); in bfa_fcs_lport_ms_sm_plogi_retry()
3004 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_offline); in bfa_fcs_lport_ms_sm_plogi_retry()
3005 bfa_timer_stop(&ms->timer); in bfa_fcs_lport_ms_sm_plogi_retry()
3009 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_retry()
3014 bfa_fcs_lport_ms_sm_online(struct bfa_fcs_lport_ms_s *ms, in bfa_fcs_lport_ms_sm_online() argument
3017 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_online()
3018 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_online()
3022 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_offline); in bfa_fcs_lport_ms_sm_online()
3026 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_gfn_sending); in bfa_fcs_lport_ms_sm_online()
3027 ms->retry_cnt = 0; in bfa_fcs_lport_ms_sm_online()
3028 bfa_fcs_lport_ms_send_gfn(ms, NULL); in bfa_fcs_lport_ms_sm_online()
3032 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_online()
3037 bfa_fcs_lport_ms_sm_gmal_sending(struct bfa_fcs_lport_ms_s *ms, in bfa_fcs_lport_ms_sm_gmal_sending() argument
3040 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gmal_sending()
3041 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_sending()
3045 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_gmal); in bfa_fcs_lport_ms_sm_gmal_sending()
3049 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_offline); in bfa_fcs_lport_ms_sm_gmal_sending()
3050 bfa_fcxp_walloc_cancel(BFA_FCS_GET_HAL_FROM_PORT(ms->port), in bfa_fcs_lport_ms_sm_gmal_sending()
3051 &ms->fcxp_wqe); in bfa_fcs_lport_ms_sm_gmal_sending()
3055 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_sending()
3060 bfa_fcs_lport_ms_sm_gmal(struct bfa_fcs_lport_ms_s *ms, in bfa_fcs_lport_ms_sm_gmal() argument
3063 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gmal()
3064 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal()
3071 if (ms->retry_cnt++ < BFA_FCS_MS_CMD_MAX_RETRIES) { in bfa_fcs_lport_ms_sm_gmal()
3072 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_gmal_retry); in bfa_fcs_lport_ms_sm_gmal()
3073 ms->port->stats.ms_retries++; in bfa_fcs_lport_ms_sm_gmal()
3074 bfa_timer_start(BFA_FCS_GET_HAL_FROM_PORT(ms->port), in bfa_fcs_lport_ms_sm_gmal()
3075 &ms->timer, bfa_fcs_lport_ms_timeout, ms, in bfa_fcs_lport_ms_sm_gmal()
3078 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_gfn_sending); in bfa_fcs_lport_ms_sm_gmal()
3079 bfa_fcs_lport_ms_send_gfn(ms, NULL); in bfa_fcs_lport_ms_sm_gmal()
3080 ms->retry_cnt = 0; in bfa_fcs_lport_ms_sm_gmal()
3085 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_gfn_sending); in bfa_fcs_lport_ms_sm_gmal()
3086 bfa_fcs_lport_ms_send_gfn(ms, NULL); in bfa_fcs_lport_ms_sm_gmal()
3090 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_offline); in bfa_fcs_lport_ms_sm_gmal()
3091 bfa_fcxp_discard(ms->fcxp); in bfa_fcs_lport_ms_sm_gmal()
3095 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal()
3100 bfa_fcs_lport_ms_sm_gmal_retry(struct bfa_fcs_lport_ms_s *ms, in bfa_fcs_lport_ms_sm_gmal_retry() argument
3103 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gmal_retry()
3104 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_retry()
3111 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_gmal_sending); in bfa_fcs_lport_ms_sm_gmal_retry()
3112 bfa_fcs_lport_ms_send_gmal(ms, NULL); in bfa_fcs_lport_ms_sm_gmal_retry()
3116 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_offline); in bfa_fcs_lport_ms_sm_gmal_retry()
3117 bfa_timer_stop(&ms->timer); in bfa_fcs_lport_ms_sm_gmal_retry()
3121 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_retry()
3131 struct bfa_fcs_lport_ms_s *ms = ms_cbarg; in bfa_fcs_lport_ms_send_gmal() local
3132 bfa_fcs_lport_t *port = ms->port; in bfa_fcs_lport_ms_send_gmal()
3142 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe, in bfa_fcs_lport_ms_send_gmal()
3143 bfa_fcs_lport_ms_send_gmal, ms, BFA_TRUE); in bfa_fcs_lport_ms_send_gmal()
3146 ms->fcxp = fcxp; in bfa_fcs_lport_ms_send_gmal()
3154 bfa_fcs_lport_ms_gmal_response, (void *)ms, in bfa_fcs_lport_ms_send_gmal()
3157 bfa_sm_send_event(ms, MSSM_EVENT_FCXP_SENT); in bfa_fcs_lport_ms_send_gmal()
3166 struct bfa_fcs_lport_ms_s *ms = (struct bfa_fcs_lport_ms_s *) cbarg; in bfa_fcs_lport_ms_gmal_response() local
3167 bfa_fcs_lport_t *port = ms->port; in bfa_fcs_lport_ms_gmal_response()
3182 bfa_sm_send_event(ms, MSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ms_gmal_response()
3194 bfa_sm_send_event(ms, MSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ms_gmal_response()
3230 bfa_sm_send_event(ms, MSSM_EVENT_RSP_OK); in bfa_fcs_lport_ms_gmal_response()
3236 bfa_sm_send_event(ms, MSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ms_gmal_response()
3240 bfa_fcs_lport_ms_sm_gfn_sending(struct bfa_fcs_lport_ms_s *ms, in bfa_fcs_lport_ms_sm_gfn_sending() argument
3243 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gfn_sending()
3244 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_sending()
3248 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_gfn); in bfa_fcs_lport_ms_sm_gfn_sending()
3252 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_offline); in bfa_fcs_lport_ms_sm_gfn_sending()
3253 bfa_fcxp_walloc_cancel(BFA_FCS_GET_HAL_FROM_PORT(ms->port), in bfa_fcs_lport_ms_sm_gfn_sending()
3254 &ms->fcxp_wqe); in bfa_fcs_lport_ms_sm_gfn_sending()
3258 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_sending()
3263 bfa_fcs_lport_ms_sm_gfn(struct bfa_fcs_lport_ms_s *ms, in bfa_fcs_lport_ms_sm_gfn() argument
3266 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gfn()
3267 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn()
3274 if (ms->retry_cnt++ < BFA_FCS_MS_CMD_MAX_RETRIES) { in bfa_fcs_lport_ms_sm_gfn()
3275 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_gfn_retry); in bfa_fcs_lport_ms_sm_gfn()
3276 ms->port->stats.ms_retries++; in bfa_fcs_lport_ms_sm_gfn()
3277 bfa_timer_start(BFA_FCS_GET_HAL_FROM_PORT(ms->port), in bfa_fcs_lport_ms_sm_gfn()
3278 &ms->timer, bfa_fcs_lport_ms_timeout, ms, in bfa_fcs_lport_ms_sm_gfn()
3281 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_online); in bfa_fcs_lport_ms_sm_gfn()
3282 ms->retry_cnt = 0; in bfa_fcs_lport_ms_sm_gfn()
3287 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_online); in bfa_fcs_lport_ms_sm_gfn()
3291 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_offline); in bfa_fcs_lport_ms_sm_gfn()
3292 bfa_fcxp_discard(ms->fcxp); in bfa_fcs_lport_ms_sm_gfn()
3296 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn()
3301 bfa_fcs_lport_ms_sm_gfn_retry(struct bfa_fcs_lport_ms_s *ms, in bfa_fcs_lport_ms_sm_gfn_retry() argument
3304 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gfn_retry()
3305 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_retry()
3312 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_gfn_sending); in bfa_fcs_lport_ms_sm_gfn_retry()
3313 bfa_fcs_lport_ms_send_gfn(ms, NULL); in bfa_fcs_lport_ms_sm_gfn_retry()
3317 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_offline); in bfa_fcs_lport_ms_sm_gfn_retry()
3318 bfa_timer_stop(&ms->timer); in bfa_fcs_lport_ms_sm_gfn_retry()
3322 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_retry()
3332 struct bfa_fcs_lport_ms_s *ms = ms_cbarg; in bfa_fcs_lport_ms_send_gfn() local
3333 bfa_fcs_lport_t *port = ms->port; in bfa_fcs_lport_ms_send_gfn()
3343 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe, in bfa_fcs_lport_ms_send_gfn()
3344 bfa_fcs_lport_ms_send_gfn, ms, BFA_TRUE); in bfa_fcs_lport_ms_send_gfn()
3347 ms->fcxp = fcxp; in bfa_fcs_lport_ms_send_gfn()
3355 bfa_fcs_lport_ms_gfn_response, (void *)ms, in bfa_fcs_lport_ms_send_gfn()
3358 bfa_sm_send_event(ms, MSSM_EVENT_FCXP_SENT); in bfa_fcs_lport_ms_send_gfn()
3366 struct bfa_fcs_lport_ms_s *ms = (struct bfa_fcs_lport_ms_s *) cbarg; in bfa_fcs_lport_ms_gfn_response() local
3367 bfa_fcs_lport_t *port = ms->port; in bfa_fcs_lport_ms_gfn_response()
3379 bfa_sm_send_event(ms, MSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ms_gfn_response()
3393 bfa_sm_send_event(ms, MSSM_EVENT_RSP_OK); in bfa_fcs_lport_ms_gfn_response()
3399 bfa_sm_send_event(ms, MSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ms_gfn_response()
3409 struct bfa_fcs_lport_ms_s *ms = ms_cbarg; in bfa_fcs_lport_ms_send_plogi() local
3410 struct bfa_fcs_lport_s *port = ms->port; in bfa_fcs_lport_ms_send_plogi()
3421 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe, in bfa_fcs_lport_ms_send_plogi()
3422 bfa_fcs_lport_ms_send_plogi, ms, BFA_TRUE); in bfa_fcs_lport_ms_send_plogi()
3425 ms->fcxp = fcxp; in bfa_fcs_lport_ms_send_plogi()
3436 bfa_fcs_lport_ms_plogi_response, (void *)ms, in bfa_fcs_lport_ms_send_plogi()
3440 bfa_sm_send_event(ms, MSSM_EVENT_FCXP_SENT); in bfa_fcs_lport_ms_send_plogi()
3448 struct bfa_fcs_lport_ms_s *ms = (struct bfa_fcs_lport_ms_s *) cbarg; in bfa_fcs_lport_ms_plogi_response() local
3449 struct bfa_fcs_lport_s *port = ms->port; in bfa_fcs_lport_ms_plogi_response()
3462 bfa_sm_send_event(ms, MSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ms_plogi_response()
3474 bfa_sm_send_event(ms, MSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ms_plogi_response()
3478 bfa_sm_send_event(ms, MSSM_EVENT_RSP_OK); in bfa_fcs_lport_ms_plogi_response()
3488 bfa_sm_send_event(ms, MSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ms_plogi_response()
3494 bfa_sm_send_event(ms, MSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ms_plogi_response()
3501 struct bfa_fcs_lport_ms_s *ms = (struct bfa_fcs_lport_ms_s *) arg; in bfa_fcs_lport_ms_timeout() local
3503 ms->port->stats.ms_timeouts++; in bfa_fcs_lport_ms_timeout()
3504 bfa_sm_send_event(ms, MSSM_EVENT_TIMEOUT); in bfa_fcs_lport_ms_timeout()
3511 struct bfa_fcs_lport_ms_s *ms = BFA_FCS_GET_MS_FROM_PORT(port); in bfa_fcs_lport_ms_init() local
3513 ms->port = port; in bfa_fcs_lport_ms_init()
3514 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_offline); in bfa_fcs_lport_ms_init()
3519 bfa_fcs_lport_fdmi_init(ms); in bfa_fcs_lport_ms_init()
3525 struct bfa_fcs_lport_ms_s *ms = BFA_FCS_GET_MS_FROM_PORT(port); in bfa_fcs_lport_ms_offline() local
3527 ms->port = port; in bfa_fcs_lport_ms_offline()
3528 bfa_sm_send_event(ms, MSSM_EVENT_PORT_OFFLINE); in bfa_fcs_lport_ms_offline()
3529 bfa_fcs_lport_fdmi_offline(ms); in bfa_fcs_lport_ms_offline()
3535 struct bfa_fcs_lport_ms_s *ms = BFA_FCS_GET_MS_FROM_PORT(port); in bfa_fcs_lport_ms_online() local
3537 ms->port = port; in bfa_fcs_lport_ms_online()
3538 bfa_sm_send_event(ms, MSSM_EVENT_PORT_ONLINE); in bfa_fcs_lport_ms_online()
3543 struct bfa_fcs_lport_ms_s *ms = BFA_FCS_GET_MS_FROM_PORT(port); in bfa_fcs_lport_ms_fabric_rscn() local
3546 if (bfa_sm_cmp_state(ms, bfa_fcs_lport_ms_sm_online)) in bfa_fcs_lport_ms_fabric_rscn()
3547 bfa_sm_send_event(ms, MSSM_EVENT_PORT_FABRIC_RSCN); in bfa_fcs_lport_ms_fabric_rscn()