Lines Matching refs:rport
64 struct fc_rport *rport;
73 rport = rn->rport;
74 CSIO_ASSERT(rport != NULL);
78 rn->rport = fc_remote_port_add(shost, 0, &ids);
79 if (!rn->rport) {
80 csio_ln_err(ln, "Failed to register rport = 0x%x.\n",
86 rport = rn->rport;
88 *((struct csio_rnode **)rport->dd_data) = rn;
92 rport->maxframe_size = ntohs(sp->csp.sp_bb_data);
94 rport->supported_classes = FC_COS_CLASS3;
96 rport->supported_classes = FC_COS_UNSPECIFIED;
104 fc_remote_port_rolechg(rport, ids.roles);
106 rn->scsi_id = rport->scsi_target_id;
124 struct fc_rport *rport = rn->rport;
127 fc_remote_port_delete(rport);
372 * csio_set_rport_loss_tmo - Set the rport dev loss timeout
373 * @rport: fc rport.
380 csio_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout)
383 rport->dev_loss_tmo = timeout;
385 rport->dev_loss_tmo = 1;
681 csio_dev_loss_tmo_callbk(struct fc_rport *rport)
687 rn = *((struct csio_rnode **)rport->dd_data);