Lines Matching refs:rport
64 struct fc_rport *rport; in csio_reg_rnode() local
73 rport = rn->rport; in csio_reg_rnode()
74 CSIO_ASSERT(rport != NULL); in csio_reg_rnode()
78 rn->rport = fc_remote_port_add(shost, 0, &ids); in csio_reg_rnode()
79 if (!rn->rport) { in csio_reg_rnode()
86 rport = rn->rport; in csio_reg_rnode()
88 *((struct csio_rnode **)rport->dd_data) = rn; in csio_reg_rnode()
92 rport->maxframe_size = ntohs(sp->csp.sp_bb_data); in csio_reg_rnode()
94 rport->supported_classes = FC_COS_CLASS3; in csio_reg_rnode()
96 rport->supported_classes = FC_COS_UNSPECIFIED; in csio_reg_rnode()
104 fc_remote_port_rolechg(rport, ids.roles); in csio_reg_rnode()
106 rn->scsi_id = rport->scsi_target_id; in csio_reg_rnode()
124 struct fc_rport *rport = rn->rport; in csio_unreg_rnode() local
127 fc_remote_port_delete(rport); in csio_unreg_rnode()
368 csio_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout) in csio_set_rport_loss_tmo() argument
371 rport->dev_loss_tmo = timeout; in csio_set_rport_loss_tmo()
373 rport->dev_loss_tmo = 1; in csio_set_rport_loss_tmo()
672 csio_dev_loss_tmo_callbk(struct fc_rport *rport) in csio_dev_loss_tmo_callbk() argument
678 rn = *((struct csio_rnode **)rport->dd_data); in csio_dev_loss_tmo_callbk()