• 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,
2780 bfa_fcport_ln_sm_dn(struct bfa_fcport_ln_s *ln, in bfa_fcport_ln_sm_dn() argument
2783 bfa_trc(ln->fcport->bfa, event); in bfa_fcport_ln_sm_dn()
2787 bfa_sm_set_state(ln, bfa_fcport_ln_sm_up_nf); in bfa_fcport_ln_sm_dn()
2788 bfa_fcport_queue_cb(ln, BFA_PORT_LINKUP); in bfa_fcport_ln_sm_dn()
2792 bfa_sm_fault(ln->fcport->bfa, event); in bfa_fcport_ln_sm_dn()
2800 bfa_fcport_ln_sm_dn_nf(struct bfa_fcport_ln_s *ln, in bfa_fcport_ln_sm_dn_nf() argument
2803 bfa_trc(ln->fcport->bfa, event); in bfa_fcport_ln_sm_dn_nf()
2807 bfa_sm_set_state(ln, bfa_fcport_ln_sm_dn_up_nf); in bfa_fcport_ln_sm_dn_nf()
2811 bfa_sm_set_state(ln, bfa_fcport_ln_sm_dn); in bfa_fcport_ln_sm_dn_nf()
2815 bfa_sm_fault(ln->fcport->bfa, event); in bfa_fcport_ln_sm_dn_nf()
2823 bfa_fcport_ln_sm_dn_up_nf(struct bfa_fcport_ln_s *ln, in bfa_fcport_ln_sm_dn_up_nf() argument
2826 bfa_trc(ln->fcport->bfa, event); in bfa_fcport_ln_sm_dn_up_nf()
2830 bfa_sm_set_state(ln, bfa_fcport_ln_sm_dn_nf); in bfa_fcport_ln_sm_dn_up_nf()
2834 bfa_sm_set_state(ln, bfa_fcport_ln_sm_up_nf); in bfa_fcport_ln_sm_dn_up_nf()
2835 bfa_fcport_queue_cb(ln, BFA_PORT_LINKUP); in bfa_fcport_ln_sm_dn_up_nf()
2839 bfa_sm_fault(ln->fcport->bfa, event); in bfa_fcport_ln_sm_dn_up_nf()
2847 bfa_fcport_ln_sm_up(struct bfa_fcport_ln_s *ln, in bfa_fcport_ln_sm_up() argument
2850 bfa_trc(ln->fcport->bfa, event); in bfa_fcport_ln_sm_up()
2854 bfa_sm_set_state(ln, bfa_fcport_ln_sm_dn_nf); in bfa_fcport_ln_sm_up()
2855 bfa_fcport_queue_cb(ln, BFA_PORT_LINKDOWN); in bfa_fcport_ln_sm_up()
2859 bfa_sm_fault(ln->fcport->bfa, event); in bfa_fcport_ln_sm_up()
2867 bfa_fcport_ln_sm_up_nf(struct bfa_fcport_ln_s *ln, in bfa_fcport_ln_sm_up_nf() argument
2870 bfa_trc(ln->fcport->bfa, event); in bfa_fcport_ln_sm_up_nf()
2874 bfa_sm_set_state(ln, bfa_fcport_ln_sm_up_dn_nf); in bfa_fcport_ln_sm_up_nf()
2878 bfa_sm_set_state(ln, bfa_fcport_ln_sm_up); in bfa_fcport_ln_sm_up_nf()
2882 bfa_sm_fault(ln->fcport->bfa, event); in bfa_fcport_ln_sm_up_nf()
2890 bfa_fcport_ln_sm_up_dn_nf(struct bfa_fcport_ln_s *ln, in bfa_fcport_ln_sm_up_dn_nf() argument
2893 bfa_trc(ln->fcport->bfa, event); in bfa_fcport_ln_sm_up_dn_nf()
2897 bfa_sm_set_state(ln, bfa_fcport_ln_sm_up_dn_up_nf); in bfa_fcport_ln_sm_up_dn_nf()
2901 bfa_sm_set_state(ln, bfa_fcport_ln_sm_dn_nf); in bfa_fcport_ln_sm_up_dn_nf()
2902 bfa_fcport_queue_cb(ln, BFA_PORT_LINKDOWN); in bfa_fcport_ln_sm_up_dn_nf()
2906 bfa_sm_fault(ln->fcport->bfa, event); in bfa_fcport_ln_sm_up_dn_nf()
2914 bfa_fcport_ln_sm_up_dn_up_nf(struct bfa_fcport_ln_s *ln, in bfa_fcport_ln_sm_up_dn_up_nf() argument
2917 bfa_trc(ln->fcport->bfa, event); in bfa_fcport_ln_sm_up_dn_up_nf()
2921 bfa_sm_set_state(ln, bfa_fcport_ln_sm_up_dn_nf); in bfa_fcport_ln_sm_up_dn_up_nf()
2925 bfa_sm_set_state(ln, bfa_fcport_ln_sm_dn_up_nf); in bfa_fcport_ln_sm_up_dn_up_nf()
2926 bfa_fcport_queue_cb(ln, BFA_PORT_LINKDOWN); in bfa_fcport_ln_sm_up_dn_up_nf()
2930 bfa_sm_fault(ln->fcport->bfa, event); in bfa_fcport_ln_sm_up_dn_up_nf()
2937 struct bfa_fcport_ln_s *ln = cbarg; in __bfa_cb_fcport_event() local
2940 ln->fcport->event_cbfn(ln->fcport->event_cbarg, ln->ln_event); in __bfa_cb_fcport_event()
2942 bfa_sm_send_event(ln, BFA_FCPORT_LN_SM_NOTIFICATION); in __bfa_cb_fcport_event()
2958 bfa_sm_send_event(&fcport->ln, BFA_FCPORT_LN_SM_LINKUP); in bfa_fcport_scn()
2961 bfa_sm_send_event(&fcport->ln, BFA_FCPORT_LN_SM_LINKDOWN); in bfa_fcport_scn()
2969 bfa_fcport_queue_cb(struct bfa_fcport_ln_s *ln, enum bfa_port_linkstate event) in bfa_fcport_queue_cb() argument
2971 struct bfa_fcport_s *fcport = ln->fcport; in bfa_fcport_queue_cb()
2975 bfa_sm_send_event(ln, BFA_FCPORT_LN_SM_NOTIFICATION); in bfa_fcport_queue_cb()
2977 ln->ln_event = event; in bfa_fcport_queue_cb()
2978 bfa_cb_queue(fcport->bfa, &ln->ln_qe, in bfa_fcport_queue_cb()
2979 __bfa_cb_fcport_event, ln); in bfa_fcport_queue_cb()
3023 struct bfa_fcport_ln_s *ln = &fcport->ln; in bfa_fcport_attach() local
3026 ln->fcport = fcport; in bfa_fcport_attach()
3031 bfa_sm_set_state(ln, bfa_fcport_ln_sm_dn); in bfa_fcport_attach()