Home
last modified time | relevance | path

Searched refs:port_name (Results 1 – 25 of 67) sorted by relevance

123

/drivers/scsi/qla2xxx/
Dqla_gs.c218 memcpy(fcport->port_name, ct_rsp->rsp.ga_nxt.port_name, in qla2x00_ga_nxt()
236 fcport->port_name[0], fcport->port_name[1], in qla2x00_ga_nxt()
237 fcport->port_name[2], fcport->port_name[3], in qla2x00_ga_nxt()
238 fcport->port_name[4], fcport->port_name[5], in qla2x00_ga_nxt()
239 fcport->port_name[6], fcport->port_name[7], in qla2x00_ga_nxt()
385 memcpy(list[i].port_name, in qla2x00_gpn_id()
386 ct_rsp->rsp.gpn_id.port_name, WWN_SIZE); in qla2x00_gpn_id()
458 list[i].port_name[0], list[i].port_name[1], in qla2x00_gnn_id()
459 list[i].port_name[2], list[i].port_name[3], in qla2x00_gnn_id()
460 list[i].port_name[4], list[i].port_name[5], in qla2x00_gnn_id()
[all …]
Dqla_target.c117 const uint8_t *port_name) in qlt_find_sess_by_port_name() argument
122 if (!memcmp(sess->port_name, port_name, WWN_SIZE)) in qlt_find_sess_by_port_name()
436 sess->port_name[0], sess->port_name[1], in qlt_reset()
437 sess->port_name[2], sess->port_name[3], in qlt_reset()
438 sess->port_name[4], sess->port_name[5], in qlt_reset()
439 sess->port_name[6], sess->port_name[7], in qlt_reset()
474 sess->port_name[0], sess->port_name[1], in qlt_schedule_sess_for_deletion()
475 sess->port_name[2], sess->port_name[3], in qlt_schedule_sess_for_deletion()
476 sess->port_name[4], sess->port_name[5], in qlt_schedule_sess_for_deletion()
477 sess->port_name[6], sess->port_name[7], in qlt_schedule_sess_for_deletion()
[all …]
Dqla_init.c569 vha->port_name[0], vha->port_name[1], in qla2x00_initialize_adapter()
570 vha->port_name[2], vha->port_name[3], in qla2x00_initialize_adapter()
571 vha->port_name[4], vha->port_name[5], in qla2x00_initialize_adapter()
572 vha->port_name[6], vha->port_name[7]); in qla2x00_initialize_adapter()
2383 memcpy(nv->port_name, val, WWN_SIZE); in qla2xxx_nvram_wwn_from_ofw()
2478 nv->port_name[0] = 33; in qla2x00_nvram_config()
2479 nv->port_name[3] = 224; in qla2x00_nvram_config()
2480 nv->port_name[4] = 139; in qla2x00_nvram_config()
2574 memcpy(icb->port_name, nv->alternate_port_name, WWN_SIZE); in qla2x00_nvram_config()
2583 memcpy(icb->node_name, icb->port_name, WWN_SIZE); in qla2x00_nvram_config()
[all …]
Dqla_mid.c97 qla24xx_find_vhost_by_name(struct qla_hw_data *ha, uint8_t *port_name) in qla24xx_find_vhost_by_name() argument
106 if (!memcmp(port_name, vha->port_name, WWN_SIZE)) { in qla24xx_find_vhost_by_name()
404 uint8_t port_name[WWN_SIZE]; in qla24xx_vport_create_req_sanity_check() local
418 u64_to_wwn(fc_vport->port_name, port_name); in qla24xx_vport_create_req_sanity_check()
419 if (!memcmp(port_name, base_vha->port_name, WWN_SIZE)) in qla24xx_vport_create_req_sanity_check()
421 vha = qla24xx_find_vhost_by_name(ha, port_name); in qla24xx_vport_create_req_sanity_check()
456 u64_to_wwn(fc_vport->port_name, vha->port_name); in qla24xx_create_vhost()
Dqla_def.h1036 uint8_t port_name[WWN_SIZE]; member
1128 uint8_t port_name[WWN_SIZE]; /* Big endian. */ member
1294 uint8_t port_name[WWN_SIZE]; /* Big endian. */ member
1917 uint8_t port_name[WWN_SIZE]; member
1956 uint8_t port_name[WWN_SIZE]; member
1987 uint8_t port_name[WWN_SIZE]; member
2280 uint8_t port_name[8]; member
2290 uint8_t port_name[8]; member
2295 uint8_t port_name[8]; member
2299 uint8_t port_name[8]; member
[all …]
Dqla_fw.h69 uint8_t port_name[WWN_SIZE]; member
79 uint8_t port_name[WWN_SIZE]; member
99 uint8_t port_name[WWN_SIZE]; member
281 uint8_t port_name[WWN_SIZE]; /* Big endian. */ member
1160 uint8_t port_name[WWN_SIZE]; member
1183 uint8_t port_name[WWN_SIZE]; member
1417 uint8_t port_name[WWN_SIZE]; member
1595 uint8_t port_name[WWN_SIZE]; member
1765 uint8_t port_name[WWN_SIZE]; /* Big endian. */ member
Dtcm_qla2xxx.c1402 unsigned char port_name[36]; in tcm_qla2xxx_check_initiator_node_acl() local
1430 memset(&port_name, 0, 36); in tcm_qla2xxx_check_initiator_node_acl()
1431 snprintf(port_name, 36, "%02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x", in tcm_qla2xxx_check_initiator_node_acl()
1439 port_name); in tcm_qla2xxx_check_initiator_node_acl()
1479 sess->port_name[0], sess->port_name[1], in tcm_qla2xxx_update_sess()
1480 sess->port_name[2], sess->port_name[3], in tcm_qla2xxx_update_sess()
1481 sess->port_name[4], sess->port_name[5], in tcm_qla2xxx_update_sess()
1482 sess->port_name[6], sess->port_name[7], in tcm_qla2xxx_update_sess()
Dqla_bsg.c1304 fcport->port_name, sizeof(fcport->port_name))) in qla24xx_iidma()
1337 "%04x %x %04x %04x.\n", fcport->port_name[0], in qla24xx_iidma()
1338 fcport->port_name[1], fcport->port_name[2], in qla24xx_iidma()
1339 fcport->port_name[3], fcport->port_name[4], in qla24xx_iidma()
1340 fcport->port_name[5], fcport->port_name[6], in qla24xx_iidma()
1341 fcport->port_name[7], rval, fcport->fp_speed, mb[0], mb[1]); in qla24xx_iidma()
/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,
153 u32 s_id, u16 ox_id, wwn_t port_name,
183 u16 ox_id, wwn_t port_name);
197 wwn_t port_name, wwn_t node_name,
201 u32 d_id, u32 s_id, __be16 ox_id, wwn_t port_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
244 memcpy(&plogi->port_name, &port_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
264 flogi->port_name = port_name; in fc_flogi_build()
290 __be16 ox_id, wwn_t port_name, wwn_t node_name, in fc_flogi_acc_build() argument
302 flogi->port_name = port_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
322 flogi->port_name = port_name; in fc_fdisc_build()
330 u16 ox_id, wwn_t port_name, wwn_t node_name, in fc_plogi_build() argument
333 return fc_plogi_x_build(fchs, pld, d_id, s_id, ox_id, port_name, in fc_plogi_build()
[all …]
Dbfa_fc.h370 wwn_t port_name; member
870 wwn_t port_name; member
1305 wwn_t port_name; /* port wwn */ member
1380 wwn_t port_name; member
1425 wwn_t port_name; /* Port Name */ member
1599 wwn_t port_name; /* Port wwn */ member
1607 wwn_t port_name; /* port wwn */ member
/drivers/scsi/libfc/
Dfc_disc.c445 ids.port_name = ntohll(np->fp_wwpn); in fc_disc_gpn_ft_parse()
448 ids.port_name != lport->wwpn) { in fc_disc_gpn_ft_parse()
451 rdata->ids.port_name = ids.port_name; in fc_disc_gpn_ft_parse()
590 u64 port_name; in fc_disc_gpn_id_resp() local
609 port_name = get_unaligned_be64(&pn->fn_wwpn); in fc_disc_gpn_id_resp()
610 if (rdata->ids.port_name == -1) in fc_disc_gpn_id_resp()
611 rdata->ids.port_name = port_name; in fc_disc_gpn_id_resp()
612 else if (rdata->ids.port_name != port_name) { in fc_disc_gpn_id_resp()
615 rdata->ids.port_id, port_name); in fc_disc_gpn_id_resp()
/drivers/target/tcm_fc/
Dtfc_conf.c148 return ft_wwn_show(&acl->node_auth.port_name, page); in ft_nacl_show_port_name()
159 return ft_wwn_store(&acl->node_auth.port_name, page, count); in ft_nacl_store_port_name()
162 TF_NACL_BASE_ATTR(ft, port_name, S_IRUGO | S_IWUSR);
220 acl->node_auth.port_name = wwpn; in ft_add_acl()
256 acl, (unsigned long long)acl->node_auth.port_name); in ft_acl_get()
257 if (acl->node_auth.port_name == rdata->ids.port_name || in ft_acl_get()
260 (unsigned long long)rdata->ids.port_name); in ft_acl_get()
Dtcm_fc.h40 u64 port_name; /* port name for transport ID */ member
74 u64 port_name; member
Dtfc_sess.c337 return ft_format_wwn(buf, len, sess->port_name); in ft_sess_get_port_name()
387 sess->port_name = rdata->ids.port_name; in ft_prli_locked()
/drivers/scsi/lpfc/
Dlpfc_vport.h51 uint8_t port_name[8]; /* WWPN */ member
71 uint8_t port_name[8]; /* WWPN */ member
/drivers/scsi/
Dscsi_transport_fc.c362 fc_starget_port_name(starget) = rport->port_name; in fc_target_setup()
391 fc_host->port_name = -1; in fc_host_setup()
911 fc_private_rport_rd_attr_cast(port_name, "0x%llx\n", 20, unsigned long long);
1056 fc_starget_rd_attr_cast(port_name, "0x%llx\n", 20, unsigned long long);
1251 fc_private_vport_rd_attr_cast(port_name, "0x%llx\n", 20, unsigned long long);
1519 fc_private_host_rd_attr_cast(port_name, "0x%llx\n", 20, unsigned long long);
1867 stat = fc_parse_wwn(&buf[0], &vid.port_name); in store_fc_host_vport_create()
1927 (vport->port_name == wwpn) && (vport->node_name == wwnn)) { in store_fc_host_vport_delete()
2221 SETUP_STARGET_ATTRIBUTE_RD(port_name); in fc_attach_transport()
2234 SETUP_HOST_ATTRIBUTE_RD(port_name); in fc_attach_transport()
[all …]
/drivers/isdn/hardware/eicon/
Dos_bri.c155 sprintf(&a->port_name[0], "BRI %02x:%02x", in diva_bri_init_card()
159 bri_bar_length[1], &a->port_name[0], 1)) { in diva_bri_init_card()
168 bar2_length, &a->port_name[0], 2)) { in diva_bri_init_card()
296 &a->port_name[0], i); in diva_bri_cleanup_adapter()
371 &a->port_name[0], i); in diva_bri_reregister_io()
375 sprintf(a->port_name, "DIVA BRI %ld", in diva_bri_reregister_io()
381 &a->port_name[0], i)) { in diva_bri_reregister_io()
Dxdi_adapter.h56 char port_name[24]; member
/drivers/scsi/csiostor/
Dcsio_attr.c68 ids.port_name = wwn_to_u64(csio_rn_wwpn(rn)); in csio_reg_rnode()
567 if (fc_vport->port_name != 0) { in csio_vport_create()
568 u64_to_wwn(fc_vport->port_name, wwn); in csio_vport_create()
593 if (!fc_vport->port_name) in csio_vport_create()
594 fc_vport->port_name = wwn_to_u64(csio_ln_wwpn(ln)); in csio_vport_create()
Dcsio_lnode.c292 struct fc_fdmi_port_name *port_name; in csio_ln_fdmi_rhba_cbfn() local
319 port_name = (struct fc_fdmi_port_name *)pld; in csio_ln_fdmi_rhba_cbfn()
320 memcpy(&port_name->portname, csio_ln_wwpn(ln), 8); in csio_ln_fdmi_rhba_cbfn()
321 pld += sizeof(*port_name); in csio_ln_fdmi_rhba_cbfn()
498 struct fc_fdmi_port_name *port_name; in csio_ln_fdmi_dhba_cbfn() local
525 port_name = (struct fc_fdmi_port_name *)csio_ct_get_pld(cmd); in csio_ln_fdmi_dhba_cbfn()
526 memcpy(&port_name->portname, csio_ln_wwpn(ln), 8); in csio_ln_fdmi_dhba_cbfn()
527 len += sizeof(*port_name); in csio_ln_fdmi_dhba_cbfn()
/drivers/input/serio/
Di8042.c350 const char *port_name; in i8042_port_close() local
355 port_name = "AUX"; in i8042_port_close()
359 port_name = "KBD"; in i8042_port_close()
364 pr_warn("Can't write CTR while closing %s port\n", port_name); in i8042_port_close()
371 pr_err("Can't reactivate %s port\n", port_name); in i8042_port_close()
/drivers/net/usb/
Dhso.c493 char *port_name; in hso_sysfs_show_porttype() local
500 port_name = "Control"; in hso_sysfs_show_porttype()
503 port_name = "Application"; in hso_sysfs_show_porttype()
506 port_name = "Application2"; in hso_sysfs_show_porttype()
509 port_name = "GPS"; in hso_sysfs_show_porttype()
512 port_name = "GPS Control"; in hso_sysfs_show_porttype()
515 port_name = "PCSC"; in hso_sysfs_show_porttype()
518 port_name = "Diagnostic"; in hso_sysfs_show_porttype()
521 port_name = "Diagnostic2"; in hso_sysfs_show_porttype()
524 port_name = "Modem"; in hso_sysfs_show_porttype()
[all …]
/drivers/gpu/drm/i915/
Dintel_ddi.c98 port_name(port), in intel_prepare_ddi_buffers()
103 port_name(port)); in intel_prepare_ddi_buffers()
154 DRM_ERROR("Timeout waiting for DDI BUF %c idle bit\n", port_name(port)); in intel_wait_ddi_buf_idle()
679 port_name(port), pipe_name(pipe)); in intel_ddi_mode_set()
1183 "0x%08x\n", pipe_name(pipe), port_name(port), in intel_ddi_get_crtc_pll()
/drivers/scsi/fcoe/
Dfcoe_ctlr.c2278 rdata->ids.port_name = get_unaligned_be64(&vn->fd_wwpn); in fcoe_ctlr_vn_parse()
2351 if (fip->lp->wwpn > rdata->ids.port_name && in fcoe_ctlr_vn_probe_req()
2423 if ((ids->port_name != -1 && ids->port_name != new->ids.port_name) || in fcoe_ctlr_vn_add()
2426 ids->port_name = new->ids.port_name; in fcoe_ctlr_vn_add()
2489 if (new->ids.port_name > fip->lp->wwpn) { in fcoe_ctlr_vn_claim_notify()
2548 rdata->ids.port_name == new->ids.port_name) { in fcoe_ctlr_vn_beacon()
2600 rdata->ids.port_name, rdata->ids.port_id); in fcoe_ctlr_vn_age()

123