Lines Matching refs:ln

171 static void bfa_fcport_queue_cb(struct bfa_fcport_ln_s *ln,
212 static void bfa_fcport_ln_sm_dn(struct bfa_fcport_ln_s *ln,
214 static void bfa_fcport_ln_sm_dn_nf(struct bfa_fcport_ln_s *ln,
216 static void bfa_fcport_ln_sm_dn_up_nf(struct bfa_fcport_ln_s *ln,
218 static void bfa_fcport_ln_sm_up(struct bfa_fcport_ln_s *ln,
220 static void bfa_fcport_ln_sm_up_nf(struct bfa_fcport_ln_s *ln,
222 static void bfa_fcport_ln_sm_up_dn_nf(struct bfa_fcport_ln_s *ln,
224 static void bfa_fcport_ln_sm_up_dn_up_nf(struct bfa_fcport_ln_s *ln,
2851 bfa_fcport_ln_sm_dn(struct bfa_fcport_ln_s *ln, in bfa_fcport_ln_sm_dn() argument
2854 bfa_trc(ln->fcport->bfa, event); in bfa_fcport_ln_sm_dn()
2858 bfa_sm_set_state(ln, bfa_fcport_ln_sm_up_nf); in bfa_fcport_ln_sm_dn()
2859 bfa_fcport_queue_cb(ln, BFA_PORT_LINKUP); in bfa_fcport_ln_sm_dn()
2863 bfa_sm_fault(ln->fcport->bfa, event); in bfa_fcport_ln_sm_dn()
2871 bfa_fcport_ln_sm_dn_nf(struct bfa_fcport_ln_s *ln, in bfa_fcport_ln_sm_dn_nf() argument
2874 bfa_trc(ln->fcport->bfa, event); in bfa_fcport_ln_sm_dn_nf()
2878 bfa_sm_set_state(ln, bfa_fcport_ln_sm_dn_up_nf); in bfa_fcport_ln_sm_dn_nf()
2882 bfa_sm_set_state(ln, bfa_fcport_ln_sm_dn); in bfa_fcport_ln_sm_dn_nf()
2886 bfa_sm_fault(ln->fcport->bfa, event); in bfa_fcport_ln_sm_dn_nf()
2894 bfa_fcport_ln_sm_dn_up_nf(struct bfa_fcport_ln_s *ln, in bfa_fcport_ln_sm_dn_up_nf() argument
2897 bfa_trc(ln->fcport->bfa, event); in bfa_fcport_ln_sm_dn_up_nf()
2901 bfa_sm_set_state(ln, bfa_fcport_ln_sm_dn_nf); in bfa_fcport_ln_sm_dn_up_nf()
2905 bfa_sm_set_state(ln, bfa_fcport_ln_sm_up_nf); in bfa_fcport_ln_sm_dn_up_nf()
2906 bfa_fcport_queue_cb(ln, BFA_PORT_LINKUP); in bfa_fcport_ln_sm_dn_up_nf()
2910 bfa_sm_fault(ln->fcport->bfa, event); in bfa_fcport_ln_sm_dn_up_nf()
2918 bfa_fcport_ln_sm_up(struct bfa_fcport_ln_s *ln, in bfa_fcport_ln_sm_up() argument
2921 bfa_trc(ln->fcport->bfa, event); in bfa_fcport_ln_sm_up()
2925 bfa_sm_set_state(ln, bfa_fcport_ln_sm_dn_nf); in bfa_fcport_ln_sm_up()
2926 bfa_fcport_queue_cb(ln, BFA_PORT_LINKDOWN); in bfa_fcport_ln_sm_up()
2930 bfa_sm_fault(ln->fcport->bfa, event); in bfa_fcport_ln_sm_up()
2938 bfa_fcport_ln_sm_up_nf(struct bfa_fcport_ln_s *ln, in bfa_fcport_ln_sm_up_nf() argument
2941 bfa_trc(ln->fcport->bfa, event); in bfa_fcport_ln_sm_up_nf()
2945 bfa_sm_set_state(ln, bfa_fcport_ln_sm_up_dn_nf); in bfa_fcport_ln_sm_up_nf()
2949 bfa_sm_set_state(ln, bfa_fcport_ln_sm_up); in bfa_fcport_ln_sm_up_nf()
2953 bfa_sm_fault(ln->fcport->bfa, event); in bfa_fcport_ln_sm_up_nf()
2961 bfa_fcport_ln_sm_up_dn_nf(struct bfa_fcport_ln_s *ln, in bfa_fcport_ln_sm_up_dn_nf() argument
2964 bfa_trc(ln->fcport->bfa, event); in bfa_fcport_ln_sm_up_dn_nf()
2968 bfa_sm_set_state(ln, bfa_fcport_ln_sm_up_dn_up_nf); in bfa_fcport_ln_sm_up_dn_nf()
2972 bfa_sm_set_state(ln, bfa_fcport_ln_sm_dn_nf); in bfa_fcport_ln_sm_up_dn_nf()
2973 bfa_fcport_queue_cb(ln, BFA_PORT_LINKDOWN); in bfa_fcport_ln_sm_up_dn_nf()
2977 bfa_sm_fault(ln->fcport->bfa, event); in bfa_fcport_ln_sm_up_dn_nf()
2985 bfa_fcport_ln_sm_up_dn_up_nf(struct bfa_fcport_ln_s *ln, in bfa_fcport_ln_sm_up_dn_up_nf() argument
2988 bfa_trc(ln->fcport->bfa, event); in bfa_fcport_ln_sm_up_dn_up_nf()
2992 bfa_sm_set_state(ln, bfa_fcport_ln_sm_up_dn_nf); in bfa_fcport_ln_sm_up_dn_up_nf()
2996 bfa_sm_set_state(ln, bfa_fcport_ln_sm_dn_up_nf); in bfa_fcport_ln_sm_up_dn_up_nf()
2997 bfa_fcport_queue_cb(ln, BFA_PORT_LINKDOWN); in bfa_fcport_ln_sm_up_dn_up_nf()
3001 bfa_sm_fault(ln->fcport->bfa, event); in bfa_fcport_ln_sm_up_dn_up_nf()
3008 struct bfa_fcport_ln_s *ln = cbarg; in __bfa_cb_fcport_event() local
3011 ln->fcport->event_cbfn(ln->fcport->event_cbarg, ln->ln_event); in __bfa_cb_fcport_event()
3013 bfa_sm_send_event(ln, BFA_FCPORT_LN_SM_NOTIFICATION); in __bfa_cb_fcport_event()
3029 bfa_sm_send_event(&fcport->ln, BFA_FCPORT_LN_SM_LINKUP); in bfa_fcport_scn()
3032 bfa_sm_send_event(&fcport->ln, BFA_FCPORT_LN_SM_LINKDOWN); in bfa_fcport_scn()
3040 bfa_fcport_queue_cb(struct bfa_fcport_ln_s *ln, enum bfa_port_linkstate event) in bfa_fcport_queue_cb() argument
3042 struct bfa_fcport_s *fcport = ln->fcport; in bfa_fcport_queue_cb()
3046 bfa_sm_send_event(ln, BFA_FCPORT_LN_SM_NOTIFICATION); in bfa_fcport_queue_cb()
3048 ln->ln_event = event; in bfa_fcport_queue_cb()
3049 bfa_cb_queue(fcport->bfa, &ln->ln_qe, in bfa_fcport_queue_cb()
3050 __bfa_cb_fcport_event, ln); in bfa_fcport_queue_cb()
3094 struct bfa_fcport_ln_s *ln = &fcport->ln; in bfa_fcport_attach() local
3098 ln->fcport = fcport; in bfa_fcport_attach()
3103 bfa_sm_set_state(ln, bfa_fcport_ln_sm_dn); in bfa_fcport_attach()