Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/scsi/csiostor/
H A 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()
H A 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()
H A Dcsio_mb.c929 if (!wwn_to_u64(vnport_wwnn) && !wwn_to_u64(vnport_wwpn)) in csio_fcoe_vnp_alloc_init_mb()
/openbmc/linux/drivers/scsi/qla2xxx/
H A 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()
1950 "NODENAME = %016llx.\n", wwn_to_u64(eiter->a.node_name)); in qla2x00_port_attributes()
1961 "PORTNAME = %016llx.\n", wwn_to_u64(eiter->a.port_name)); in qla2x00_port_attributes()
2007 "FABRIC NAME = %016llx.\n", wwn_to_u64(eiter->a.fabric_name)); in qla2x00_port_attributes()
2084 wwn_to_u64(eiter->a.smartsan_guid), in qla2x00_port_attributes()
2085 wwn_to_u64(eiter->a.smartsan_guid + WWN_SIZE)); in qla2x00_port_attributes()
2199 wwn_to_u64(ct_req->req.rhba.hba_identifier), in qla2x00_fdmi_rhba()
2200 wwn_to_u64(ct_req->req.rhba.port_name)); in qla2x00_fdmi_rhba()
2321 wwn_to_u64(ct_req->req.rprt.port_name), in qla2x00_fdmi_rprt()
[all …]
H A Dqla_inline.h564 if (wwn_to_u64(fcport->port_name) < in fcport_is_smaller()
565 wwn_to_u64(fcport->vha->port_name)) in fcport_is_smaller()
H A Dqla_nvme.c66 req.port_name = wwn_to_u64(fcport->port_name); in qla_nvme_register_remote()
67 req.node_name = wwn_to_u64(fcport->node_name); in qla_nvme_register_remote()
971 pinfo.node_name = wwn_to_u64(vha->node_name); in qla_nvme_register_hba()
972 pinfo.port_name = wwn_to_u64(vha->port_name); in qla_nvme_register_hba()
H A Dqla_mr.c1165 (unsigned long long)wwn_to_u64(fcport->node_name), in qlafx00_find_all_targets()
1166 (unsigned long long)wwn_to_u64(fcport->port_name)); in qlafx00_find_all_targets()
1173 wwn_to_u64(new_fcport->node_name), in qlafx00_find_all_targets()
1175 wwn_to_u64(new_fcport->port_name)); in qlafx00_find_all_targets()
1269 (unsigned long long)wwn_to_u64(fcport->node_name), in qlafx00_configure_all_targets()
1270 (unsigned long long)wwn_to_u64(fcport->port_name)); in qlafx00_configure_all_targets()
1749 port_name = (unsigned long long)wwn_to_u64(pinfo->port_name); in qlafx00_update_host_attr()
1750 node_name = (unsigned long long)wwn_to_u64(pinfo->node_name); in qlafx00_update_host_attr()
H A Dqla_attr.c2648 node_name = wwn_to_u64(fcport->node_name); in qla2x00_get_starget_node_name()
2667 port_name = wwn_to_u64(fcport->port_name); in qla2x00_get_starget_port_name()
3009 u64 fabric_name = wwn_to_u64(node_name); in qla2x00_get_host_fabric_name()
3012 fabric_name = wwn_to_u64(vha->fabric_node_name); in qla2x00_get_host_fabric_name()
3134 fc_host_node_name(vha->host) = wwn_to_u64(vha->node_name); in qla24xx_vport_create()
3135 fc_host_port_name(vha->host) = wwn_to_u64(vha->port_name); in qla24xx_vport_create()
3384 fc_host_node_name(vha->host) = wwn_to_u64(vha->node_name); in qla2x00_init_host_attr()
3385 fc_host_port_name(vha->host) = wwn_to_u64(vha->port_name); in qla2x00_init_host_attr()
H A Dqla_init.c774 wwn = wwn_to_u64(e->port_name); in qla24xx_handle_gnl_done_event()
834 wwn = wwn_to_u64(fcport->port_name); in qla24xx_handle_gnl_done_event()
1059 wwn = wwn_to_u64(e->port_name); in qla24xx_async_gnl_sp_done()
1092 wwn = wwn_to_u64(e->port_name); in qla24xx_async_gnl_sp_done()
1112 wwnn = wwn_to_u64(e->node_name); in qla24xx_async_gnl_sp_done()
1628 mywwn = wwn_to_u64(vha->port_name); in qla_chk_n2n_b4_login()
1629 wwn = wwn_to_u64(fcport->port_name); in qla_chk_n2n_b4_login()
2573 wwn_to_u64(ea->fcport->port_name), in qla24xx_handle_plogi_done_event()
6123 rport_ids.node_name = wwn_to_u64(fcport->node_name); in qla2x00_reg_remote_port()
6124 rport_ids.port_name = wwn_to_u64(fcport->port_name); in qla2x00_reg_remote_port()
[all …]
H A Dqla_dfs.c117 sprintf(wwn, "pn-%016llx", wwn_to_u64(fp->port_name)); in qla2x00_dfs_create_rport()
H A Dqla_mbx.c1759 wwn_to_u64(vha->port_name); in qla2x00_get_adapter_id()
1762 wwn_to_u64(vha->port_name)); in qla2x00_get_adapter_id()
4039 if (wwn_to_u64(vha->port_name) > in qla24xx_report_id_acquisition()
4040 wwn_to_u64(rptid_entry->u.f1.port_name)) { in qla24xx_report_id_acquisition()
4073 if (wwn_to_u64(vha->port_name) > in qla24xx_report_id_acquisition()
4074 wwn_to_u64(fcport->port_name)) { in qla24xx_report_id_acquisition()
H A Dqla_sup.c1186 vid.port_name = wwn_to_u64(entry->port_name); in qla2xxx_flash_npiv_conf()
1187 vid.node_name = wwn_to_u64(entry->node_name); in qla2xxx_flash_npiv_conf()
H A Dtcm_qla2xxx.c123 *nm = wwn_to_u64(wwn); in tcm_qla2xxx_npiv_extract_wwn()
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_attr.c360 wwn_to_u64(vport->fc_portname.u.wwn)); in lpfc_nvme_info_show()
378 wwn_to_u64(vport->fc_portname.u.wwn), in lpfc_nvme_info_show()
379 wwn_to_u64(vport->fc_nodename.u.wwn), in lpfc_nvme_info_show()
514 wwn_to_u64(vport->fc_portname.u.wwn)); in lpfc_nvme_info_show()
540 wwn_to_u64(vport->fc_portname.u.wwn), in lpfc_nvme_info_show()
541 wwn_to_u64(vport->fc_nodename.u.wwn), in lpfc_nvme_info_show()
3072 wwn_to_u64(phba->cfg_oas_tgt_wwpn)); in lpfc_oas_tgt_show()
3111 if (wwn_to_u64(wwpn) == 0) in lpfc_oas_tgt_store()
3203 wwn_to_u64(phba->cfg_oas_vpt_wwpn)); in lpfc_oas_vpt_show()
3242 if (wwn_to_u64(wwpn) == 0) in lpfc_oas_vpt_store()
[all …]
H A Dlpfc_nportdisc.c348 if (wwn_to_u64(sp->portName.u.wwn) == 0) { in lpfc_rcv_plogi()
357 if (wwn_to_u64(sp->nodeName.u.wwn) == 0) { in lpfc_rcv_plogi()
367 nlp_portwwn = wwn_to_u64(ndlp->nlp_portname.u.wwn); in lpfc_rcv_plogi()
436 nlp_portwwn != wwn_to_u64(sp->portName.u.wwn)) in lpfc_rcv_plogi()
443 wwn_to_u64(sp->portName.u.wwn)); in lpfc_rcv_plogi()
1386 (wwn_to_u64(sp->portName.u.wwn) == 0 || in lpfc_cmpl_plogi_plogi_issue()
1387 wwn_to_u64(sp->nodeName.u.wwn) == 0)) { in lpfc_cmpl_plogi_plogi_issue()
H A Dlpfc_nvme.c2157 nfcp_info.node_name = wwn_to_u64(vport->fc_nodename.u.wwn); in lpfc_nvme_create_localport()
2158 nfcp_info.port_name = wwn_to_u64(vport->fc_portname.u.wwn); in lpfc_nvme_create_localport()
2421 rpinfo.port_name = wwn_to_u64(ndlp->nlp_portname.u.wwn); in lpfc_nvme_register_port()
2422 rpinfo.node_name = wwn_to_u64(ndlp->nlp_nodename.u.wwn); in lpfc_nvme_register_port()
H A Dlpfc_hbadisc.c218 if (rport->port_name != wwn_to_u64(ndlp->nlp_portname.u.wwn)) in lpfc_dev_loss_tmo_callbk()
222 wwn_to_u64(ndlp->nlp_portname.u.wwn)); in lpfc_dev_loss_tmo_callbk()
3472 fc_host_port_name(shost) = wwn_to_u64(vport->fc_portname.u.wwn); in lpfc_mbx_cmpl_read_sparam()
4157 vport_id.port_name = wwn_to_u64(vport_info->vport_list[i].wwpn); in lpfc_create_static_vport()
4158 vport_id.node_name = wwn_to_u64(vport_info->vport_list[i].wwnn); in lpfc_create_static_vport()
4512 rport_ids.node_name = wwn_to_u64(ndlp->nlp_nodename.u.wwn); in lpfc_register_remote_port()
4513 rport_ids.port_name = wwn_to_u64(ndlp->nlp_portname.u.wwn); in lpfc_register_remote_port()
H A 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()
927 wwn_to_u64(vport->fc_nodename.u.wwn), in lpfc_debugfs_nodelist_data()
928 wwn_to_u64(vport->fc_portname.u.wwn), in lpfc_debugfs_nodelist_data()
H A Dlpfc_nvmet.c1655 pinfo.node_name = wwn_to_u64(vport->fc_nodename.u.wwn); in lpfc_nvmet_create_targetport()
1656 pinfo.port_name = wwn_to_u64(vport->fc_portname.u.wwn); in lpfc_nvmet_create_targetport()
/openbmc/linux/drivers/scsi/
H A Dstorvsc_drv.c799 wwn_to_u64(vstor_packet->wwn_packet.primary_node_wwn); in cache_wwn()
801 wwn_to_u64(vstor_packet->wwn_packet.primary_port_wwn); in cache_wwn()
804 wwn_to_u64(vstor_packet->wwn_packet.secondary_node_wwn); in cache_wwn()
806 wwn_to_u64(vstor_packet->wwn_packet.secondary_port_wwn); in cache_wwn()
/openbmc/linux/drivers/scsi/bfa/
H A 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()
H A Dbfad.c1026 vid.node_name = wwn_to_u64((u8 *) in bfad_start_ops()
1028 vid.port_name = wwn_to_u64((u8 *) in bfad_start_ops()
/openbmc/linux/drivers/scsi/bnx2fc/
H A Dbnx2fc_fcoe.c2130 if (wwn_to_u64(npiv_tbl->wwnn[0]) == 0 && in bnx2fc_npiv_create_vports()
2131 wwn_to_u64(npiv_tbl->wwpn[0]) == 0) { in bnx2fc_npiv_create_vports()
2141 wwnn = wwn_to_u64(npiv_tbl->wwnn[i]); in bnx2fc_npiv_create_vports()
2150 vpid.port_name = wwn_to_u64(npiv_tbl->wwpn[i]); in bnx2fc_npiv_create_vports()
/openbmc/linux/include/scsi/
H A Dscsi_transport_fc.h806 static inline u64 wwn_to_u64(const u8 *wwn) in wwn_to_u64() function
/openbmc/linux/drivers/scsi/ibmvscsi/
H A Dibmvfc.c4131 tgt->ids.port_name != wwn_to_u64(rsp->service_parms.port_name)) { in ibmvfc_tgt_plogi_done()
4136 tgt->ids.node_name = wwn_to_u64(rsp->service_parms.node_name); in ibmvfc_tgt_plogi_done()
4137 tgt->ids.port_name = wwn_to_u64(rsp->service_parms.port_name); in ibmvfc_tgt_plogi_done()
4396 tgt->ids.node_name = wwn_to_u64(rsp->service_parms.node_name); in ibmvfc_tgt_move_login_done()
4397 tgt->ids.port_name = wwn_to_u64(rsp->service_parms.port_name); in ibmvfc_tgt_move_login_done()
4484 if (wwn_to_u64((u8 *)&mad->fc_iu.response[2]) != tgt->ids.port_name) in ibmvfc_adisc_needs_plogi()
4486 if (wwn_to_u64((u8 *)&mad->fc_iu.response[4]) != tgt->ids.node_name) in ibmvfc_adisc_needs_plogi()

12