Home
last modified time | relevance | path

Searched refs:wwn_to_u64 (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v5.4/drivers/scsi/csiostor/
Dcsio_attr.c67 ids.node_name = wwn_to_u64(csio_rn_wwnn(rn)); in csio_reg_rnode()
68 ids.port_name = wwn_to_u64(csio_rn_wwpn(rn)); in csio_reg_rnode()
186 fc_host_node_name(shost) = wwn_to_u64(csio_ln_wwnn(ln)); in csio_fchost_attr_init()
187 fc_host_port_name(shost) = wwn_to_u64(csio_ln_wwpn(ln)); in csio_fchost_attr_init()
317 fc_host_fabric_name(shost) = wwn_to_u64(csio_rn_wwnn(rn)); in csio_get_host_fabric_name()
601 fc_vport->node_name = wwn_to_u64(csio_ln_wwnn(ln)); in csio_vport_create()
603 fc_vport->port_name = wwn_to_u64(csio_ln_wwpn(ln)); in csio_vport_create()
Dcsio_rnode.c359 wwn_to_u64(rdevp->wwpn), in csio_confirm_rnode()
388 wwn_to_u64(rdevp->wwpn), in csio_confirm_rnode()
397 wwn_to_u64(csio_rn_wwpn(rn))); in csio_confirm_rnode()
402 wwn_to_u64(csio_rn_wwpn(rn)), in csio_confirm_rnode()
413 rn, rdev_flowid, wwn_to_u64(rdevp->wwpn)); in csio_confirm_rnode()
429 rn, rdev_flowid, wwn_to_u64(rdevp->wwpn)); in csio_confirm_rnode()
Dcsio_mb.c929 if (!wwn_to_u64(vnport_wwnn) && !wwn_to_u64(vnport_wwpn)) in csio_fcoe_vnp_alloc_init_mb()
/Linux-v5.4/drivers/scsi/qla2xxx/
Dqla_nvme.c42 req.port_name = wwn_to_u64(fcport->port_name); in qla_nvme_register_remote()
43 req.node_name = wwn_to_u64(fcport->node_name); in qla_nvme_register_remote()
695 pinfo.node_name = wwn_to_u64(vha->node_name); in qla_nvme_register_hba()
696 pinfo.port_name = wwn_to_u64(vha->port_name); in qla_nvme_register_hba()
Dqla_attr.c2473 node_name = wwn_to_u64(fcport->node_name); in qla2x00_get_starget_node_name()
2492 port_name = wwn_to_u64(fcport->port_name); in qla2x00_get_starget_port_name()
2736 u64 fabric_name = wwn_to_u64(node_name); in qla2x00_get_host_fabric_name()
2739 fabric_name = wwn_to_u64(vha->fabric_node_name); in qla2x00_get_host_fabric_name()
2863 fc_host_node_name(vha->host) = wwn_to_u64(vha->node_name); in qla24xx_vport_create()
2864 fc_host_port_name(vha->host) = wwn_to_u64(vha->port_name); in qla24xx_vport_create()
3087 fc_host_node_name(vha->host) = wwn_to_u64(vha->node_name); in qla2x00_init_host_attr()
3088 fc_host_port_name(vha->host) = wwn_to_u64(vha->port_name); in qla2x00_init_host_attr()
Dqla_gs.c1896 wwn_to_u64(ct_req->req.rpa.port_name), size); in qla2x00_fdmi_rpa()
1973 "NodeName = %016llx.\n", wwn_to_u64(eiter->a.node_name)); in qla2x00_fdmiv2_rhba()
2171 "Fabric Name = %016llx.\n", wwn_to_u64(eiter->a.fabric_name)); in qla2x00_fdmiv2_rhba()
2204 wwn_to_u64(ct_req->req.rhba2.hba_identifier)); in qla2x00_fdmiv2_rhba()
2471 "Node Name = %016llx.\n", wwn_to_u64(eiter->a.node_name)); in qla2x00_fdmiv2_rpa()
2481 "Port Name = %016llx.\n", wwn_to_u64(eiter->a.port_name)); in qla2x00_fdmiv2_rpa()
2524 "Fabric Name = %016llx.\n", wwn_to_u64(eiter->a.fabric_name)); in qla2x00_fdmiv2_rpa()
3545 twwn = wwn_to_u64(vp->port_name); in qla2x00_is_a_vp()
3600 wwn = wwn_to_u64(rp->port_name); in qla24xx_async_gnnft_done()
3787 wwn = wwn_to_u64(d->port_name); in qla2x00_find_free_fcp_nvme_slot()
[all …]
Dqla_mr.c1190 (unsigned long long)wwn_to_u64(fcport->node_name), in qlafx00_find_all_targets()
1191 (unsigned long long)wwn_to_u64(fcport->port_name)); in qlafx00_find_all_targets()
1198 wwn_to_u64(new_fcport->node_name), in qlafx00_find_all_targets()
1200 wwn_to_u64(new_fcport->port_name)); in qlafx00_find_all_targets()
1294 (unsigned long long)wwn_to_u64(fcport->node_name), in qlafx00_configure_all_targets()
1295 (unsigned long long)wwn_to_u64(fcport->port_name)); in qlafx00_configure_all_targets()
1777 port_name = (unsigned long long)wwn_to_u64(pinfo->port_name); in qlafx00_update_host_attr()
1778 node_name = (unsigned long long)wwn_to_u64(pinfo->node_name); in qlafx00_update_host_attr()
Dqla_init.c279 if (wwn_to_u64(fcport->port_name) < in fcport_is_smaller()
280 wwn_to_u64(fcport->vha->port_name)) in fcport_is_smaller()
713 wwn = wwn_to_u64(e->port_name); in qla24xx_handle_gnl_done_event()
768 wwn = wwn_to_u64(fcport->port_name); in qla24xx_handle_gnl_done_event()
977 wwn = wwn_to_u64(e->port_name); in qla24xx_async_gnl_sp_done()
1010 wwn = wwn_to_u64(e->port_name); in qla24xx_async_gnl_sp_done()
1030 wwnn = wwn_to_u64(e->node_name); in qla24xx_async_gnl_sp_done()
1448 mywwn = wwn_to_u64(vha->port_name); in qla_chk_n2n_b4_login()
1449 wwn = wwn_to_u64(fcport->port_name); in qla_chk_n2n_b4_login()
1526 wwn = wwn_to_u64(fcport->node_name); in qla24xx_fcport_handle_login()
[all …]
Dqla_sup.c1169 vid.port_name = wwn_to_u64(entry->port_name); in qla2xxx_flash_npiv_conf()
1170 vid.node_name = wwn_to_u64(entry->node_name); in qla2xxx_flash_npiv_conf()
Dtcm_qla2xxx.c123 *nm = wwn_to_u64(wwn); in tcm_qla2xxx_npiv_extract_wwn()
Dqla_mbx.c1698 wwn_to_u64(vha->port_name); in qla2x00_get_adapter_id()
1701 wwn_to_u64(vha->port_name)); in qla2x00_get_adapter_id()
3918 if (wwn_to_u64(vha->port_name) > in qla24xx_report_id_acquisition()
3919 wwn_to_u64(rptid_entry->u.f1.port_name)) { in qla24xx_report_id_acquisition()
Dqla_isr.c853 wwn_to_u64(vha->port_name); in qla2x00_async_event()
857 wwn_to_u64(vha->port_name)); in qla2x00_async_event()
/Linux-v5.4/drivers/scsi/lpfc/
Dlpfc_attr.c189 wwn_to_u64(vport->fc_portname.u.wwn)); in lpfc_nvme_info_show()
207 wwn_to_u64(vport->fc_portname.u.wwn), in lpfc_nvme_info_show()
208 wwn_to_u64(vport->fc_nodename.u.wwn), in lpfc_nvme_info_show()
343 wwn_to_u64(vport->fc_portname.u.wwn)); in lpfc_nvme_info_show()
370 wwn_to_u64(vport->fc_portname.u.wwn), in lpfc_nvme_info_show()
371 wwn_to_u64(vport->fc_nodename.u.wwn), in lpfc_nvme_info_show()
2890 phba->cfg_soft_wwpn = wwn_to_u64(wwpn); in lpfc_soft_wwpn_store()
2971 phba->cfg_soft_wwnn = wwn_to_u64(wwnn); in lpfc_soft_wwnn_store()
2999 wwn_to_u64(phba->cfg_oas_tgt_wwpn)); in lpfc_oas_tgt_show()
3038 if (wwn_to_u64(wwpn) == 0) in lpfc_oas_tgt_store()
[all …]
Dlpfc_nportdisc.c303 if (wwn_to_u64(sp->portName.u.wwn) == 0) { in lpfc_rcv_plogi()
312 if (wwn_to_u64(sp->nodeName.u.wwn) == 0) { in lpfc_rcv_plogi()
322 nlp_portwwn = wwn_to_u64(ndlp->nlp_portname.u.wwn); in lpfc_rcv_plogi()
379 nlp_portwwn != wwn_to_u64(sp->portName.u.wwn)) in lpfc_rcv_plogi()
386 wwn_to_u64(sp->portName.u.wwn)); in lpfc_rcv_plogi()
1183 (wwn_to_u64(sp->portName.u.wwn) == 0 || in lpfc_cmpl_plogi_plogi_issue()
1184 wwn_to_u64(sp->nodeName.u.wwn) == 0)) { in lpfc_cmpl_plogi_plogi_issue()
Dlpfc_nvme.c2133 nfcp_info.node_name = wwn_to_u64(vport->fc_nodename.u.wwn); in lpfc_nvme_create_localport()
2134 nfcp_info.port_name = wwn_to_u64(vport->fc_portname.u.wwn); in lpfc_nvme_create_localport()
2378 rpinfo.port_name = wwn_to_u64(ndlp->nlp_portname.u.wwn); in lpfc_nvme_register_port()
2379 rpinfo.node_name = wwn_to_u64(ndlp->nlp_nodename.u.wwn); in lpfc_nvme_register_port()
Dlpfc_hbadisc.c158 if (rport->port_name != wwn_to_u64(ndlp->nlp_portname.u.wwn)) in lpfc_dev_loss_tmo_callbk()
162 wwn_to_u64(ndlp->nlp_portname.u.wwn)); in lpfc_dev_loss_tmo_callbk()
3091 fc_host_port_name(shost) = wwn_to_u64(vport->fc_portname.u.wwn); in lpfc_mbx_cmpl_read_sparam()
3807 vport_id.port_name = wwn_to_u64(vport_info->vport_list[i].wwpn); in lpfc_create_static_vport()
3808 vport_id.node_name = wwn_to_u64(vport_info->vport_list[i].wwnn); in lpfc_create_static_vport()
4107 rport_ids.node_name = wwn_to_u64(ndlp->nlp_nodename.u.wwn); in lpfc_register_remote_port()
4108 rport_ids.port_name = wwn_to_u64(ndlp->nlp_portname.u.wwn); in lpfc_register_remote_port()
Dlpfc_debugfs.c869 wwn_to_u64(ndlp->nlp_portname.u.wwn)); in lpfc_debugfs_nodelist_data()
872 wwn_to_u64(ndlp->nlp_nodename.u.wwn)); in lpfc_debugfs_nodelist_data()
931 wwn_to_u64(vport->fc_nodename.u.wwn), in lpfc_debugfs_nodelist_data()
932 wwn_to_u64(vport->fc_portname.u.wwn), in lpfc_debugfs_nodelist_data()
Dlpfc_nvmet.c1464 pinfo.node_name = wwn_to_u64(vport->fc_nodename.u.wwn); in lpfc_nvmet_create_targetport()
1465 pinfo.port_name = wwn_to_u64(vport->fc_portname.u.wwn); in lpfc_nvmet_create_targetport()
Dlpfc_scsi.c5823 if (((wwn_to_u64(vport_wwpn->u.wwn) == 0) || in lpfc_find_next_oas_lun()
5826 ((wwn_to_u64(target_wwpn->u.wwn) == 0) || in lpfc_find_next_oas_lun()
/Linux-v5.4/drivers/scsi/
Dstorvsc_drv.c738 wwn_to_u64(vstor_packet->wwn_packet.primary_node_wwn); in cache_wwn()
740 wwn_to_u64(vstor_packet->wwn_packet.primary_port_wwn); in cache_wwn()
743 wwn_to_u64(vstor_packet->wwn_packet.secondary_node_wwn); in cache_wwn()
745 wwn_to_u64(vstor_packet->wwn_packet.secondary_port_wwn); in cache_wwn()
/Linux-v5.4/drivers/scsi/bfa/
Dbfad_attr.c403 fc_host_node_name(vshost) = wwn_to_u64((u8 *)&port_cfg.nwwn); in bfad_im_vport_create()
404 fc_host_port_name(vshost) = wwn_to_u64((u8 *)&port_cfg.pwwn); in bfad_im_vport_create()
Dbfad.c1033 vid.node_name = wwn_to_u64((u8 *) in bfad_start_ops()
1035 vid.port_name = wwn_to_u64((u8 *) in bfad_start_ops()
/Linux-v5.4/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c2142 if (wwn_to_u64(npiv_tbl->wwnn[0]) == 0 && in bnx2fc_npiv_create_vports()
2143 wwn_to_u64(npiv_tbl->wwpn[0]) == 0) { in bnx2fc_npiv_create_vports()
2153 wwnn = wwn_to_u64(npiv_tbl->wwnn[i]); in bnx2fc_npiv_create_vports()
2162 vpid.port_name = wwn_to_u64(npiv_tbl->wwpn[i]); in bnx2fc_npiv_create_vports()
/Linux-v5.4/include/scsi/
Dscsi_transport_fc.h745 static inline u64 wwn_to_u64(const u8 *wwn) in wwn_to_u64() function
/Linux-v5.4/drivers/scsi/ibmvscsi/
Dibmvfc.c3413 tgt->ids.port_name != wwn_to_u64(rsp->service_parms.port_name)) { in ibmvfc_tgt_plogi_done()
3418 tgt->ids.node_name = wwn_to_u64(rsp->service_parms.node_name); in ibmvfc_tgt_plogi_done()
3419 tgt->ids.port_name = wwn_to_u64(rsp->service_parms.port_name); in ibmvfc_tgt_plogi_done()
3573 if (wwn_to_u64((u8 *)&mad->fc_iu.response[2]) != tgt->ids.port_name) in ibmvfc_adisc_needs_plogi()
3575 if (wwn_to_u64((u8 *)&mad->fc_iu.response[4]) != tgt->ids.node_name) in ibmvfc_adisc_needs_plogi()

12