Home
last modified time | relevance | path

Searched refs:wwnn (Results 1 – 25 of 51) sorted by relevance

123

/drivers/scsi/elx/libefc/
Defc_nport.c45 efc_nport_find_wwn(struct efc_domain *domain, uint64_t wwnn, uint64_t wwpn) in efc_nport_find_wwn() argument
51 if (nport->wwnn == wwnn && nport->wwpn == wwpn) in efc_nport_find_wwn()
66 efc_nport_alloc(struct efc_domain *domain, uint64_t wwpn, uint64_t wwnn, in efc_nport_alloc() argument
75 if ((wwpn != 0) || (wwnn != 0)) { in efc_nport_alloc()
76 nport = efc_nport_find_wwn(domain, wwnn, wwpn); in efc_nport_alloc()
80 wwnn, wwpn); in efc_nport_alloc()
113 nport->wwnn = wwnn; in efc_nport_alloc()
115 (unsigned long long)wwnn); in efc_nport_alloc()
395 if (nport->wwnn == 0) { in __efc_nport_vport_wait_alloc()
396 nport->wwnn = be64_to_cpu(nport->sli_wwnn); in __efc_nport_vport_wait_alloc()
[all …]
Defclib.h150 u64 wwnn; member
373 char wwnn[EFC_WWN_LENGTH]; member
393 u64 wwnn; member
588 efc_vport_create_spec(struct efc *efc, u64 wwnn, u64 wwpn, u32 fc_id,
592 u64 wwnn, u32 fc_id, bool ini, bool tgt,
595 u64 wwpn, u64 wwnn);
Defc_nport.h18 efc_nport_alloc(struct efc_domain *domain, uint64_t wwpn, uint64_t wwnn,
Defc_device.c31 node->display_name, node->wwpn, node->wwnn); in efc_d_send_prli_rsp()
220 node->wwpn, node->wwnn); in __efc_d_initiate_shutdown()
236 node->wwpn, node->wwnn); in __efc_d_initiate_shutdown()
251 node->display_name, node->wwpn, node->wwnn); in __efc_d_initiate_shutdown()
1310 node->wwpn, node->wwnn); in __efc_d_device_ready()
1445 node->wwpn, node->wwnn); in __efc_d_device_gone()
/drivers/scsi/lpfc/
Dlpfc_nl.h71 uint8_t wwnn[8]; member
100 uint8_t wwnn[8]; member
123 uint8_t wwnn[8]; member
/drivers/scsi/qedf/
Dqedf_fip.c49 vlan->desc.wwnn.fd_desc.fip_dtype = FIP_DT_NAME; in qedf_fcoe_send_vlan_req()
50 vlan->desc.wwnn.fd_desc.fip_dlen = sizeof(vlan->desc.wwnn) / FIP_BPW; in qedf_fcoe_send_vlan_req()
51 put_unaligned_be64(qedf->lport->wwnn, &vlan->desc.wwnn.fd_wwn); in qedf_fcoe_send_vlan_req()
Dqedf.h328 u64 wwnn; member
560 struct fip_wwn_desc wwnn; member
/drivers/scsi/csiostor/
Dcsio_attr.c480 ln->ln_sparm.wwnn[0], ln->ln_sparm.wwnn[1], in csio_fcoe_alloc_vnp()
481 ln->ln_sparm.wwnn[2], ln->ln_sparm.wwnn[3], in csio_fcoe_alloc_vnp()
482 ln->ln_sparm.wwnn[4], ln->ln_sparm.wwnn[5], in csio_fcoe_alloc_vnp()
483 ln->ln_sparm.wwnn[6], ln->ln_sparm.wwnn[7]); in csio_fcoe_alloc_vnp()
Dcsio_lnode.h140 uint8_t wwnn[8]; /* WWNN */ member
209 #define csio_ln_wwnn(ln) ((ln)->ln_sparm.wwnn)
Dcsio_rnode.h122 #define csio_rn_wwnn(rn) ((rn)->rn_sparm.wwnn)
Dcsio_rnode.c516 if (!memcmp(rdevp->wwnn, null, 8)) { in csio_rn_verify_rparams()
538 memcpy(csio_rn_wwnn(rn), rdevp->wwnn, 8); in csio_rn_verify_rparams()
/drivers/scsi/libfc/
Dfc_encode.h56 put_unaligned_be64(lport->wwnn, &adisc->adisc_wwnn); in fc_adisc_fill()
135 put_unaligned_be64(lport->wwnn, &ct->payload.rn.fr_wwn); in fc_ct_ns_fill()
152 put_unaligned_be64(lport->wwnn, &ct->payload.snn.fr_wwn); in fc_ct_ns_fill()
248 put_unaligned_be64(lport->wwnn, in fc_ct_ms_fill()
756 put_unaligned_be64(lport->wwnn, &plogi->fl_wwnn); in fc_plogi_fill()
788 put_unaligned_be64(lport->wwnn, &flogi->fl_wwnn); in fc_flogi_fill()
813 put_unaligned_be64(lport->wwnn, &fdisc->fl_wwnn); in fc_fdisc_fill()
/drivers/scsi/fnic/
Dfnic_fip.h56 struct fip_wwn_desc wwnn; member
Dfnic_fcs.c408 vlan->desc.wwnn.fd_desc.fip_dtype = FIP_DT_NAME; in fnic_fcoe_send_vlan_req()
409 vlan->desc.wwnn.fd_desc.fip_dlen = sizeof(vlan->desc.wwnn) / FIP_BPW; in fnic_fcoe_send_vlan_req()
410 put_unaligned_be64(fip->lp->wwnn, &vlan->desc.wwnn.fd_wwn); in fnic_fcoe_send_vlan_req()
/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c807 u64 wwnn, wwpn; in bnx2fc_net_config() local
829 if (fcoe_get_wwn(netdev, &wwnn, NETDEV_FCOE_WWNN)) in bnx2fc_net_config()
830 wwnn = fcoe_wwn_from_mac(ctlr->ctl_src_addr, in bnx2fc_net_config()
832 BNX2FC_HBA_DBG(lport, "WWNN = 0x%llx\n", wwnn); in bnx2fc_net_config()
833 fc_set_wwnn(lport, wwnn); in bnx2fc_net_config()
2130 u64 wwnn = 0; in bnx2fc_npiv_create_vports() local
2140 if (wwn_to_u64(npiv_tbl->wwnn[0]) == 0 && in bnx2fc_npiv_create_vports()
2151 wwnn = wwn_to_u64(npiv_tbl->wwnn[i]); in bnx2fc_npiv_create_vports()
2152 if (wwnn == 0) { in bnx2fc_npiv_create_vports()
2157 wwnn = lport->wwnn; in bnx2fc_npiv_create_vports()
[all …]
/drivers/scsi/fcoe/
Dfcoe_ctlr.c384 struct fip_wwn_desc wwnn; in fcoe_ctlr_solicit() member
413 sol->desc.wwnn.fd_desc.fip_dtype = FIP_DT_NAME; in fcoe_ctlr_solicit()
414 sol->desc.wwnn.fd_desc.fip_dlen = sizeof(sol->desc.wwnn) / FIP_BPW; in fcoe_ctlr_solicit()
415 put_unaligned_be64(fip->lp->wwnn, &sol->desc.wwnn.fd_wwn); in fcoe_ctlr_solicit()
2030 struct fip_wwn_desc wwnn; in fcoe_ctlr_vn_send() member
2046 dlen += sizeof(frame->mac) + sizeof(frame->wwnn) + sizeof(frame->vn); in fcoe_ctlr_vn_send()
2074 frame->wwnn.fd_desc.fip_dtype = FIP_DT_NAME; in fcoe_ctlr_vn_send()
2075 frame->wwnn.fd_desc.fip_dlen = sizeof(frame->wwnn) / FIP_BPW; in fcoe_ctlr_vn_send()
2076 put_unaligned_be64(fip->lp->wwnn, &frame->wwnn.fd_wwn); in fcoe_ctlr_vn_send()
/drivers/nvme/target/
Dfcloop.c28 u64 wwnn; member
83 opts->wwnn = token64; in fcloop_parse_options()
1126 pinfo.node_name = opts->wwnn; in fcloop_create_local_port()
1241 newnport->node_name = opts->wwnn; in fcloop_alloc_nport()
1252 if (tmplport->localport->node_name == opts->wwnn && in fcloop_alloc_nport()
1268 if (nport->node_name == opts->wwnn && in fcloop_alloc_nport()
/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.c135 u64 *wwnn) in tcm_qla2xxx_npiv_parse_wwn() argument
141 *wwnn = 0; in tcm_qla2xxx_npiv_parse_wwn()
155 rc = tcm_qla2xxx_npiv_extract_wwn(&name[17], wwnn); in tcm_qla2xxx_npiv_parse_wwn()
842 u64 wwnn; in tcm_qla2xxx_init_nodeacl() local
844 if (tcm_qla2xxx_parse_wwn(name, &wwnn, 1) < 0) in tcm_qla2xxx_init_nodeacl()
847 nacl->nport_wwnn = wwnn; in tcm_qla2xxx_init_nodeacl()
848 tcm_qla2xxx_format_wwn(&nacl->nport_name[0], TCM_QLA2XXX_NAMELEN, wwnn); in tcm_qla2xxx_init_nodeacl()
Dqla_bsg.h173 uint8_t wwnn[8]; member
/drivers/scsi/elx/efct/
Defct_lio.c54 efct_lio_parse_npiv_wwn(const char *name, size_t size, u64 *wwpn, u64 *wwnn) in efct_lio_parse_npiv_wwn() argument
59 *wwpn = *wwnn = 0; in efct_lio_parse_npiv_wwn()
71 rc = efct_lio_parse_wwn(&name[17], wwnn, 1); in efct_lio_parse_npiv_wwn()
1020 u64 wwnn; in efct_lio_init_nodeacl() local
1022 if (efct_lio_parse_wwn(name, &wwnn, 0) < 0) in efct_lio_init_nodeacl()
1026 nacl->nport_wwnn = wwnn; in efct_lio_init_nodeacl()
1028 efct_format_wwn(nacl->nport_name, sizeof(nacl->nport_name), "", wwnn); in efct_lio_init_nodeacl()
Defct_xport.c601 u64 wwnn; in efct_xport_control() local
605 wwnn = va_arg(argp, uint64_t); in efct_xport_control()
608 efc_log_debug(efct, " WWNN %016llx\n", wwnn); in efct_xport_control()
609 xport->req_wwnn = wwnn; in efct_xport_control()
Defct_lio.h61 u64 wwnn; member
/drivers/s390/scsi/
Dzfcp_def.h215 u64 wwnn; /* WWNN if known */ member
/drivers/staging/unisys/include/
Diochannel.h528 struct vhba_wwnn wwnn; member
/drivers/scsi/elx/libefc_sli/
Dsli4.c3210 sli_cmd_write_nvparms(struct sli4 *sli4, void *buf, u8 *wwpn, u8 *wwnn, in sli_cmd_write_nvparms() argument
3219 memcpy(write_nvparms->wwnn, wwnn, 8); in sli_cmd_write_nvparms()
4564 memcpy(sli4->wwnn, read_nvparms->wwnn, sizeof(sli4->wwnn)); in sli_get_config()
4570 sli4->wwnn[0], sli4->wwnn[1], sli4->wwnn[2], sli4->wwnn[3], in sli_get_config()
4571 sli4->wwnn[4], sli4->wwnn[5], sli4->wwnn[6], sli4->wwnn[7]); in sli_get_config()

123