Home
last modified time | relevance | path

Searched refs:rport_ids (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/scsi/bfa/
Dbfad_im.c1070 struct fc_rport_identifiers rport_ids; in bfad_im_fc_rport_add() local
1074 rport_ids.node_name = in bfad_im_fc_rport_add()
1076 rport_ids.port_name = in bfad_im_fc_rport_add()
1078 rport_ids.port_id = in bfad_im_fc_rport_add()
1080 rport_ids.roles = FC_RPORT_ROLE_UNKNOWN; in bfad_im_fc_rport_add()
1083 fc_remote_port_add(im_port->shost, 0, &rport_ids); in bfad_im_fc_rport_add()
1095 rport_ids.roles |= FC_RPORT_ROLE_FCP_TARGET; in bfad_im_fc_rport_add()
1097 if (rport_ids.roles != FC_RPORT_ROLE_UNKNOWN) in bfad_im_fc_rport_add()
1098 fc_remote_port_rolechg(fc_rport, rport_ids.roles); in bfad_im_fc_rport_add()
/Linux-v4.19/drivers/message/fusion/
Dmptfc.c425 struct fc_rport_identifiers rport_ids; in mptfc_register_dev() local
433 if (mptfc_generate_rport_ids(pg0, &rport_ids) < 0) in mptfc_register_dev()
443 if (pn == rport_ids.port_name) { /* match */ in mptfc_register_dev()
462 rport = fc_remote_port_add(ioc->sh, channel, &rport_ids); in mptfc_register_dev()
/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_hbadisc.c4022 struct fc_rport_identifiers rport_ids; in lpfc_register_remote_port() local
4029 rport_ids.node_name = wwn_to_u64(ndlp->nlp_nodename.u.wwn); in lpfc_register_remote_port()
4030 rport_ids.port_name = wwn_to_u64(ndlp->nlp_portname.u.wwn); in lpfc_register_remote_port()
4031 rport_ids.port_id = ndlp->nlp_DID; in lpfc_register_remote_port()
4032 rport_ids.roles = FC_RPORT_ROLE_UNKNOWN; in lpfc_register_remote_port()
4063 ndlp->rport = rport = fc_remote_port_add(shost, 0, &rport_ids); in lpfc_register_remote_port()
4077 rport_ids.roles |= FC_RPORT_ROLE_FCP_TARGET; in lpfc_register_remote_port()
4079 rport_ids.roles |= FC_RPORT_ROLE_FCP_INITIATOR; in lpfc_register_remote_port()
4081 if (rport_ids.roles != FC_RPORT_ROLE_UNKNOWN) in lpfc_register_remote_port()
4082 fc_remote_port_rolechg(rport, rport_ids.roles); in lpfc_register_remote_port()
[all …]
/Linux-v4.19/drivers/scsi/qla2xxx/
Dqla_init.c5169 struct fc_rport_identifiers rport_ids; in qla2x00_reg_remote_port() local
5176 rport_ids.node_name = wwn_to_u64(fcport->node_name); in qla2x00_reg_remote_port()
5177 rport_ids.port_name = wwn_to_u64(fcport->port_name); in qla2x00_reg_remote_port()
5178 rport_ids.port_id = fcport->d_id.b.domain << 16 | in qla2x00_reg_remote_port()
5180 rport_ids.roles = FC_RPORT_ROLE_UNKNOWN; in qla2x00_reg_remote_port()
5181 fcport->rport = rport = fc_remote_port_add(vha->host, 0, &rport_ids); in qla2x00_reg_remote_port()
5194 rport_ids.roles = FC_RPORT_ROLE_UNKNOWN; in qla2x00_reg_remote_port()
5196 rport_ids.roles |= FC_RPORT_ROLE_FCP_INITIATOR; in qla2x00_reg_remote_port()
5198 rport_ids.roles |= FC_RPORT_ROLE_FCP_TARGET; in qla2x00_reg_remote_port()
5205 fc_remote_port_rolechg(rport, rport_ids.roles); in qla2x00_reg_remote_port()