Searched refs:rport_ids (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/drivers/scsi/bfa/ |
D | bfad_im.c | 1060 struct fc_rport_identifiers rport_ids; in bfad_im_fc_rport_add() local 1064 rport_ids.node_name = in bfad_im_fc_rport_add() 1066 rport_ids.port_name = in bfad_im_fc_rport_add() 1068 rport_ids.port_id = in bfad_im_fc_rport_add() 1070 rport_ids.roles = FC_RPORT_ROLE_UNKNOWN; in bfad_im_fc_rport_add() 1073 fc_remote_port_add(im_port->shost, 0, &rport_ids); in bfad_im_fc_rport_add() 1085 rport_ids.roles |= FC_RPORT_ROLE_FCP_TARGET; in bfad_im_fc_rport_add() 1087 if (rport_ids.roles != FC_RPORT_ROLE_UNKNOWN) in bfad_im_fc_rport_add() 1088 fc_remote_port_rolechg(fc_rport, rport_ids.roles); in bfad_im_fc_rport_add()
|
/Linux-v6.1/drivers/message/fusion/ |
D | mptfc.c | 424 struct fc_rport_identifiers rport_ids; in mptfc_register_dev() local 432 if (mptfc_generate_rport_ids(pg0, &rport_ids) < 0) in mptfc_register_dev() 442 if (pn == rport_ids.port_name) { /* match */ in mptfc_register_dev() 461 rport = fc_remote_port_add(ioc->sh, channel, &rport_ids); in mptfc_register_dev()
|
/Linux-v6.1/drivers/scsi/lpfc/ |
D | lpfc_hbadisc.c | 4477 struct fc_rport_identifiers rport_ids; in lpfc_register_remote_port() local 4485 rport_ids.node_name = wwn_to_u64(ndlp->nlp_nodename.u.wwn); in lpfc_register_remote_port() 4486 rport_ids.port_name = wwn_to_u64(ndlp->nlp_portname.u.wwn); in lpfc_register_remote_port() 4487 rport_ids.port_id = ndlp->nlp_DID; in lpfc_register_remote_port() 4488 rport_ids.roles = FC_RPORT_ROLE_UNKNOWN; in lpfc_register_remote_port() 4507 ndlp->rport = rport = fc_remote_port_add(shost, 0, &rport_ids); in lpfc_register_remote_port() 4532 rport_ids.roles |= FC_PORT_ROLE_FCP_TARGET; in lpfc_register_remote_port() 4534 rport_ids.roles |= FC_PORT_ROLE_FCP_INITIATOR; in lpfc_register_remote_port() 4536 rport_ids.roles |= FC_PORT_ROLE_NVME_INITIATOR; in lpfc_register_remote_port() 4538 rport_ids.roles |= FC_PORT_ROLE_NVME_TARGET; in lpfc_register_remote_port() [all …]
|
/Linux-v6.1/drivers/scsi/qla2xxx/ |
D | qla_init.c | 5820 struct fc_rport_identifiers rport_ids; in qla2x00_reg_remote_port() local 5827 rport_ids.node_name = wwn_to_u64(fcport->node_name); in qla2x00_reg_remote_port() 5828 rport_ids.port_name = wwn_to_u64(fcport->port_name); in qla2x00_reg_remote_port() 5829 rport_ids.port_id = fcport->d_id.b.domain << 16 | in qla2x00_reg_remote_port() 5831 rport_ids.roles = FC_RPORT_ROLE_UNKNOWN; in qla2x00_reg_remote_port() 5832 fcport->rport = rport = fc_remote_port_add(vha->host, 0, &rport_ids); in qla2x00_reg_remote_port() 5846 rport_ids.roles = FC_PORT_ROLE_UNKNOWN; in qla2x00_reg_remote_port() 5848 rport_ids.roles |= FC_PORT_ROLE_FCP_INITIATOR; in qla2x00_reg_remote_port() 5850 rport_ids.roles |= FC_PORT_ROLE_FCP_TARGET; in qla2x00_reg_remote_port() 5852 rport_ids.roles |= FC_PORT_ROLE_NVME_INITIATOR; in qla2x00_reg_remote_port() [all …]
|