Lines Matching refs:fcs_port

455 	struct bfa_fcs_lport_s	*fcs_port;  in bfad_iocmd_lport_get_attr()  local
460 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_lport_get_attr()
462 if (fcs_port == NULL) { in bfad_iocmd_lport_get_attr()
468 bfa_fcs_lport_get_attr(fcs_port, &iocmd->port_attr); in bfad_iocmd_lport_get_attr()
478 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_lport_get_stats() local
484 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_lport_get_stats()
486 if (fcs_port == NULL) { in bfad_iocmd_lport_get_stats()
492 bfa_fcs_lport_get_stats(fcs_port, &iocmd->port_stats); in bfad_iocmd_lport_get_stats()
502 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_lport_reset_stats() local
511 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_lport_reset_stats()
513 if (fcs_port == NULL) { in bfad_iocmd_lport_reset_stats()
519 bfa_fcs_lport_clear_stats(fcs_port); in bfad_iocmd_lport_reset_stats()
523 if (itnim->rport->rport_info.lp_tag != fcs_port->lp_tag) in bfad_iocmd_lport_reset_stats()
536 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_lport_get_iostats() local
542 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_lport_get_iostats()
544 if (fcs_port == NULL) { in bfad_iocmd_lport_get_iostats()
551 fcs_port->lp_tag); in bfad_iocmd_lport_get_iostats()
564 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_lport_get_rports() local
582 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_lport_get_rports()
584 if (fcs_port == NULL) { in bfad_iocmd_lport_get_rports()
591 bfa_fcs_lport_get_rport_quals(fcs_port, in bfad_iocmd_lport_get_rports()
604 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_rport_get_attr() local
609 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_rport_get_attr()
611 if (fcs_port == NULL) { in bfad_iocmd_rport_get_attr()
619 fcs_rport = bfa_fcs_lport_get_rport_by_qualifier(fcs_port, in bfad_iocmd_rport_get_attr()
622 fcs_rport = bfa_fcs_rport_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_rport_get_attr()
642 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_rport_get_addr() local
648 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_rport_get_addr()
650 if (fcs_port == NULL) { in bfad_iocmd_rport_get_addr()
657 fcs_itnim = bfa_fcs_itnim_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_rport_get_addr()
691 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_rport_get_stats() local
696 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_rport_get_stats()
698 if (fcs_port == NULL) { in bfad_iocmd_rport_get_stats()
705 fcs_rport = bfa_fcs_rport_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_rport_get_stats()
732 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_rport_clr_stats() local
738 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_rport_clr_stats()
740 if (fcs_port == NULL) { in bfad_iocmd_rport_clr_stats()
746 fcs_rport = bfa_fcs_rport_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_rport_clr_stats()
768 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_rport_set_speed() local
773 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_rport_set_speed()
775 if (fcs_port == NULL) { in bfad_iocmd_rport_set_speed()
781 fcs_rport = bfa_fcs_rport_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_rport_set_speed()
1066 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_itnim_get_attr() local
1070 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_itnim_get_attr()
1072 if (!fcs_port) in bfad_iocmd_itnim_get_attr()
1075 iocmd->status = bfa_fcs_itnim_attr_get(fcs_port, in bfad_iocmd_itnim_get_attr()
1086 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_itnim_get_iostats() local
1091 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_itnim_get_iostats()
1093 if (!fcs_port) { in bfad_iocmd_itnim_get_iostats()
1097 itnim = bfa_fcs_itnim_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_itnim_get_iostats()
1117 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_itnim_reset_stats() local
1122 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_itnim_reset_stats()
1124 if (!fcs_port) in bfad_iocmd_itnim_reset_stats()
1127 itnim = bfa_fcs_itnim_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_itnim_reset_stats()
1132 bfa_fcs_itnim_stats_clear(fcs_port, iocmd->rpwwn); in bfad_iocmd_itnim_reset_stats()
1146 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_itnim_get_itnstats() local
1151 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_itnim_get_itnstats()
1153 if (!fcs_port) { in bfad_iocmd_itnim_get_itnstats()
1157 itnim = bfa_fcs_itnim_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_itnim_get_itnstats()
1162 bfa_fcs_itnim_stats_get(fcs_port, iocmd->rpwwn, in bfad_iocmd_itnim_get_itnstats()
2115 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_itnim_get_ioprofile() local
2120 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_itnim_get_ioprofile()
2122 if (!fcs_port) in bfad_iocmd_itnim_get_ioprofile()
2125 itnim = bfa_fcs_itnim_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_itnim_get_ioprofile()
3362 struct bfa_fcs_lport_s *fcs_port; in bfad_im_bsg_els_ct_request() local
3405 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, bsg_fcpt->vf_id, in bfad_im_bsg_els_ct_request()
3407 if (fcs_port == NULL) { in bfad_im_bsg_els_ct_request()
3414 if (!bfa_fcs_lport_is_online(fcs_port)) { in bfad_im_bsg_els_ct_request()
3420 drv_fcxp->port = fcs_port->bfad_port; in bfad_im_bsg_els_ct_request()
3434 fcs_rport = bfa_fcs_lport_get_rport_by_pwwn(fcs_port, in bfad_im_bsg_els_ct_request()