Lines Matching refs:fcs_port

456 	struct bfa_fcs_lport_s	*fcs_port;  in bfad_iocmd_lport_get_attr()  local
461 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_lport_get_attr()
463 if (fcs_port == NULL) { in bfad_iocmd_lport_get_attr()
469 bfa_fcs_lport_get_attr(fcs_port, &iocmd->port_attr); in bfad_iocmd_lport_get_attr()
479 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_lport_get_stats() local
485 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_lport_get_stats()
487 if (fcs_port == NULL) { in bfad_iocmd_lport_get_stats()
493 bfa_fcs_lport_get_stats(fcs_port, &iocmd->port_stats); in bfad_iocmd_lport_get_stats()
503 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_lport_reset_stats() local
512 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_lport_reset_stats()
514 if (fcs_port == NULL) { in bfad_iocmd_lport_reset_stats()
520 bfa_fcs_lport_clear_stats(fcs_port); in bfad_iocmd_lport_reset_stats()
524 if (itnim->rport->rport_info.lp_tag != fcs_port->lp_tag) in bfad_iocmd_lport_reset_stats()
537 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_lport_get_iostats() local
543 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_lport_get_iostats()
545 if (fcs_port == NULL) { in bfad_iocmd_lport_get_iostats()
552 fcs_port->lp_tag); in bfad_iocmd_lport_get_iostats()
565 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_lport_get_rports() local
583 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_lport_get_rports()
585 if (fcs_port == NULL) { in bfad_iocmd_lport_get_rports()
592 bfa_fcs_lport_get_rport_quals(fcs_port, in bfad_iocmd_lport_get_rports()
605 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_rport_get_attr() local
610 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_rport_get_attr()
612 if (fcs_port == NULL) { in bfad_iocmd_rport_get_attr()
620 fcs_rport = bfa_fcs_lport_get_rport_by_qualifier(fcs_port, in bfad_iocmd_rport_get_attr()
623 fcs_rport = bfa_fcs_rport_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_rport_get_attr()
643 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_rport_get_addr() local
649 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_rport_get_addr()
651 if (fcs_port == NULL) { in bfad_iocmd_rport_get_addr()
658 fcs_itnim = bfa_fcs_itnim_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_rport_get_addr()
692 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_rport_get_stats() local
697 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_rport_get_stats()
699 if (fcs_port == NULL) { in bfad_iocmd_rport_get_stats()
706 fcs_rport = bfa_fcs_rport_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_rport_get_stats()
733 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_rport_clr_stats() local
739 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_rport_clr_stats()
741 if (fcs_port == NULL) { in bfad_iocmd_rport_clr_stats()
747 fcs_rport = bfa_fcs_rport_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_rport_clr_stats()
769 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_rport_set_speed() local
774 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_rport_set_speed()
776 if (fcs_port == NULL) { in bfad_iocmd_rport_set_speed()
782 fcs_rport = bfa_fcs_rport_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_rport_set_speed()
1067 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_itnim_get_attr() local
1071 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_itnim_get_attr()
1073 if (!fcs_port) in bfad_iocmd_itnim_get_attr()
1076 iocmd->status = bfa_fcs_itnim_attr_get(fcs_port, in bfad_iocmd_itnim_get_attr()
1087 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_itnim_get_iostats() local
1092 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_itnim_get_iostats()
1094 if (!fcs_port) { in bfad_iocmd_itnim_get_iostats()
1098 itnim = bfa_fcs_itnim_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_itnim_get_iostats()
1118 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_itnim_reset_stats() local
1123 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_itnim_reset_stats()
1125 if (!fcs_port) in bfad_iocmd_itnim_reset_stats()
1128 itnim = bfa_fcs_itnim_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_itnim_reset_stats()
1133 bfa_fcs_itnim_stats_clear(fcs_port, iocmd->rpwwn); in bfad_iocmd_itnim_reset_stats()
1147 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_itnim_get_itnstats() local
1152 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_itnim_get_itnstats()
1154 if (!fcs_port) { in bfad_iocmd_itnim_get_itnstats()
1158 itnim = bfa_fcs_itnim_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_itnim_get_itnstats()
1163 bfa_fcs_itnim_stats_get(fcs_port, iocmd->rpwwn, in bfad_iocmd_itnim_get_itnstats()
2114 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_itnim_get_ioprofile() local
2119 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_itnim_get_ioprofile()
2121 if (!fcs_port) in bfad_iocmd_itnim_get_ioprofile()
2124 itnim = bfa_fcs_itnim_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_itnim_get_ioprofile()
3358 struct bfa_fcs_lport_s *fcs_port; in bfad_im_bsg_els_ct_request() local
3403 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, bsg_fcpt->vf_id, in bfad_im_bsg_els_ct_request()
3405 if (fcs_port == NULL) { in bfad_im_bsg_els_ct_request()
3412 if (!bfa_fcs_lport_is_online(fcs_port)) { in bfad_im_bsg_els_ct_request()
3418 drv_fcxp->port = fcs_port->bfad_port; in bfad_im_bsg_els_ct_request()
3432 fcs_rport = bfa_fcs_lport_get_rport_by_pwwn(fcs_port, in bfad_im_bsg_els_ct_request()