Lines Matching refs:fcs_rport
606 struct bfa_fcs_rport_s *fcs_rport; in bfad_iocmd_rport_get_attr() local
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()
624 if (fcs_rport == NULL) { in bfad_iocmd_rport_get_attr()
631 bfa_fcs_rport_get_attr(fcs_rport, &iocmd->attr); in bfad_iocmd_rport_get_attr()
693 struct bfa_fcs_rport_s *fcs_rport; in bfad_iocmd_rport_get_stats() local
706 fcs_rport = bfa_fcs_rport_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_rport_get_stats()
707 if (fcs_rport == NULL) { in bfad_iocmd_rport_get_stats()
714 memcpy((void *)&iocmd->stats, (void *)&fcs_rport->stats, in bfad_iocmd_rport_get_stats()
716 if (bfa_fcs_rport_get_halrport(fcs_rport)) { in bfad_iocmd_rport_get_stats()
718 (void *)&(bfa_fcs_rport_get_halrport(fcs_rport)->stats), in bfad_iocmd_rport_get_stats()
734 struct bfa_fcs_rport_s *fcs_rport; in bfad_iocmd_rport_clr_stats() local
747 fcs_rport = bfa_fcs_rport_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_rport_clr_stats()
748 if (fcs_rport == NULL) { in bfad_iocmd_rport_clr_stats()
754 memset((char *)&fcs_rport->stats, 0, sizeof(struct bfa_rport_stats_s)); in bfad_iocmd_rport_clr_stats()
755 rport = bfa_fcs_rport_get_halrport(fcs_rport); in bfad_iocmd_rport_clr_stats()
770 struct bfa_fcs_rport_s *fcs_rport; in bfad_iocmd_rport_set_speed() local
782 fcs_rport = bfa_fcs_rport_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_rport_set_speed()
783 if (fcs_rport == NULL) { in bfad_iocmd_rport_set_speed()
789 fcs_rport->rpf.assigned_speed = iocmd->speed; in bfad_iocmd_rport_set_speed()
791 if (fcs_rport->rpf.rpsc_speed == BFA_PORT_SPEED_UNKNOWN) in bfad_iocmd_rport_set_speed()
792 if (fcs_rport->bfa_rport) in bfad_iocmd_rport_set_speed()
793 bfa_rport_speed(fcs_rport->bfa_rport, iocmd->speed); in bfad_iocmd_rport_set_speed()
3359 struct bfa_fcs_rport_s *fcs_rport; in bfad_im_bsg_els_ct_request() local
3432 fcs_rport = bfa_fcs_lport_get_rport_by_pwwn(fcs_port, in bfad_im_bsg_els_ct_request()
3434 if (fcs_rport == NULL) { in bfad_im_bsg_els_ct_request()
3440 drv_fcxp->bfa_rport = fcs_rport->bfa_rport; in bfad_im_bsg_els_ct_request()