• Home
  • Raw
  • Download

Lines Matching refs:ln

148 static void bfa_fcport_queue_cb(struct bfa_fcport_ln_s *ln,
189 static void bfa_fcport_ln_sm_dn(struct bfa_fcport_ln_s *ln,
191 static void bfa_fcport_ln_sm_dn_nf(struct bfa_fcport_ln_s *ln,
193 static void bfa_fcport_ln_sm_dn_up_nf(struct bfa_fcport_ln_s *ln,
195 static void bfa_fcport_ln_sm_up(struct bfa_fcport_ln_s *ln,
197 static void bfa_fcport_ln_sm_up_nf(struct bfa_fcport_ln_s *ln,
199 static void bfa_fcport_ln_sm_up_dn_nf(struct bfa_fcport_ln_s *ln,
201 static void bfa_fcport_ln_sm_up_dn_up_nf(struct bfa_fcport_ln_s *ln,
2786 bfa_fcport_ln_sm_dn(struct bfa_fcport_ln_s *ln, in bfa_fcport_ln_sm_dn() argument
2789 bfa_trc(ln->fcport->bfa, event); in bfa_fcport_ln_sm_dn()
2793 bfa_sm_set_state(ln, bfa_fcport_ln_sm_up_nf); in bfa_fcport_ln_sm_dn()
2794 bfa_fcport_queue_cb(ln, BFA_PORT_LINKUP); in bfa_fcport_ln_sm_dn()
2798 bfa_sm_fault(ln->fcport->bfa, event); in bfa_fcport_ln_sm_dn()
2806 bfa_fcport_ln_sm_dn_nf(struct bfa_fcport_ln_s *ln, in bfa_fcport_ln_sm_dn_nf() argument
2809 bfa_trc(ln->fcport->bfa, event); in bfa_fcport_ln_sm_dn_nf()
2813 bfa_sm_set_state(ln, bfa_fcport_ln_sm_dn_up_nf); in bfa_fcport_ln_sm_dn_nf()
2817 bfa_sm_set_state(ln, bfa_fcport_ln_sm_dn); in bfa_fcport_ln_sm_dn_nf()
2821 bfa_sm_fault(ln->fcport->bfa, event); in bfa_fcport_ln_sm_dn_nf()
2829 bfa_fcport_ln_sm_dn_up_nf(struct bfa_fcport_ln_s *ln, in bfa_fcport_ln_sm_dn_up_nf() argument
2832 bfa_trc(ln->fcport->bfa, event); in bfa_fcport_ln_sm_dn_up_nf()
2836 bfa_sm_set_state(ln, bfa_fcport_ln_sm_dn_nf); in bfa_fcport_ln_sm_dn_up_nf()
2840 bfa_sm_set_state(ln, bfa_fcport_ln_sm_up_nf); in bfa_fcport_ln_sm_dn_up_nf()
2841 bfa_fcport_queue_cb(ln, BFA_PORT_LINKUP); in bfa_fcport_ln_sm_dn_up_nf()
2845 bfa_sm_fault(ln->fcport->bfa, event); in bfa_fcport_ln_sm_dn_up_nf()
2853 bfa_fcport_ln_sm_up(struct bfa_fcport_ln_s *ln, in bfa_fcport_ln_sm_up() argument
2856 bfa_trc(ln->fcport->bfa, event); in bfa_fcport_ln_sm_up()
2860 bfa_sm_set_state(ln, bfa_fcport_ln_sm_dn_nf); in bfa_fcport_ln_sm_up()
2861 bfa_fcport_queue_cb(ln, BFA_PORT_LINKDOWN); in bfa_fcport_ln_sm_up()
2865 bfa_sm_fault(ln->fcport->bfa, event); in bfa_fcport_ln_sm_up()
2873 bfa_fcport_ln_sm_up_nf(struct bfa_fcport_ln_s *ln, in bfa_fcport_ln_sm_up_nf() argument
2876 bfa_trc(ln->fcport->bfa, event); in bfa_fcport_ln_sm_up_nf()
2880 bfa_sm_set_state(ln, bfa_fcport_ln_sm_up_dn_nf); in bfa_fcport_ln_sm_up_nf()
2884 bfa_sm_set_state(ln, bfa_fcport_ln_sm_up); in bfa_fcport_ln_sm_up_nf()
2888 bfa_sm_fault(ln->fcport->bfa, event); in bfa_fcport_ln_sm_up_nf()
2896 bfa_fcport_ln_sm_up_dn_nf(struct bfa_fcport_ln_s *ln, in bfa_fcport_ln_sm_up_dn_nf() argument
2899 bfa_trc(ln->fcport->bfa, event); in bfa_fcport_ln_sm_up_dn_nf()
2903 bfa_sm_set_state(ln, bfa_fcport_ln_sm_up_dn_up_nf); in bfa_fcport_ln_sm_up_dn_nf()
2907 bfa_sm_set_state(ln, bfa_fcport_ln_sm_dn_nf); in bfa_fcport_ln_sm_up_dn_nf()
2908 bfa_fcport_queue_cb(ln, BFA_PORT_LINKDOWN); in bfa_fcport_ln_sm_up_dn_nf()
2912 bfa_sm_fault(ln->fcport->bfa, event); in bfa_fcport_ln_sm_up_dn_nf()
2920 bfa_fcport_ln_sm_up_dn_up_nf(struct bfa_fcport_ln_s *ln, in bfa_fcport_ln_sm_up_dn_up_nf() argument
2923 bfa_trc(ln->fcport->bfa, event); in bfa_fcport_ln_sm_up_dn_up_nf()
2927 bfa_sm_set_state(ln, bfa_fcport_ln_sm_up_dn_nf); in bfa_fcport_ln_sm_up_dn_up_nf()
2931 bfa_sm_set_state(ln, bfa_fcport_ln_sm_dn_up_nf); in bfa_fcport_ln_sm_up_dn_up_nf()
2932 bfa_fcport_queue_cb(ln, BFA_PORT_LINKDOWN); in bfa_fcport_ln_sm_up_dn_up_nf()
2936 bfa_sm_fault(ln->fcport->bfa, event); in bfa_fcport_ln_sm_up_dn_up_nf()
2943 struct bfa_fcport_ln_s *ln = cbarg; in __bfa_cb_fcport_event() local
2946 ln->fcport->event_cbfn(ln->fcport->event_cbarg, ln->ln_event); in __bfa_cb_fcport_event()
2948 bfa_sm_send_event(ln, BFA_FCPORT_LN_SM_NOTIFICATION); in __bfa_cb_fcport_event()
2964 bfa_sm_send_event(&fcport->ln, BFA_FCPORT_LN_SM_LINKUP); in bfa_fcport_scn()
2967 bfa_sm_send_event(&fcport->ln, BFA_FCPORT_LN_SM_LINKDOWN); in bfa_fcport_scn()
2975 bfa_fcport_queue_cb(struct bfa_fcport_ln_s *ln, enum bfa_port_linkstate event) in bfa_fcport_queue_cb() argument
2977 struct bfa_fcport_s *fcport = ln->fcport; in bfa_fcport_queue_cb()
2981 bfa_sm_send_event(ln, BFA_FCPORT_LN_SM_NOTIFICATION); in bfa_fcport_queue_cb()
2983 ln->ln_event = event; in bfa_fcport_queue_cb()
2984 bfa_cb_queue(fcport->bfa, &ln->ln_qe, in bfa_fcport_queue_cb()
2985 __bfa_cb_fcport_event, ln); in bfa_fcport_queue_cb()
3029 struct bfa_fcport_ln_s *ln = &fcport->ln; in bfa_fcport_attach() local
3032 ln->fcport = fcport; in bfa_fcport_attach()
3037 bfa_sm_set_state(ln, bfa_fcport_ln_sm_dn); in bfa_fcport_attach()