Lines Matching refs:rport

84     				     " transport to wait for an rport to "
102 static void mptfc_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout);
193 struct fc_rport *rport = starget_to_rport(scsi_target(sdev));
202 while ((ready = fc_remote_port_chkready(rport) >> 16) == DID_IMM_RETRY
256 mptfc_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout)
259 rport->dev_loss_tmo = timeout;
261 rport->dev_loss_tmo = mptfc_dev_loss_tmo;
425 struct fc_rport *rport;
458 /* MPT_RPORT_INFO_FLAGS_REGISTERED - rport not previously deleted */
461 rport = fc_remote_port_add(ioc->sh, channel, &rport_ids);
462 if (rport) {
463 ri->rport = rport;
465 rport->dev_loss_tmo = mptfc_dev_loss_tmo;
479 *((struct mptfc_rport_info **)rport->dd_data) = ri;
480 /* scan will be scheduled once rport becomes a target */
481 fc_remote_port_rolechg(rport,roles);
487 "rport tid %d, tmo %d\n",
494 ri->rport->scsi_target_id,
495 ri->rport->dev_loss_tmo));
511 struct fc_rport *rport;
514 rport = starget_to_rport(starget);
515 if (rport) {
516 ri = *((struct mptfc_rport_info **)rport->dd_data);
533 struct fc_rport *rport;
543 rport = starget_to_rport(starget);
544 if (rport) {
545 ri = *((struct mptfc_rport_info **)rport->dd_data);
563 * @rport
568 mptfc_dump_lun_info(MPT_ADAPTER *ioc, struct fc_rport *rport, struct scsi_device *sdev,
574 ri = *((struct mptfc_rport_info **)rport->dd_data);
603 struct fc_rport *rport;
607 rport = starget_to_rport(starget);
609 if (!rport || fc_remote_port_chkready(rport))
637 mptfc_dump_lun_info(ioc, rport, sdev, vtarget);
646 struct fc_rport *rport = starget_to_rport(scsi_target(SCpnt->device));
656 err = fc_remote_port_chkready(rport);
664 ri = *((struct mptfc_rport_info **)rport->dd_data);
1091 fc_remote_port_delete(ri->rport); /* won't sleep */
1092 ri->rport = NULL;
1146 fc_remote_port_delete(ri->rport); /* won't sleep */
1147 ri->rport = NULL;