Lines Matching refs:fcs_rport

598 	struct bfa_fcs_rport_s *fcs_rport;  in bfad_iocmd_rport_get_attr()  local
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()
616 if (fcs_rport == NULL) { in bfad_iocmd_rport_get_attr()
623 bfa_fcs_rport_get_attr(fcs_rport, &iocmd->attr); in bfad_iocmd_rport_get_attr()
685 struct bfa_fcs_rport_s *fcs_rport; in bfad_iocmd_rport_get_stats() local
698 fcs_rport = bfa_fcs_rport_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_rport_get_stats()
699 if (fcs_rport == NULL) { in bfad_iocmd_rport_get_stats()
706 memcpy((void *)&iocmd->stats, (void *)&fcs_rport->stats, in bfad_iocmd_rport_get_stats()
708 if (bfa_fcs_rport_get_halrport(fcs_rport)) { in bfad_iocmd_rport_get_stats()
710 (void *)&(bfa_fcs_rport_get_halrport(fcs_rport)->stats), in bfad_iocmd_rport_get_stats()
726 struct bfa_fcs_rport_s *fcs_rport; in bfad_iocmd_rport_clr_stats() local
739 fcs_rport = bfa_fcs_rport_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_rport_clr_stats()
740 if (fcs_rport == NULL) { in bfad_iocmd_rport_clr_stats()
746 memset((char *)&fcs_rport->stats, 0, sizeof(struct bfa_rport_stats_s)); in bfad_iocmd_rport_clr_stats()
747 rport = bfa_fcs_rport_get_halrport(fcs_rport); in bfad_iocmd_rport_clr_stats()
762 struct bfa_fcs_rport_s *fcs_rport; in bfad_iocmd_rport_set_speed() local
774 fcs_rport = bfa_fcs_rport_lookup(fcs_port, iocmd->rpwwn); in bfad_iocmd_rport_set_speed()
775 if (fcs_rport == NULL) { in bfad_iocmd_rport_set_speed()
781 fcs_rport->rpf.assigned_speed = iocmd->speed; in bfad_iocmd_rport_set_speed()
783 if (fcs_rport->rpf.rpsc_speed == BFA_PORT_SPEED_UNKNOWN) in bfad_iocmd_rport_set_speed()
784 if (fcs_rport->bfa_rport) in bfad_iocmd_rport_set_speed()
785 bfa_rport_speed(fcs_rport->bfa_rport, iocmd->speed); in bfad_iocmd_rport_set_speed()
3351 struct bfa_fcs_rport_s *fcs_rport; in bfad_im_bsg_els_ct_request() local
3424 fcs_rport = bfa_fcs_lport_get_rport_by_pwwn(fcs_port, in bfad_im_bsg_els_ct_request()
3426 if (fcs_rport == NULL) { in bfad_im_bsg_els_ct_request()
3432 drv_fcxp->bfa_rport = fcs_rport->bfa_rport; in bfad_im_bsg_els_ct_request()