| /linux/drivers/media/cec/core/ |
| H A D | cec-notifier.c | 28 const char *port_name; member 52 cec_notifier_get_conn(struct device *hdmi_dev, const char *port_name) in cec_notifier_get_conn() argument 59 (!port_name || in cec_notifier_get_conn() 60 (n->port_name && !strcmp(n->port_name, port_name)))) { in cec_notifier_get_conn() 70 if (port_name) { in cec_notifier_get_conn() 71 n->port_name = kstrdup(port_name, GFP_KERNEL); in cec_notifier_get_conn() 72 if (!n->port_name) { in cec_notifier_get_conn() 94 kfree(n->port_name); in cec_notifier_release() 106 cec_notifier_conn_register(struct device *hdmi_dev, const char *port_name, in cec_notifier_conn_register() argument 109 struct cec_notifier *n = cec_notifier_get_conn(hdmi_dev, port_name); in cec_notifier_conn_register() [all …]
|
| /linux/include/media/ |
| H A D | cec-notifier.h | 39 cec_notifier_conn_register(struct device *hdmi_dev, const char *port_name, 66 cec_notifier_cec_adap_register(struct device *hdmi_dev, const char *port_name, 113 cec_notifier_conn_register(struct device *hdmi_dev, const char *port_name, in cec_notifier_conn_register() argument 125 cec_notifier_cec_adap_register(struct device *hdmi_dev, const char *port_name, in cec_notifier_cec_adap_register() argument
|
| /linux/drivers/scsi/bfa/ |
| H A D | bfa_fcbuild.c | 196 __be16 ox_id, wwn_t port_name, wwn_t node_name, in fc_plogi_x_build() argument 216 memcpy(&plogi->port_name, &port_name, sizeof(wwn_t)); in fc_plogi_x_build() 224 __be16 ox_id, wwn_t port_name, wwn_t node_name, in fc_flogi_acc_build() argument 236 flogi->port_name = port_name; in fc_flogi_acc_build() 246 u16 ox_id, wwn_t port_name, wwn_t node_name, in fc_plogi_build() argument 249 return fc_plogi_x_build(fchs, pld, d_id, s_id, ox_id, port_name, in fc_plogi_build() 255 u16 ox_id, wwn_t port_name, wwn_t node_name, in fc_plogi_acc_build() argument 258 return fc_plogi_x_build(fchs, pld, d_id, s_id, ox_id, port_name, in fc_plogi_acc_build() 336 u16 ox_id, wwn_t port_name) in fc_logo_build() argument 343 logo->orig_port_name = port_name; in fc_logo_build() [all …]
|
| H A D | bfa_fcbuild.h | 132 wwn_t port_name, wwn_t node_name, 137 u32 s_id, u16 ox_id, wwn_t port_name, 154 u16 ox_id, wwn_t port_name); 168 wwn_t port_name, wwn_t node_name, 172 u32 d_id, u32 s_id, __be16 ox_id, wwn_t port_name, 176 wwn_t port_name, wwn_t node_name); 180 wwn_t port_name, wwn_t node_name); 213 u32 s_id, u16 ox_id, wwn_t port_name);
|
| H A D | bfa_fc.h | 348 wwn_t port_name; member 848 wwn_t port_name; member 1283 wwn_t port_name; /* port wwn */ member 1358 wwn_t port_name; member 1403 wwn_t port_name; /* Port Name */ member 1592 wwn_t port_name; /* Port wwn */ member 1600 wwn_t port_name; /* port wwn */ member
|
| /linux/drivers/scsi/libfc/ |
| H A D | fc_disc.c | 429 ids.port_name = ntohll(np->fp_wwpn); in fc_disc_gpn_ft_parse() 432 ids.port_name != lport->wwpn) { in fc_disc_gpn_ft_parse() 435 rdata->ids.port_name = ids.port_name; in fc_disc_gpn_ft_parse() 574 u64 port_name; in fc_disc_gpn_id_resp() local 596 port_name = get_unaligned_be64(&pn->fn_wwpn); in fc_disc_gpn_id_resp() 598 if (rdata->ids.port_name == -1) in fc_disc_gpn_id_resp() 599 rdata->ids.port_name = port_name; in fc_disc_gpn_id_resp() 600 else if (rdata->ids.port_name != port_name) { in fc_disc_gpn_id_resp() 603 rdata->ids.port_id, port_name); in fc_disc_gpn_id_resp()
|
| /linux/drivers/usb/core/ |
| H A D | ledtrig-usbport.c | 28 char *port_name; member 206 port->port_name = kzalloc(len, GFP_KERNEL); in usbport_trig_add_port() 207 if (!port->port_name) { in usbport_trig_add_port() 211 snprintf(port->port_name, len, "%s-port%d", hub_name, portnum); in usbport_trig_add_port() 214 port->attr.attr.name = port->port_name; in usbport_trig_add_port() 229 kfree(port->port_name); in usbport_trig_add_port() 257 kfree(port->port_name); in usbport_trig_remove_port()
|
| /linux/include/linux/ |
| H A D | nvme-fc-driver.h | 158 u64 port_name; member 285 u64 port_name; member 328 u64 port_name; member 600 u64 port_name; member 753 u64 port_name; member
|
| /linux/drivers/acpi/ |
| H A D | mipi-disco-img.c | 344 if (GRAPH_PORT_NAME(local_port->port_name, in extract_crs_csi2_conn_info() 362 if (GRAPH_PORT_NAME(remote_port->port_name, in extract_crs_csi2_conn_info() 494 if (GRAPH_PORT_NAME(port->port_name, port->port_nr)) in init_csi2_port() 498 SOFTWARE_NODE(port->port_name, port->port_props, in init_csi2_port() 584 char port_name[sizeof(MIPI_IMG_PORT_PREFIX) + 2]; in get_mipi_port_handle() local 586 if (snprintf(port_name, sizeof(port_name), "%s%u", in get_mipi_port_handle() 587 MIPI_IMG_PORT_PREFIX, port_nr) >= sizeof(port_name)) in get_mipi_port_handle() 590 return fwnode_get_named_child_node(adev_fwnode, port_name); in get_mipi_port_handle()
|
| /linux/drivers/nvme/target/ |
| H A D | fcloop.c | 249 u64 port_name; member 544 *wwpn = rport->lport->localport->port_name; in fcloop_t2h_host_traddr() 1224 pinfo.port_name = opts->wwpn; in fcloop_create_local_port() 1260 __fcloop_nport_lookup(u64 node_name, u64 port_name) in __fcloop_nport_lookup() argument 1266 nport->port_name != port_name) in __fcloop_nport_lookup() 1279 fcloop_nport_lookup(u64 node_name, u64 port_name) in fcloop_nport_lookup() argument 1285 nport = __fcloop_nport_lookup(node_name, port_name); in fcloop_nport_lookup() 1292 __fcloop_lport_lookup(u64 node_name, u64 port_name) in __fcloop_lport_lookup() argument 1298 lport->localport->port_name != port_name) in __fcloop_lport_lookup() 1311 fcloop_lport_lookup(u64 node_name, u64 port_name) in fcloop_lport_lookup() argument [all …]
|
| /linux/drivers/scsi/lpfc/ |
| H A D | lpfc_vport.h | 53 uint8_t port_name[8]; /* WWPN */ member 73 uint8_t port_name[8]; /* WWPN */ member
|
| /linux/drivers/media/cec/i2c/ |
| H A D | ch7322.c | 377 const char *port_name; member 424 *port = conn->port_name; in ch7322_get_port() 450 const char *port_name; in ch7322_probe() local 457 ret = ch7322_get_port(client, &hdmi_dev, &port_name); in ch7322_probe() 509 port_name, in ch7322_probe()
|
| /linux/drivers/target/tcm_fc/ |
| H A D | tcm_fc.h | 32 u64 port_name; /* port name for transport ID */ member 66 u64 port_name; member
|
| H A D | tfc_sess.c | 215 ft_format_wwn(&initiatorname[0], TRANSPORT_IQN_LEN, rdata->ids.port_name); in ft_sess_create() 340 return ft_format_wwn(buf, len, sess->port_name); in ft_sess_get_port_name() 390 sess->port_name = rdata->ids.port_name; in ft_prli_locked()
|
| /linux/drivers/scsi/qla2xxx/ |
| H A D | qla_fw.h | 82 uint8_t port_name[WWN_SIZE]; member 113 u8 port_name[WWN_SIZE]; member 128 uint8_t port_name[WWN_SIZE]; member 148 uint8_t port_name[WWN_SIZE]; member 330 uint8_t port_name[WWN_SIZE]; /* Big endian. */ member 1379 uint8_t port_name[WWN_SIZE]; member 1402 uint8_t port_name[WWN_SIZE]; member 1549 uint8_t port_name[8]; member 1565 uint8_t port_name[8]; member 1735 uint8_t port_name[WWN_SIZE]; member [all …]
|
| H A D | qla_mid.c | 110 qla24xx_find_vhost_by_name(struct qla_hw_data *ha, uint8_t *port_name) in qla24xx_find_vhost_by_name() argument 119 if (!memcmp(port_name, vha->port_name, WWN_SIZE)) { in qla24xx_find_vhost_by_name() 461 uint8_t port_name[WWN_SIZE]; in qla24xx_vport_create_req_sanity_check() local 475 u64_to_wwn(fc_vport->port_name, port_name); in qla24xx_vport_create_req_sanity_check() 476 if (!memcmp(port_name, base_vha->port_name, WWN_SIZE)) in qla24xx_vport_create_req_sanity_check() 478 vha = qla24xx_find_vhost_by_name(ha, port_name); in qla24xx_vport_create_req_sanity_check() 514 u64_to_wwn(fc_vport->port_name, vha->port_name); in qla24xx_create_vhost()
|
| H A D | qla_target.c | 536 sp->name, res, sp->fcport->port_name, sp->type); in qla2x00_async_nack_sp_done() 553 sp->fcport->port_name); in qla2x00_async_nack_sp_done() 636 sp->name, fcport->port_name, sp->handle, c); in qla24xx_async_notify_ack() 734 __func__, sess->port_name); in qlt_fc_port_added() 742 sess->local ? "local " : "", sess->port_name, sess->loop_id); in qlt_fc_port_added() 756 fcport->port_name, sess->loop_id); in qlt_fc_port_added() 782 pla->iocb.u.isp24.port_name); in qlt_plogi_ack_find_add() 820 " exch %#x ox_id %#x\n", iocb->u.isp24.port_name, in qlt_plogi_ack_unref() 862 sess, link, sess->port_name, in qlt_plogi_ack_link() 863 iocb->u.isp24.port_name, iocb->u.isp24.port_id[2], in qlt_plogi_ack_link() [all …]
|
| H A D | qla_edif.c | 107 __func__, edif_entry->handle, fcport->port_name, fcport->d_id.b24); in qla2x00_sa_replace_iocb_timeout() 225 fcport->node_name, fcport->port_name, fcport->d_id.b24); in qla_edif_sa_ctl_init() 264 __func__, sc_to_str(p->sub_cmd), fcport->port_name, in qla_bsg_check() 589 fcport->node_name, fcport->port_name, in qla_edif_app_start() 597 fcport->port_name, fcport->loop_id, in qla_edif_app_start() 626 __func__, fcport->port_name); in qla_edif_app_start() 699 fcport->port_name, fcport->loop_id, fcport->d_id.b24, in qla_edif_app_stop() 709 __func__, fcport->port_name); in qla_edif_app_stop() 733 __func__, fcport->port_name, fcport->edif.tx_sa_set, in qla_edif_app_chk_sa_update() 740 fcport->port_name); in qla_edif_app_chk_sa_update() [all …]
|
| H A D | qla_nvme.c | 65 req.port_name = wwn_to_u64(fcport->port_name); in qla_nvme_register_remote() 83 __func__, req.node_name, req.port_name, in qla_nvme_register_remote() 415 fcport->d_id.b24, fcport->port_name, uctx->exchange_address, in qla_nvme_xmt_ls_rsp() 867 fcport, fcport->port_name); in qla_nvme_remoteport_delete() 901 __func__, fcport, fcport->port_name); in qla_nvme_unregister_remote_port() 971 pinfo.port_name = wwn_to_u64(vha->port_name); in qla_nvme_register_hba() 983 pinfo.node_name, pinfo.port_name, pinfo.port_id); in qla_nvme_register_hba()
|
| /linux/drivers/scsi/ |
| H A D | scsi_transport_fc.c | 370 fc_starget_port_name(starget) = rport->port_name; in fc_target_setup() 399 fc_host->port_name = -1; in fc_host_setup() 654 if (rport->port_name == wwpn) { in fc_find_rport_by_wwpn() 784 if (fc_host->port_name == be64_to_cpu(li_desc->attached_wwpn)) in fc_fpin_li_stats_update() 815 if (fc_host->port_name == be64_to_cpu(dn_desc->attached_wwpn)) in fc_fpin_delivery_stats_update() 1193 fc_private_rport_rd_attr_cast(port_name, "0x%llx\n", 20, unsigned long long); 1491 fc_starget_rd_attr_cast(port_name, "0x%llx\n", 20, unsigned long long); 1686 fc_private_vport_rd_attr_cast(port_name, "0x%llx\n", 20, unsigned long long); 1954 fc_private_host_rd_attr_cast(port_name, "0x%llx\n", 20, unsigned long long); 2360 stat = fc_parse_wwn(&buf[0], &vid.port_name); in store_fc_host_vport_create() [all …]
|
| /linux/drivers/scsi/csiostor/ |
| H A D | csio_attr.c | 68 ids.port_name = wwn_to_u64(csio_rn_wwpn(rn)); in csio_reg_rnode() 576 if (fc_vport->port_name != 0) { in csio_vport_create() 577 u64_to_wwn(fc_vport->port_name, wwn); in csio_vport_create() 602 if (!fc_vport->port_name) in csio_vport_create() 603 fc_vport->port_name = wwn_to_u64(csio_ln_wwpn(ln)); in csio_vport_create()
|
| H A D | csio_lnode.c | 301 struct fc_fdmi_port_name *port_name; in csio_ln_fdmi_rhba_cbfn() local 329 port_name = (struct fc_fdmi_port_name *)pld; in csio_ln_fdmi_rhba_cbfn() 330 memcpy(&port_name->portname, csio_ln_wwpn(ln), 8); in csio_ln_fdmi_rhba_cbfn() 331 pld += sizeof(*port_name); in csio_ln_fdmi_rhba_cbfn() 515 struct fc_fdmi_port_name *port_name; in csio_ln_fdmi_dhba_cbfn() local 543 port_name = (struct fc_fdmi_port_name *)csio_ct_get_pld(cmd); in csio_ln_fdmi_dhba_cbfn() 544 memcpy(&port_name->portname, csio_ln_wwpn(ln), 8); in csio_ln_fdmi_dhba_cbfn() 545 len += sizeof(*port_name); in csio_ln_fdmi_dhba_cbfn()
|
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | devlink_rate_tc_bw.py | 162 for port_name, props in ports.items(): 165 if (port_name.startswith(f"pci/{cfg.pci}/") and 168 cfg.vf_port_index = int(port_name.split("/")[-1])
|
| /linux/drivers/input/serio/ |
| H A D | i8042.c | 383 const char *port_name; in i8042_port_close() local 388 port_name = "AUX"; in i8042_port_close() 392 port_name = "KBD"; in i8042_port_close() 397 pr_warn("Can't write CTR while closing %s port\n", port_name); in i8042_port_close() 404 pr_err("Can't reactivate %s port\n", port_name); in i8042_port_close()
|
| /linux/drivers/nvme/host/ |
| H A D | fc.c | 287 lport->localport.port_name != pinfo->port_name) in nvme_fc_attach_to_unreg_lport() 417 newrec->localport.port_name = pinfo->port_name; in nvme_fc_register_localport() 505 lport->localport.node_name, lport->localport.port_name); in nvme_fc_signal_discovery_scan() 508 rport->remoteport.node_name, rport->remoteport.port_name); in nvme_fc_signal_discovery_scan() 594 rport->remoteport.port_name != pinfo->port_name) in nvme_fc_attach_to_suspended_rport() 733 newrec->remoteport.port_name = pinfo->port_name; in nvme_fc_register_remoteport() 3048 ctrl->cnum, ctrl->lport->localport.port_name, in nvme_fc_create_association() 3049 ctrl->rport->remoteport.port_name, ctrl->ctrl.opts->subsysnqn); in nvme_fc_create_association() 3699 lport->localport.port_name != laddr.pn || in nvme_fc_create_ctrl() 3705 rport->remoteport.port_name != raddr.pn || in nvme_fc_create_ctrl()
|