Home
last modified time | relevance | path

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

12

/Linux-v5.10/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.10/drivers/scsi/qla2xxx/
Dqla_nvme.c41 req.port_name = wwn_to_u64(fcport->port_name); in qla_nvme_register_remote()
42 req.node_name = wwn_to_u64(fcport->node_name); in qla_nvme_register_remote()
730 pinfo.node_name = wwn_to_u64(vha->node_name); in qla_nvme_register_hba()
731 pinfo.port_name = wwn_to_u64(vha->port_name); in qla_nvme_register_hba()
Dqla_gs.c1613 "NODENAME = %016llx.\n", wwn_to_u64(eiter->a.node_name)); in qla2x00_hba_attributes()
1810 "FABRIC NAME = %016llx.\n", wwn_to_u64(eiter->a.fabric_name)); in qla2x00_hba_attributes()
1952 "NODENAME = %016llx.\n", wwn_to_u64(eiter->a.node_name)); in qla2x00_port_attributes()
1963 "PORTNAME = %016llx.\n", wwn_to_u64(eiter->a.port_name)); in qla2x00_port_attributes()
2009 "FABRIC NAME = %016llx.\n", wwn_to_u64(eiter->a.fabric_name)); in qla2x00_port_attributes()
2086 wwn_to_u64(eiter->a.smartsan_guid), in qla2x00_port_attributes()
2087 wwn_to_u64(eiter->a.smartsan_guid + WWN_SIZE)); in qla2x00_port_attributes()
2201 wwn_to_u64(ct_req->req.rhba.hba_identifier), in qla2x00_fdmi_rhba()
2202 wwn_to_u64(ct_req->req.rhba.port_name)); in qla2x00_fdmi_rhba()
2323 wwn_to_u64(ct_req->req.rprt.port_name), in qla2x00_fdmi_rprt()
[all …]
Dqla_attr.c2595 node_name = wwn_to_u64(fcport->node_name); in qla2x00_get_starget_node_name()
2614 port_name = wwn_to_u64(fcport->port_name); in qla2x00_get_starget_port_name()
2898 u64 fabric_name = wwn_to_u64(node_name); in qla2x00_get_host_fabric_name()
2901 fabric_name = wwn_to_u64(vha->fabric_node_name); in qla2x00_get_host_fabric_name()
3025 fc_host_node_name(vha->host) = wwn_to_u64(vha->node_name); in qla24xx_vport_create()
3026 fc_host_port_name(vha->host) = wwn_to_u64(vha->port_name); in qla24xx_vport_create()
3249 fc_host_node_name(vha->host) = wwn_to_u64(vha->node_name); in qla2x00_init_host_attr()
3250 fc_host_port_name(vha->host) = wwn_to_u64(vha->port_name); in qla2x00_init_host_attr()
Dqla_mr.c1188 (unsigned long long)wwn_to_u64(fcport->node_name), in qlafx00_find_all_targets()
1189 (unsigned long long)wwn_to_u64(fcport->port_name)); in qlafx00_find_all_targets()
1196 wwn_to_u64(new_fcport->node_name), in qlafx00_find_all_targets()
1198 wwn_to_u64(new_fcport->port_name)); in qlafx00_find_all_targets()
1292 (unsigned long long)wwn_to_u64(fcport->node_name), in qlafx00_configure_all_targets()
1293 (unsigned long long)wwn_to_u64(fcport->port_name)); in qlafx00_configure_all_targets()
1772 port_name = (unsigned long long)wwn_to_u64(pinfo->port_name); in qlafx00_update_host_attr()
1773 node_name = (unsigned long long)wwn_to_u64(pinfo->node_name); in qlafx00_update_host_attr()
Dqla_init.c295 if (wwn_to_u64(fcport->port_name) < in fcport_is_smaller()
296 wwn_to_u64(fcport->vha->port_name)) in fcport_is_smaller()
730 wwn = wwn_to_u64(e->port_name); in qla24xx_handle_gnl_done_event()
790 wwn = wwn_to_u64(fcport->port_name); in qla24xx_handle_gnl_done_event()
1000 wwn = wwn_to_u64(e->port_name); in qla24xx_async_gnl_sp_done()
1033 wwn = wwn_to_u64(e->port_name); in qla24xx_async_gnl_sp_done()
1053 wwnn = wwn_to_u64(e->node_name); in qla24xx_async_gnl_sp_done()
1488 mywwn = wwn_to_u64(vha->port_name); in qla_chk_n2n_b4_login()
1489 wwn = wwn_to_u64(fcport->port_name); in qla_chk_n2n_b4_login()
1566 wwn = wwn_to_u64(fcport->node_name); in qla24xx_fcport_handle_login()
[all …]
Dqla_dfs.c117 sprintf(wwn, "pn-%016llx", wwn_to_u64(fp->port_name)); in qla2x00_dfs_create_rport()
Dqla_mbx.c1703 wwn_to_u64(vha->port_name); in qla2x00_get_adapter_id()
1706 wwn_to_u64(vha->port_name)); in qla2x00_get_adapter_id()
3972 if (wwn_to_u64(vha->port_name) > in qla24xx_report_id_acquisition()
3973 wwn_to_u64(rptid_entry->u.f1.port_name)) { in qla24xx_report_id_acquisition()
4005 if (wwn_to_u64(vha->port_name) > in qla24xx_report_id_acquisition()
4006 wwn_to_u64(fcport->port_name)) { in qla24xx_report_id_acquisition()
Dqla_sup.c1170 vid.port_name = wwn_to_u64(entry->port_name); in qla2xxx_flash_npiv_conf()
1171 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_isr.c1209 wwn_to_u64(vha->port_name); in qla2x00_async_event()
1213 wwn_to_u64(vha->port_name)); in qla2x00_async_event()
/Linux-v5.10/drivers/scsi/lpfc/
Dlpfc_attr.c185 wwn_to_u64(vport->fc_portname.u.wwn)); in lpfc_nvme_info_show()
203 wwn_to_u64(vport->fc_portname.u.wwn), in lpfc_nvme_info_show()
204 wwn_to_u64(vport->fc_nodename.u.wwn), in lpfc_nvme_info_show()
339 wwn_to_u64(vport->fc_portname.u.wwn)); in lpfc_nvme_info_show()
365 wwn_to_u64(vport->fc_portname.u.wwn), in lpfc_nvme_info_show()
366 wwn_to_u64(vport->fc_nodename.u.wwn), in lpfc_nvme_info_show()
2826 phba->cfg_soft_wwpn = wwn_to_u64(wwpn); in lpfc_soft_wwpn_store()
2907 phba->cfg_soft_wwnn = wwn_to_u64(wwnn); in lpfc_soft_wwnn_store()
2935 wwn_to_u64(phba->cfg_oas_tgt_wwpn)); in lpfc_oas_tgt_show()
2974 if (wwn_to_u64(wwpn) == 0) in lpfc_oas_tgt_store()
[all …]
Dlpfc_nportdisc.c407 if (wwn_to_u64(sp->portName.u.wwn) == 0) { in lpfc_rcv_plogi()
416 if (wwn_to_u64(sp->nodeName.u.wwn) == 0) { in lpfc_rcv_plogi()
426 nlp_portwwn = wwn_to_u64(ndlp->nlp_portname.u.wwn); in lpfc_rcv_plogi()
483 nlp_portwwn != wwn_to_u64(sp->portName.u.wwn)) in lpfc_rcv_plogi()
490 wwn_to_u64(sp->portName.u.wwn)); in lpfc_rcv_plogi()
1380 (wwn_to_u64(sp->portName.u.wwn) == 0 || in lpfc_cmpl_plogi_plogi_issue()
1381 wwn_to_u64(sp->nodeName.u.wwn) == 0)) { in lpfc_cmpl_plogi_plogi_issue()
Dlpfc_nvme.c2205 nfcp_info.node_name = wwn_to_u64(vport->fc_nodename.u.wwn); in lpfc_nvme_create_localport()
2206 nfcp_info.port_name = wwn_to_u64(vport->fc_portname.u.wwn); in lpfc_nvme_create_localport()
2450 rpinfo.port_name = wwn_to_u64(ndlp->nlp_portname.u.wwn); in lpfc_nvme_register_port()
2451 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()
3127 fc_host_port_name(shost) = wwn_to_u64(vport->fc_portname.u.wwn); in lpfc_mbx_cmpl_read_sparam()
3858 vport_id.port_name = wwn_to_u64(vport_info->vport_list[i].wwpn); in lpfc_create_static_vport()
3859 vport_id.node_name = wwn_to_u64(vport_info->vport_list[i].wwnn); in lpfc_create_static_vport()
4162 rport_ids.node_name = wwn_to_u64(ndlp->nlp_nodename.u.wwn); in lpfc_register_remote_port()
4163 rport_ids.port_name = wwn_to_u64(ndlp->nlp_portname.u.wwn); in lpfc_register_remote_port()
Dlpfc_debugfs.c867 wwn_to_u64(ndlp->nlp_portname.u.wwn)); in lpfc_debugfs_nodelist_data()
870 wwn_to_u64(ndlp->nlp_nodename.u.wwn)); in lpfc_debugfs_nodelist_data()
929 wwn_to_u64(vport->fc_nodename.u.wwn), in lpfc_debugfs_nodelist_data()
930 wwn_to_u64(vport->fc_portname.u.wwn), in lpfc_debugfs_nodelist_data()
Dlpfc_nvmet.c1651 pinfo.node_name = wwn_to_u64(vport->fc_nodename.u.wwn); in lpfc_nvmet_create_targetport()
1652 pinfo.port_name = wwn_to_u64(vport->fc_portname.u.wwn); in lpfc_nvmet_create_targetport()
/Linux-v5.10/drivers/scsi/
Dstorvsc_drv.c803 wwn_to_u64(vstor_packet->wwn_packet.primary_node_wwn); in cache_wwn()
805 wwn_to_u64(vstor_packet->wwn_packet.primary_port_wwn); in cache_wwn()
808 wwn_to_u64(vstor_packet->wwn_packet.secondary_node_wwn); in cache_wwn()
810 wwn_to_u64(vstor_packet->wwn_packet.secondary_port_wwn); in cache_wwn()
/Linux-v5.10/drivers/scsi/bfa/
Dbfad_attr.c405 fc_host_node_name(vshost) = wwn_to_u64((u8 *)&port_cfg.nwwn); in bfad_im_vport_create()
406 fc_host_port_name(vshost) = wwn_to_u64((u8 *)&port_cfg.pwwn); in bfad_im_vport_create()
Dbfad.c1034 vid.node_name = wwn_to_u64((u8 *) in bfad_start_ops()
1036 vid.port_name = wwn_to_u64((u8 *) in bfad_start_ops()
/Linux-v5.10/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c2143 if (wwn_to_u64(npiv_tbl->wwnn[0]) == 0 && in bnx2fc_npiv_create_vports()
2144 wwn_to_u64(npiv_tbl->wwpn[0]) == 0) { in bnx2fc_npiv_create_vports()
2154 wwnn = wwn_to_u64(npiv_tbl->wwnn[i]); in bnx2fc_npiv_create_vports()
2163 vpid.port_name = wwn_to_u64(npiv_tbl->wwpn[i]); in bnx2fc_npiv_create_vports()
/Linux-v5.10/include/scsi/
Dscsi_transport_fc.h746 static inline u64 wwn_to_u64(const u8 *wwn) in wwn_to_u64() function
/Linux-v5.10/drivers/scsi/ibmvscsi/
Dibmvfc.c3489 tgt->ids.port_name != wwn_to_u64(rsp->service_parms.port_name)) { in ibmvfc_tgt_plogi_done()
3494 tgt->ids.node_name = wwn_to_u64(rsp->service_parms.node_name); in ibmvfc_tgt_plogi_done()
3495 tgt->ids.port_name = wwn_to_u64(rsp->service_parms.port_name); in ibmvfc_tgt_plogi_done()
3733 tgt->ids.node_name = wwn_to_u64(rsp->service_parms.node_name); in ibmvfc_tgt_move_login_done()
3734 tgt->ids.port_name = wwn_to_u64(rsp->service_parms.port_name); in ibmvfc_tgt_move_login_done()
3814 if (wwn_to_u64((u8 *)&mad->fc_iu.response[2]) != tgt->ids.port_name) in ibmvfc_adisc_needs_plogi()
3816 if (wwn_to_u64((u8 *)&mad->fc_iu.response[4]) != tgt->ids.node_name) in ibmvfc_adisc_needs_plogi()

12