Lines Matching refs:fcs_port

448 	struct bfa_fcs_lport_s	*fcs_port;  in bfad_iocmd_lport_get_attr()  local
453 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_lport_get_attr()
455 if (fcs_port == NULL) { in bfad_iocmd_lport_get_attr()
461 bfa_fcs_lport_get_attr(fcs_port, &iocmd->port_attr); in bfad_iocmd_lport_get_attr()
471 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_lport_get_stats() local
477 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_lport_get_stats()
479 if (fcs_port == NULL) { in bfad_iocmd_lport_get_stats()
485 bfa_fcs_lport_get_stats(fcs_port, &iocmd->port_stats); in bfad_iocmd_lport_get_stats()
495 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_lport_reset_stats() local
504 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_lport_reset_stats()
506 if (fcs_port == NULL) { in bfad_iocmd_lport_reset_stats()
512 bfa_fcs_lport_clear_stats(fcs_port); in bfad_iocmd_lport_reset_stats()
516 if (itnim->rport->rport_info.lp_tag != fcs_port->lp_tag) in bfad_iocmd_lport_reset_stats()
529 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_lport_get_iostats() local
535 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_lport_get_iostats()
537 if (fcs_port == NULL) { in bfad_iocmd_lport_get_iostats()
544 fcs_port->lp_tag); in bfad_iocmd_lport_get_iostats()
557 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_lport_get_rports() local
575 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_lport_get_rports()
577 if (fcs_port == NULL) { in bfad_iocmd_lport_get_rports()
584 bfa_fcs_lport_get_rport_quals(fcs_port, in bfad_iocmd_lport_get_rports()
597 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_rport_get_attr() local
602 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_rport_get_attr()
604 if (fcs_port == NULL) { in bfad_iocmd_rport_get_attr()
612 fcs_rport = bfa_fcs_lport_get_rport_by_qualifier(fcs_port, in bfad_iocmd_rport_get_attr()
615 fcs_rport = bfa_fcs_rport_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_rport_get_attr()
635 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_rport_get_addr() local
641 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_rport_get_addr()
643 if (fcs_port == NULL) { in bfad_iocmd_rport_get_addr()
650 fcs_itnim = bfa_fcs_itnim_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_rport_get_addr()
684 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_rport_get_stats() local
689 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_rport_get_stats()
691 if (fcs_port == NULL) { in bfad_iocmd_rport_get_stats()
698 fcs_rport = bfa_fcs_rport_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_rport_get_stats()
725 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_rport_clr_stats() local
731 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_rport_clr_stats()
733 if (fcs_port == NULL) { in bfad_iocmd_rport_clr_stats()
739 fcs_rport = bfa_fcs_rport_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_rport_clr_stats()
761 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_rport_set_speed() local
766 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_rport_set_speed()
768 if (fcs_port == NULL) { in bfad_iocmd_rport_set_speed()
774 fcs_rport = bfa_fcs_rport_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_rport_set_speed()
1059 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_itnim_get_attr() local
1063 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_itnim_get_attr()
1065 if (!fcs_port) in bfad_iocmd_itnim_get_attr()
1068 iocmd->status = bfa_fcs_itnim_attr_get(fcs_port, in bfad_iocmd_itnim_get_attr()
1079 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_itnim_get_iostats() local
1084 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_itnim_get_iostats()
1086 if (!fcs_port) { in bfad_iocmd_itnim_get_iostats()
1090 itnim = bfa_fcs_itnim_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_itnim_get_iostats()
1110 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_itnim_reset_stats() local
1115 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_itnim_reset_stats()
1117 if (!fcs_port) in bfad_iocmd_itnim_reset_stats()
1120 itnim = bfa_fcs_itnim_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_itnim_reset_stats()
1125 bfa_fcs_itnim_stats_clear(fcs_port, iocmd->rpwwn); in bfad_iocmd_itnim_reset_stats()
1139 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_itnim_get_itnstats() local
1144 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_itnim_get_itnstats()
1146 if (!fcs_port) { in bfad_iocmd_itnim_get_itnstats()
1150 itnim = bfa_fcs_itnim_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_itnim_get_itnstats()
1155 bfa_fcs_itnim_stats_get(fcs_port, iocmd->rpwwn, in bfad_iocmd_itnim_get_itnstats()
2106 struct bfa_fcs_lport_s *fcs_port; in bfad_iocmd_itnim_get_ioprofile() local
2111 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, in bfad_iocmd_itnim_get_ioprofile()
2113 if (!fcs_port) in bfad_iocmd_itnim_get_ioprofile()
2116 itnim = bfa_fcs_itnim_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_itnim_get_ioprofile()
3350 struct bfa_fcs_lport_s *fcs_port; in bfad_im_bsg_els_ct_request() local
3395 fcs_port = bfa_fcs_lookup_port(&bfad->bfa_fcs, bsg_fcpt->vf_id, in bfad_im_bsg_els_ct_request()
3397 if (fcs_port == NULL) { in bfad_im_bsg_els_ct_request()
3404 if (!bfa_fcs_lport_is_online(fcs_port)) { in bfad_im_bsg_els_ct_request()
3410 drv_fcxp->port = fcs_port->bfad_port; in bfad_im_bsg_els_ct_request()
3424 fcs_rport = bfa_fcs_lport_get_rport_by_pwwn(fcs_port, in bfad_im_bsg_els_ct_request()