Home
last modified time | relevance | path

Searched refs:node_name (Results 1 – 25 of 46) sorted by relevance

12

/drivers/scsi/qla2xxx/
Dqla_gs.c216 memcpy(fcport->node_name, ct_rsp->rsp.ga_nxt.node_name, in qla2x00_ga_nxt()
232 fcport->node_name[0], fcport->node_name[1], in qla2x00_ga_nxt()
233 fcport->node_name[2], fcport->node_name[3], in qla2x00_ga_nxt()
234 fcport->node_name[4], fcport->node_name[5], in qla2x00_ga_nxt()
235 fcport->node_name[6], fcport->node_name[7], in qla2x00_ga_nxt()
447 memcpy(list[i].node_name, in qla2x00_gnn_id()
448 ct_rsp->rsp.gnn_id.node_name, WWN_SIZE); in qla2x00_gnn_id()
454 list[i].node_name[0], list[i].node_name[1], in qla2x00_gnn_id()
455 list[i].node_name[2], list[i].node_name[3], in qla2x00_gnn_id()
456 list[i].node_name[4], list[i].node_name[5], in qla2x00_gnn_id()
[all …]
Dqla_init.c2387 memcpy(nv->node_name, val, WWN_SIZE); in qla2xxx_nvram_wwn_from_ofw()
2573 memcpy(icb->node_name, nv->alternate_node_name, WWN_SIZE); in qla2x00_nvram_config()
2583 memcpy(icb->node_name, icb->port_name, WWN_SIZE); in qla2x00_nvram_config()
2584 icb->node_name[0] &= 0xF0; in qla2x00_nvram_config()
2617 memcpy(vha->node_name, icb->node_name, WWN_SIZE); in qla2x00_nvram_config()
3009 memcpy(fcport->node_name, new_fcport->node_name, in qla2x00_configure_local_loop()
3100 rport_ids.node_name = wwn_to_u64(fcport->node_name); in qla2x00_reg_remote_port()
3452 memcpy(new_fcport->node_name, in qla2x00_find_all_fabric_devs()
3453 swl[swl_idx].node_name, WWN_SIZE); in qla2x00_find_all_fabric_devs()
4770 memcpy(nv->node_name, val, WWN_SIZE); in qla24xx_nvram_wwn_from_ofw()
[all …]
Dqla_fw.h70 uint8_t node_name[WWN_SIZE]; member
80 uint8_t node_name[WWN_SIZE]; member
100 uint8_t node_name[WWN_SIZE]; member
282 uint8_t node_name[WWN_SIZE]; /* Big endian. */ member
1161 uint8_t node_name[WWN_SIZE]; member
1184 uint8_t node_name[WWN_SIZE]; member
1418 uint8_t node_name[WWN_SIZE]; member
1596 uint8_t node_name[WWN_SIZE]; member
1766 uint8_t node_name[WWN_SIZE]; /* Big endian. */ member
Dqla_def.h1035 uint8_t node_name[WWN_SIZE]; member
1132 uint8_t node_name[WWN_SIZE]; /* Big endian. */ member
1298 uint8_t node_name[WWN_SIZE]; /* Big endian. */ member
1916 uint8_t node_name[WWN_SIZE]; member
1955 uint8_t node_name[WWN_SIZE]; member
1986 uint8_t node_name[WWN_SIZE]; member
2133 uint8_t node_name[WWN_SIZE]; member
2264 uint8_t node_name[8]; member
2268 uint8_t node_name[8]; member
2347 uint8_t node_name[8]; member
[all …]
Dqla_attr.c1537 u64 node_name = 0; in qla2x00_get_starget_node_name() local
1542 node_name = wwn_to_u64(fcport->node_name); in qla2x00_get_starget_node_name()
1547 fc_starget_node_name(starget) = node_name; in qla2x00_get_starget_node_name()
1757 uint8_t node_name[WWN_SIZE] = { 0xFF, 0xFF, 0xFF, 0xFF, \ in qla2x00_get_host_fabric_name() local
1759 u64 fabric_name = wwn_to_u64(node_name); in qla2x00_get_host_fabric_name()
1885 fc_host_node_name(vha->host) = wwn_to_u64(vha->node_name); in qla24xx_vport_create()
1907 && memcmp(ha->npiv_info[cnt].node_name, vha->node_name, in qla24xx_vport_create()
2100 fc_host_node_name(vha->host) = wwn_to_u64(vha->node_name); in qla2x00_init_host_attr()
Dqla_mr.c1188 (unsigned long long)wwn_to_u64(fcport->node_name), in qlafx00_find_all_targets()
1196 wwn_to_u64(new_fcport->node_name), in qlafx00_find_all_targets()
1292 (unsigned long long)wwn_to_u64(fcport->node_name), in qlafx00_configure_all_targets()
1701 u64 port_name = 0, node_name = 0; in qlafx00_update_host_attr() local
1704 node_name = (unsigned long long)wwn_to_u64(pinfo->node_name); in qlafx00_update_host_attr()
1706 fc_host_node_name(vha->host) = node_name; in qlafx00_update_host_attr()
1884 memcpy(vha->node_name, pinfo->node_name, WWN_SIZE); in qlafx00_fx_disc()
1895 memcpy(fcport->node_name, pinfo->tgt_node_wwnn, WWN_SIZE); in qlafx00_fx_disc()
Dqla_mid.c455 u64_to_wwn(fc_vport->node_name, vha->node_name); in qla24xx_create_vhost()
/drivers/scsi/bfa/
Dbfa_fcbuild.h138 u32 s_id, u16 ox_id, wwn_t port_name, wwn_t node_name,
143 u16 ox_id, wwn_t port_name, wwn_t node_name,
148 wwn_t port_name, wwn_t node_name,
154 wwn_t node_name, u16 pdu_size, u16 bb_cr);
170 wwn_t node_name, u8 *name);
197 wwn_t port_name, wwn_t node_name,
202 wwn_t node_name);
205 u32 host_dap, wwn_t node_name, wwn_t port_name);
208 wwn_t port_name, wwn_t node_name);
212 wwn_t port_name, wwn_t node_name);
[all …]
Dbfa_fcbuild.c224 __be16 ox_id, wwn_t port_name, wwn_t node_name, in fc_plogi_x_build() argument
245 memcpy(&plogi->node_name, &node_name, sizeof(wwn_t)); in fc_plogi_x_build()
252 u16 ox_id, wwn_t port_name, wwn_t node_name, u16 pdu_size, in fc_flogi_build() argument
265 flogi->node_name = node_name; in fc_flogi_build()
290 __be16 ox_id, wwn_t port_name, wwn_t node_name, in fc_flogi_acc_build() argument
303 flogi->node_name = node_name; in fc_flogi_acc_build()
312 u16 ox_id, wwn_t port_name, wwn_t node_name, u16 pdu_size) in fc_fdisc_build() argument
323 flogi->node_name = node_name; in fc_fdisc_build()
330 u16 ox_id, wwn_t port_name, wwn_t node_name, in fc_plogi_build() argument
334 node_name, pdu_size, bb_cr, FC_ELS_PLOGI); in fc_plogi_build()
[all …]
Dbfa_fc.h371 wwn_t node_name; member
871 wwn_t node_name; member
1369 wwn_t node_name; /* Node name */ member
1389 wwn_t node_name; member
1428 wwn_t node_name; /* Node Name */ member
Dbfad_attr.c61 u64 node_name = 0; in bfad_im_get_starget_node_name() local
71 node_name = bfa_fcs_itnim_get_nwwn(&itnim->fcs_itnim); in bfad_im_get_starget_node_name()
73 fc_starget_node_name(starget) = cpu_to_be64(node_name); in bfad_im_get_starget_node_name()
387 u64_to_wwn(fc_vport->node_name, (u8 *)&port_cfg.nwwn); in bfad_im_vport_create()
972 static DEVICE_ATTR(node_name, S_IRUGO, bfad_im_node_name_show, NULL);
/drivers/scsi/lpfc/
Dlpfc_vport.h50 uint8_t node_name[8]; /* WWNN */ member
70 uint8_t node_name[8]; /* WWNN */ member
/drivers/scsi/
Dscsi_transport_fc.c361 fc_starget_node_name(starget) = rport->node_name; in fc_target_setup()
390 fc_host->node_name = -1; in fc_host_setup()
910 fc_private_rport_rd_attr_cast(node_name, "0x%llx\n", 20, unsigned long long);
1055 fc_starget_rd_attr_cast(node_name, "0x%llx\n", 20, unsigned long long);
1250 fc_private_vport_rd_attr_cast(node_name, "0x%llx\n", 20, unsigned long long);
1518 fc_private_host_rd_attr_cast(node_name, "0x%llx\n", 20, unsigned long long);
1871 stat = fc_parse_wwn(&buf[17], &vid.node_name); in store_fc_host_vport_create()
1927 (vport->port_name == wwpn) && (vport->node_name == wwnn)) { in store_fc_host_vport_delete()
2220 SETUP_STARGET_ATTRIBUTE_RD(node_name); in fc_attach_transport()
2233 SETUP_HOST_ATTRIBUTE_RD(node_name); in fc_attach_transport()
[all …]
/drivers/target/tcm_fc/
Dtfc_conf.c171 return ft_wwn_show(&acl->node_auth.node_name, page); in ft_nacl_show_node_name()
182 return ft_wwn_store(&acl->node_auth.node_name, page, count); in ft_nacl_store_node_name()
185 TF_NACL_BASE_ATTR(ft, node_name, S_IRUGO | S_IWUSR);
258 acl->node_auth.node_name == rdata->ids.node_name) { in ft_acl_get()
Dtcm_fc.h75 u64 node_name; member
/drivers/i2c/busses/
Di2c-scmi.c346 char node_name[5]; in acpi_smbus_cmi_query_methods() local
347 struct acpi_buffer buffer = { sizeof(node_name), node_name }; in acpi_smbus_cmi_query_methods()
354 acpi_smbus_cmi_add_cap(smbus_cmi, node_name); in acpi_smbus_cmi_query_methods()
/drivers/staging/tidspbridge/rmgr/
Dnldr.c171 char *node_name; member
843 char *node_name; in add_ovly_info() local
858 node_name = nldr_obj->ovly_table[i].node_name; in add_ovly_info()
859 if (strncmp(node_name, sect_name + 1, strlen(node_name)) == 0) { in add_ovly_info()
924 char *node_name = NULL; in add_ovly_node() local
949 node_name = obj_def.obj_data.node_obj.ndb_props.ac_name; in add_ovly_node()
954 strncpy(pbuf, node_name, len); in add_ovly_node()
956 node_name = pbuf; in add_ovly_node()
/drivers/scsi/csiostor/
Dcsio_attr.c67 ids.node_name = wwn_to_u64(csio_rn_wwnn(rn)); in csio_reg_rnode()
556 if (fc_vport->node_name != 0) { in csio_vport_create()
557 u64_to_wwn(fc_vport->node_name, wwn); in csio_vport_create()
591 if (!fc_vport->node_name) in csio_vport_create()
592 fc_vport->node_name = wwn_to_u64(csio_ln_wwnn(ln)); in csio_vport_create()
/drivers/s390/char/
Dtape_class.h54 char * node_name
/drivers/scsi/ibmvscsi/
Dibmvfc.h173 u64 node_name; member
193 u8 node_name[8]; member
220 u64 node_name; member
579 volatile u64 node_name; member
Dibmvfc.c1064 fc_starget_port_name(starget) = tgt ? tgt->ids.node_name : 0; in ibmvfc_get_starget_node_name()
2637 " node_name: %llx%s\n", desc->desc, crq->scsi_id, crq->wwpn, crq->node_name, in ibmvfc_handle_async()
2681 if (!crq->scsi_id && !crq->wwpn && !crq->node_name) in ibmvfc_handle_async()
2687 if (crq->node_name && tgt->ids.node_name != crq->node_name) in ibmvfc_handle_async()
3448 tgt->ids.node_name = wwn_to_u64(rsp->service_parms.node_name); in ibmvfc_tgt_plogi_done()
3605 if (memcmp(&mad->fc_iu.response[4], &tgt->ids.node_name, in ibmvfc_adisc_needs_plogi()
3606 sizeof(tgt->ids.node_name))) in ibmvfc_adisc_needs_plogi()
3793 memcpy(&mad->fc_iu.payload[4], &vhost->login_buf->resp.node_name, in ibmvfc_tgt_adisc()
3794 sizeof(vhost->login_buf->resp.node_name)); in ibmvfc_tgt_adisc()
4092 fc_host_fabric_name(vhost->host) = rsp->node_name; in ibmvfc_npiv_login_done()
[all …]
/drivers/acpi/
Dpower.c182 char node_name[5]; in acpi_power_get_state() local
183 struct acpi_buffer buffer = { sizeof(node_name), node_name }; in acpi_power_get_state()
199 node_name, in acpi_power_get_state()
Dec.c712 char node_name[5]; in acpi_ec_register_query_methods() local
713 struct acpi_buffer buffer = { sizeof(node_name), node_name }; in acpi_ec_register_query_methods()
720 if (ACPI_SUCCESS(status) && sscanf(node_name, "_Q%x", &value) == 1) { in acpi_ec_register_query_methods()
/drivers/scsi/fcoe/
Dfcoe_ctlr.c2270 rdata->ids.node_name = get_unaligned_be64(&wwn->fd_wwn); in fcoe_ctlr_vn_parse()
2424 (ids->node_name != -1 && ids->node_name != new->ids.node_name)) in fcoe_ctlr_vn_add()
2427 ids->node_name = new->ids.node_name; in fcoe_ctlr_vn_add()
2547 if (rdata->ids.node_name == new->ids.node_name && in fcoe_ctlr_vn_beacon()
/drivers/scsi/libfc/
Dfc_rport.c133 rdata->ids.node_name = -1; in fc_rport_create()
905 rdata->ids.node_name = get_unaligned_be64(&plp->fl_wwnn); in fc_rport_plogi_resp()
1299 get_unaligned_be64(&adisc->adisc_wwnn) != rdata->ids.node_name) { in fc_rport_adisc_resp()
1603 rdata->ids.node_name = get_unaligned_be64(&pl->fl_wwnn); in fc_rport_recv_plogi_req()

12