Lines Matching refs:ms
1481 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_offline()
1521 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_sending_rhba()
1546 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_rhba()
1595 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_rhba_retry()
1626 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_sending_rprt()
1651 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_rprt()
1698 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_rprt_retry()
1729 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_sending_rpa()
1754 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_rpa()
1799 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_rpa_retry()
1827 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_online()
1848 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_sm_disabled()
1863 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_send_rhba()
1904 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_build_rhba_pyld()
2170 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_rhba_response()
2204 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_send_rprt()
2470 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_build_rprt_pyld()
2493 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_rprt_response()
2527 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_send_rpa()
2564 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_build_rpa_pyld()
2585 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_lport_fdmi_rpa_response()
2624 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_fdmi_get_hbaattr()
2680 struct bfa_fcs_lport_s *port = fdmi->ms->port; in bfa_fcs_fdmi_get_portattr()
2799 bfa_fcs_lport_fdmi_init(struct bfa_fcs_lport_ms_s *ms) in bfa_fcs_lport_fdmi_init() argument
2801 struct bfa_fcs_lport_fdmi_s *fdmi = &ms->fdmi; in bfa_fcs_lport_fdmi_init()
2803 fdmi->ms = ms; in bfa_fcs_lport_fdmi_init()
2804 if (ms->port->fcs->fdmi_enabled) in bfa_fcs_lport_fdmi_init()
2811 bfa_fcs_lport_fdmi_offline(struct bfa_fcs_lport_ms_s *ms) in bfa_fcs_lport_fdmi_offline() argument
2813 struct bfa_fcs_lport_fdmi_s *fdmi = &ms->fdmi; in bfa_fcs_lport_fdmi_offline()
2815 fdmi->ms = ms; in bfa_fcs_lport_fdmi_offline()
2820 bfa_fcs_lport_fdmi_online(struct bfa_fcs_lport_ms_s *ms) in bfa_fcs_lport_fdmi_online() argument
2822 struct bfa_fcs_lport_fdmi_s *fdmi = &ms->fdmi; in bfa_fcs_lport_fdmi_online()
2824 fdmi->ms = ms; in bfa_fcs_lport_fdmi_online()
2879 static void bfa_fcs_lport_ms_sm_offline(struct bfa_fcs_lport_ms_s *ms,
2881 static void bfa_fcs_lport_ms_sm_plogi_sending(struct bfa_fcs_lport_ms_s *ms,
2883 static void bfa_fcs_lport_ms_sm_plogi(struct bfa_fcs_lport_ms_s *ms,
2885 static void bfa_fcs_lport_ms_sm_plogi_retry(struct bfa_fcs_lport_ms_s *ms,
2887 static void bfa_fcs_lport_ms_sm_gmal_sending(struct bfa_fcs_lport_ms_s *ms,
2889 static void bfa_fcs_lport_ms_sm_gmal(struct bfa_fcs_lport_ms_s *ms,
2891 static void bfa_fcs_lport_ms_sm_gmal_retry(struct bfa_fcs_lport_ms_s *ms,
2893 static void bfa_fcs_lport_ms_sm_gfn_sending(struct bfa_fcs_lport_ms_s *ms,
2895 static void bfa_fcs_lport_ms_sm_gfn(struct bfa_fcs_lport_ms_s *ms,
2897 static void bfa_fcs_lport_ms_sm_gfn_retry(struct bfa_fcs_lport_ms_s *ms,
2899 static void bfa_fcs_lport_ms_sm_online(struct bfa_fcs_lport_ms_s *ms,
2905 bfa_fcs_lport_ms_sm_offline(struct bfa_fcs_lport_ms_s *ms, in bfa_fcs_lport_ms_sm_offline() argument
2908 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_offline()
2909 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_offline()
2913 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_plogi_sending); in bfa_fcs_lport_ms_sm_offline()
2914 bfa_fcs_lport_ms_send_plogi(ms, NULL); in bfa_fcs_lport_ms_sm_offline()
2921 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_offline()
2926 bfa_fcs_lport_ms_sm_plogi_sending(struct bfa_fcs_lport_ms_s *ms, in bfa_fcs_lport_ms_sm_plogi_sending() argument
2929 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_plogi_sending()
2930 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_sending()
2934 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_plogi); in bfa_fcs_lport_ms_sm_plogi_sending()
2938 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_offline); in bfa_fcs_lport_ms_sm_plogi_sending()
2939 bfa_fcxp_walloc_cancel(BFA_FCS_GET_HAL_FROM_PORT(ms->port), in bfa_fcs_lport_ms_sm_plogi_sending()
2940 &ms->fcxp_wqe); in bfa_fcs_lport_ms_sm_plogi_sending()
2944 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_sending()
2949 bfa_fcs_lport_ms_sm_plogi(struct bfa_fcs_lport_ms_s *ms, in bfa_fcs_lport_ms_sm_plogi() argument
2952 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_plogi()
2953 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi()
2960 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_plogi_retry); in bfa_fcs_lport_ms_sm_plogi()
2961 ms->port->stats.ms_retries++; in bfa_fcs_lport_ms_sm_plogi()
2962 bfa_timer_start(BFA_FCS_GET_HAL_FROM_PORT(ms->port), in bfa_fcs_lport_ms_sm_plogi()
2963 &ms->timer, bfa_fcs_lport_ms_timeout, ms, in bfa_fcs_lport_ms_sm_plogi()
2971 bfa_fcs_lport_fdmi_online(ms); in bfa_fcs_lport_ms_sm_plogi()
2976 if (ms->port->vport) { in bfa_fcs_lport_ms_sm_plogi()
2977 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_online); in bfa_fcs_lport_ms_sm_plogi()
2985 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_gmal_sending); in bfa_fcs_lport_ms_sm_plogi()
2986 bfa_fcs_lport_ms_send_gmal(ms, NULL); in bfa_fcs_lport_ms_sm_plogi()
2990 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_offline); in bfa_fcs_lport_ms_sm_plogi()
2991 bfa_fcxp_discard(ms->fcxp); in bfa_fcs_lport_ms_sm_plogi()
2995 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi()
3000 bfa_fcs_lport_ms_sm_plogi_retry(struct bfa_fcs_lport_ms_s *ms, in bfa_fcs_lport_ms_sm_plogi_retry() argument
3003 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_plogi_retry()
3004 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_retry()
3011 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_plogi_sending); in bfa_fcs_lport_ms_sm_plogi_retry()
3012 bfa_fcs_lport_ms_send_plogi(ms, NULL); in bfa_fcs_lport_ms_sm_plogi_retry()
3016 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_offline); in bfa_fcs_lport_ms_sm_plogi_retry()
3017 bfa_timer_stop(&ms->timer); in bfa_fcs_lport_ms_sm_plogi_retry()
3021 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_plogi_retry()
3026 bfa_fcs_lport_ms_sm_online(struct bfa_fcs_lport_ms_s *ms, in bfa_fcs_lport_ms_sm_online() argument
3029 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_online()
3030 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_online()
3034 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_offline); in bfa_fcs_lport_ms_sm_online()
3038 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_gfn_sending); in bfa_fcs_lport_ms_sm_online()
3039 ms->retry_cnt = 0; in bfa_fcs_lport_ms_sm_online()
3040 bfa_fcs_lport_ms_send_gfn(ms, NULL); in bfa_fcs_lport_ms_sm_online()
3044 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_online()
3049 bfa_fcs_lport_ms_sm_gmal_sending(struct bfa_fcs_lport_ms_s *ms, in bfa_fcs_lport_ms_sm_gmal_sending() argument
3052 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gmal_sending()
3053 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_sending()
3057 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_gmal); in bfa_fcs_lport_ms_sm_gmal_sending()
3061 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_offline); in bfa_fcs_lport_ms_sm_gmal_sending()
3062 bfa_fcxp_walloc_cancel(BFA_FCS_GET_HAL_FROM_PORT(ms->port), in bfa_fcs_lport_ms_sm_gmal_sending()
3063 &ms->fcxp_wqe); in bfa_fcs_lport_ms_sm_gmal_sending()
3067 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_sending()
3072 bfa_fcs_lport_ms_sm_gmal(struct bfa_fcs_lport_ms_s *ms, in bfa_fcs_lport_ms_sm_gmal() argument
3075 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gmal()
3076 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal()
3083 if (ms->retry_cnt++ < BFA_FCS_MS_CMD_MAX_RETRIES) { in bfa_fcs_lport_ms_sm_gmal()
3084 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_gmal_retry); in bfa_fcs_lport_ms_sm_gmal()
3085 ms->port->stats.ms_retries++; in bfa_fcs_lport_ms_sm_gmal()
3086 bfa_timer_start(BFA_FCS_GET_HAL_FROM_PORT(ms->port), in bfa_fcs_lport_ms_sm_gmal()
3087 &ms->timer, bfa_fcs_lport_ms_timeout, ms, in bfa_fcs_lport_ms_sm_gmal()
3090 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_gfn_sending); in bfa_fcs_lport_ms_sm_gmal()
3091 bfa_fcs_lport_ms_send_gfn(ms, NULL); in bfa_fcs_lport_ms_sm_gmal()
3092 ms->retry_cnt = 0; in bfa_fcs_lport_ms_sm_gmal()
3097 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_gfn_sending); in bfa_fcs_lport_ms_sm_gmal()
3098 bfa_fcs_lport_ms_send_gfn(ms, NULL); in bfa_fcs_lport_ms_sm_gmal()
3102 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_offline); in bfa_fcs_lport_ms_sm_gmal()
3103 bfa_fcxp_discard(ms->fcxp); in bfa_fcs_lport_ms_sm_gmal()
3107 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal()
3112 bfa_fcs_lport_ms_sm_gmal_retry(struct bfa_fcs_lport_ms_s *ms, in bfa_fcs_lport_ms_sm_gmal_retry() argument
3115 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gmal_retry()
3116 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_retry()
3123 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_gmal_sending); in bfa_fcs_lport_ms_sm_gmal_retry()
3124 bfa_fcs_lport_ms_send_gmal(ms, NULL); in bfa_fcs_lport_ms_sm_gmal_retry()
3128 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_offline); in bfa_fcs_lport_ms_sm_gmal_retry()
3129 bfa_timer_stop(&ms->timer); in bfa_fcs_lport_ms_sm_gmal_retry()
3133 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gmal_retry()
3143 struct bfa_fcs_lport_ms_s *ms = ms_cbarg; in bfa_fcs_lport_ms_send_gmal() local
3144 bfa_fcs_lport_t *port = ms->port; in bfa_fcs_lport_ms_send_gmal()
3154 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe, in bfa_fcs_lport_ms_send_gmal()
3155 bfa_fcs_lport_ms_send_gmal, ms, BFA_TRUE); in bfa_fcs_lport_ms_send_gmal()
3158 ms->fcxp = fcxp; in bfa_fcs_lport_ms_send_gmal()
3166 bfa_fcs_lport_ms_gmal_response, (void *)ms, in bfa_fcs_lport_ms_send_gmal()
3169 bfa_sm_send_event(ms, MSSM_EVENT_FCXP_SENT); in bfa_fcs_lport_ms_send_gmal()
3178 struct bfa_fcs_lport_ms_s *ms = (struct bfa_fcs_lport_ms_s *) cbarg; in bfa_fcs_lport_ms_gmal_response() local
3179 bfa_fcs_lport_t *port = ms->port; in bfa_fcs_lport_ms_gmal_response()
3194 bfa_sm_send_event(ms, MSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ms_gmal_response()
3206 bfa_sm_send_event(ms, MSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ms_gmal_response()
3242 bfa_sm_send_event(ms, MSSM_EVENT_RSP_OK); in bfa_fcs_lport_ms_gmal_response()
3248 bfa_sm_send_event(ms, MSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ms_gmal_response()
3252 bfa_fcs_lport_ms_sm_gfn_sending(struct bfa_fcs_lport_ms_s *ms, in bfa_fcs_lport_ms_sm_gfn_sending() argument
3255 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gfn_sending()
3256 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_sending()
3260 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_gfn); in bfa_fcs_lport_ms_sm_gfn_sending()
3264 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_offline); in bfa_fcs_lport_ms_sm_gfn_sending()
3265 bfa_fcxp_walloc_cancel(BFA_FCS_GET_HAL_FROM_PORT(ms->port), in bfa_fcs_lport_ms_sm_gfn_sending()
3266 &ms->fcxp_wqe); in bfa_fcs_lport_ms_sm_gfn_sending()
3270 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_sending()
3275 bfa_fcs_lport_ms_sm_gfn(struct bfa_fcs_lport_ms_s *ms, in bfa_fcs_lport_ms_sm_gfn() argument
3278 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gfn()
3279 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn()
3286 if (ms->retry_cnt++ < BFA_FCS_MS_CMD_MAX_RETRIES) { in bfa_fcs_lport_ms_sm_gfn()
3287 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_gfn_retry); in bfa_fcs_lport_ms_sm_gfn()
3288 ms->port->stats.ms_retries++; in bfa_fcs_lport_ms_sm_gfn()
3289 bfa_timer_start(BFA_FCS_GET_HAL_FROM_PORT(ms->port), in bfa_fcs_lport_ms_sm_gfn()
3290 &ms->timer, bfa_fcs_lport_ms_timeout, ms, in bfa_fcs_lport_ms_sm_gfn()
3293 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_online); in bfa_fcs_lport_ms_sm_gfn()
3294 ms->retry_cnt = 0; in bfa_fcs_lport_ms_sm_gfn()
3299 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_online); in bfa_fcs_lport_ms_sm_gfn()
3303 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_offline); in bfa_fcs_lport_ms_sm_gfn()
3304 bfa_fcxp_discard(ms->fcxp); in bfa_fcs_lport_ms_sm_gfn()
3308 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn()
3313 bfa_fcs_lport_ms_sm_gfn_retry(struct bfa_fcs_lport_ms_s *ms, in bfa_fcs_lport_ms_sm_gfn_retry() argument
3316 bfa_trc(ms->port->fcs, ms->port->port_cfg.pwwn); in bfa_fcs_lport_ms_sm_gfn_retry()
3317 bfa_trc(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_retry()
3324 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_gfn_sending); in bfa_fcs_lport_ms_sm_gfn_retry()
3325 bfa_fcs_lport_ms_send_gfn(ms, NULL); in bfa_fcs_lport_ms_sm_gfn_retry()
3329 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_offline); in bfa_fcs_lport_ms_sm_gfn_retry()
3330 bfa_timer_stop(&ms->timer); in bfa_fcs_lport_ms_sm_gfn_retry()
3334 bfa_sm_fault(ms->port->fcs, event); in bfa_fcs_lport_ms_sm_gfn_retry()
3344 struct bfa_fcs_lport_ms_s *ms = ms_cbarg; in bfa_fcs_lport_ms_send_gfn() local
3345 bfa_fcs_lport_t *port = ms->port; in bfa_fcs_lport_ms_send_gfn()
3355 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe, in bfa_fcs_lport_ms_send_gfn()
3356 bfa_fcs_lport_ms_send_gfn, ms, BFA_TRUE); in bfa_fcs_lport_ms_send_gfn()
3359 ms->fcxp = fcxp; in bfa_fcs_lport_ms_send_gfn()
3367 bfa_fcs_lport_ms_gfn_response, (void *)ms, in bfa_fcs_lport_ms_send_gfn()
3370 bfa_sm_send_event(ms, MSSM_EVENT_FCXP_SENT); in bfa_fcs_lport_ms_send_gfn()
3378 struct bfa_fcs_lport_ms_s *ms = (struct bfa_fcs_lport_ms_s *) cbarg; in bfa_fcs_lport_ms_gfn_response() local
3379 bfa_fcs_lport_t *port = ms->port; in bfa_fcs_lport_ms_gfn_response()
3391 bfa_sm_send_event(ms, MSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ms_gfn_response()
3405 bfa_sm_send_event(ms, MSSM_EVENT_RSP_OK); in bfa_fcs_lport_ms_gfn_response()
3411 bfa_sm_send_event(ms, MSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ms_gfn_response()
3421 struct bfa_fcs_lport_ms_s *ms = ms_cbarg; in bfa_fcs_lport_ms_send_plogi() local
3422 struct bfa_fcs_lport_s *port = ms->port; in bfa_fcs_lport_ms_send_plogi()
3433 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe, in bfa_fcs_lport_ms_send_plogi()
3434 bfa_fcs_lport_ms_send_plogi, ms, BFA_TRUE); in bfa_fcs_lport_ms_send_plogi()
3437 ms->fcxp = fcxp; in bfa_fcs_lport_ms_send_plogi()
3448 bfa_fcs_lport_ms_plogi_response, (void *)ms, in bfa_fcs_lport_ms_send_plogi()
3452 bfa_sm_send_event(ms, MSSM_EVENT_FCXP_SENT); in bfa_fcs_lport_ms_send_plogi()
3460 struct bfa_fcs_lport_ms_s *ms = (struct bfa_fcs_lport_ms_s *) cbarg; in bfa_fcs_lport_ms_plogi_response() local
3461 struct bfa_fcs_lport_s *port = ms->port; in bfa_fcs_lport_ms_plogi_response()
3474 bfa_sm_send_event(ms, MSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ms_plogi_response()
3486 bfa_sm_send_event(ms, MSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ms_plogi_response()
3490 bfa_sm_send_event(ms, MSSM_EVENT_RSP_OK); in bfa_fcs_lport_ms_plogi_response()
3500 bfa_sm_send_event(ms, MSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ms_plogi_response()
3506 bfa_sm_send_event(ms, MSSM_EVENT_RSP_ERROR); in bfa_fcs_lport_ms_plogi_response()
3513 struct bfa_fcs_lport_ms_s *ms = (struct bfa_fcs_lport_ms_s *) arg; in bfa_fcs_lport_ms_timeout() local
3515 ms->port->stats.ms_timeouts++; in bfa_fcs_lport_ms_timeout()
3516 bfa_sm_send_event(ms, MSSM_EVENT_TIMEOUT); in bfa_fcs_lport_ms_timeout()
3523 struct bfa_fcs_lport_ms_s *ms = BFA_FCS_GET_MS_FROM_PORT(port); in bfa_fcs_lport_ms_init() local
3525 ms->port = port; in bfa_fcs_lport_ms_init()
3526 bfa_sm_set_state(ms, bfa_fcs_lport_ms_sm_offline); in bfa_fcs_lport_ms_init()
3531 bfa_fcs_lport_fdmi_init(ms); in bfa_fcs_lport_ms_init()
3537 struct bfa_fcs_lport_ms_s *ms = BFA_FCS_GET_MS_FROM_PORT(port); in bfa_fcs_lport_ms_offline() local
3539 ms->port = port; in bfa_fcs_lport_ms_offline()
3540 bfa_sm_send_event(ms, MSSM_EVENT_PORT_OFFLINE); in bfa_fcs_lport_ms_offline()
3541 bfa_fcs_lport_fdmi_offline(ms); in bfa_fcs_lport_ms_offline()
3547 struct bfa_fcs_lport_ms_s *ms = BFA_FCS_GET_MS_FROM_PORT(port); in bfa_fcs_lport_ms_online() local
3549 ms->port = port; in bfa_fcs_lport_ms_online()
3550 bfa_sm_send_event(ms, MSSM_EVENT_PORT_ONLINE); in bfa_fcs_lport_ms_online()
3555 struct bfa_fcs_lport_ms_s *ms = BFA_FCS_GET_MS_FROM_PORT(port); in bfa_fcs_lport_ms_fabric_rscn() local
3558 if (bfa_sm_cmp_state(ms, bfa_fcs_lport_ms_sm_online)) in bfa_fcs_lport_ms_fabric_rscn()
3559 bfa_sm_send_event(ms, MSSM_EVENT_PORT_FABRIC_RSCN); in bfa_fcs_lport_ms_fabric_rscn()