Lines Matching refs:bfa
58 struct bfa_ioc_s *ioc = &fabric->fcs->bfa->ioc; in bfa_fcs_update_cfg()
88 bfa_iocfc_get_pbc_vports(fcs->bfa, pbc_vports); in bfa_fcs_pbc_vport_init()
90 bfa_fcb_pbc_vport_create(fcs->bfa->bfad, pbc_vports[i]); in bfa_fcs_pbc_vport_init()
140 if (bfa_fcport_get_topology((__fabric)->fcs->bfa) \
233 struct bfa_s *bfa = fabric->fcs->bfa; in bfa_fcs_fabric_sm_created() local
240 if (!bfa_fcport_is_linkup(fabric->fcs->bfa)) { in bfa_fcs_fabric_sm_created()
244 if (bfa_fcport_get_topology(bfa) == in bfa_fcs_fabric_sm_created()
247 fabric->bport.pid = bfa_fcport_get_myalpa(bfa); in bfa_fcs_fabric_sm_created()
281 struct bfa_s *bfa = fabric->fcs->bfa; in bfa_fcs_fabric_sm_linkdown() local
288 if (bfa_fcport_get_topology(bfa) != BFA_PORT_TOPOLOGY_LOOP) { in bfa_fcs_fabric_sm_linkdown()
294 fabric->bport.pid = bfa_fcport_get_myalpa(bfa); in bfa_fcs_fabric_sm_linkdown()
333 bfa_fcport_set_tx_bbcredit(fabric->fcs->bfa, in bfa_fcs_fabric_sm_flogi()
348 bfa_timer_start(fabric->fcs->bfa, &fabric->delay_timer, in bfa_fcs_fabric_sm_flogi()
361 bfa_fcport_set_tx_bbcredit(fabric->fcs->bfa, in bfa_fcs_fabric_sm_flogi()
529 bfa_fcport_set_tx_bbcredit(fabric->fcs->bfa, in bfa_fcs_fabric_sm_nofabric()
548 struct bfa_s *bfa = fabric->fcs->bfa; in bfa_fcs_fabric_sm_online() local
556 if (bfa_fcport_get_topology(bfa) == BFA_PORT_TOPOLOGY_LOOP) { in bfa_fcs_fabric_sm_online()
678 struct bfa_s *bfa = fabric->fcs->bfa; in bfa_fcs_fabric_sm_stopping() local
685 if (bfa_fcport_get_topology(bfa) == BFA_PORT_TOPOLOGY_LOOP) { in bfa_fcs_fabric_sm_stopping()
697 if (bfa_fcport_get_topology(bfa) == BFA_PORT_TOPOLOGY_LOOP) in bfa_fcs_fabric_sm_stopping()
747 port_cfg->nwwn = fabric->fcs->bfa->ioc.attr->nwwn; in bfa_fcs_fabric_init()
748 port_cfg->pwwn = fabric->fcs->bfa->ioc.attr->pwwn; in bfa_fcs_fabric_init()
761 bfa_ioc_get_adapter_model(&fabric->fcs->bfa->ioc, model); in bfa_fcs_fabric_psymb_init()
822 bfa_ioc_get_adapter_model(&fabric->fcs->bfa->ioc, model); in bfa_fcs_fabric_nsymb_init()
935 struct bfa_s *bfa = fabric->fcs->bfa; in bfa_fcs_fabric_login() local
940 bfa_lps_flogi(fabric->lps, fabric, alpa, bfa_fcport_get_maxfrsize(bfa), in bfa_fcs_fabric_login()
1324 struct bfa_s *bfa = fabric->fcs->bfa; in bfa_fcs_fabric_send_flogi_acc() local
1340 bfa_fcport_get_maxfrsize(bfa), in bfa_fcs_fabric_send_flogi_acc()
1341 bfa_fcport_get_rx_bbcredit(bfa), 0); in bfa_fcs_fabric_send_flogi_acc()
1580 bfa_fcs_attach(struct bfa_fcs_s *fcs, struct bfa_s *bfa, struct bfad_s *bfad, in bfa_fcs_attach() argument
1585 fcs->bfa = bfa; in bfa_fcs_attach()
1590 bfa->fcs = BFA_TRUE; in bfa_fcs_attach()
1593 bfa_fcport_event_register(fcs->bfa, bfa_fcs_port_event_handler, fcs); in bfa_fcs_attach()
1594 bfa_uf_recv_register(fcs->bfa, bfa_fcs_uf_recv, fcs); in bfa_fcs_attach()
1604 fabric->lps = bfa_lps_alloc(fcs->bfa); in bfa_fcs_attach()