| /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/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/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()
|
| H A D | fc_rport.c | 148 rdata->ids.port_name = -1; in fc_rport_create() 797 if (rdata->ids.port_name < lport->wwpn) in fc_rport_flogi_resp() 954 if (rdata->ids.port_name < lport->wwpn) in fc_rport_recv_flogi_req() 1015 rdata->ids.port_name = get_unaligned_be64(&plp->fl_wwpn); in fc_rport_plogi_resp() 1537 get_unaligned_be64(&adisc->adisc_wwpn) != rdata->ids.port_name || in fc_rport_adisc_resp() 1879 rdata->ids.port_name = get_unaligned_be64(&pl->fl_wwpn); in fc_rport_recv_plogi_req() 1902 if (rdata->ids.port_name < lport->wwpn) { in fc_rport_recv_plogi_req()
|
| /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/scsi/qla2xxx/ |
| H A D | qla_init.c | 237 sp->name, sp->handle, fcport->d_id.b24, fcport->port_name); in qla2x00_async_iocb_timeout() 320 "%s %8phC res %d \n", __func__, sp->fcport->port_name, res); in qla2x00_async_login_sp_done() 353 __func__, fcport->port_name); in qla2x00_async_login() 393 fcport->port_name, sp->handle, fcport->loop_id, in qla2x00_async_login() 450 fcport->port_name, fcport->explicit_logout); in qla2x00_async_logout() 533 __func__, fcport->port_name, fcport->disc_state, in qla24xx_handle_adisc_event() 543 __func__, ea->fcport->port_name); in qla24xx_handle_adisc_event() 564 __func__, ea->fcport->port_name); in qla24xx_handle_adisc_event() 597 sp->name, res, sp->fcport->port_name); in qla2x00_async_adisc_sp_done() 628 __func__, fcport->port_name); in qla2x00_async_adisc() [all …]
|
| /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/ |
| 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() 802 if (fc_host->port_name == be64_to_cpu(li_desc->attached_wwpn)) in fc_fpin_li_stats_update() 833 if (fc_host->port_name == be64_to_cpu(dn_desc->attached_wwpn)) in fc_fpin_delivery_stats_update() 1198 fc_private_rport_rd_attr_cast(port_name, "0x%llx\n", 20, unsigned long long); 1496 fc_starget_rd_attr_cast(port_name, "0x%llx\n", 20, unsigned long long); 1691 fc_private_vport_rd_attr_cast(port_name, "0x%llx\n", 20, unsigned long long); 1959 fc_private_host_rd_attr_cast(port_name, "0x%llx\n", 20, unsigned long long); 2365 stat = fc_parse_wwn(&buf[0], &vid.port_name); in store_fc_host_vport_create() [all …]
|
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | devlink_rate_cross_esw.py | 76 for port_name, props in ports.items(): 77 if port_name.startswith(f"pci/{pf_pci}/") and props.get("vfnum") == 0: 78 return int(port_name.split("/")[-1])
|
| 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/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/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/gpu/drm/i915/display/ |
| H A D | intel_bios.c | 2576 port_name(port)); in sanitize_dedicated_external() 2587 port_name(port)); in sanitize_dedicated_external() 2598 port_name(port)); in sanitize_dedicated_external() 2640 port_name(port), devdata->child.hdmi_level_shifter_value, 9); in sanitize_hdmi_level_shift() 2761 port_name(port), is_crt, is_dvi, is_hdmi, is_dp, is_edp, is_dsi, in print_ddi_port() 2770 port_name(port)); in print_ddi_port() 2775 port_name(port)); in print_ddi_port() 2781 port_name(port), hdmi_level_shift); in print_ddi_port() 2788 port_name(port), max_tmds_clock); in print_ddi_port() 2795 port_name(port), dp_boost_level); in print_ddi_port() [all …]
|
| /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() 3059 ctrl->cnum, ctrl->lport->localport.port_name, in nvme_fc_create_association() 3060 ctrl->rport->remoteport.port_name, ctrl->ctrl.opts->subsysnqn); in nvme_fc_create_association() 3713 lport->localport.port_name != laddr.pn || in nvme_fc_create_ctrl() 3719 rport->remoteport.port_name != raddr.pn || in nvme_fc_create_ctrl()
|
| /linux/drivers/s390/scsi/ |
| H A D | zfcp_scsi.c | 126 port = zfcp_get_port_by_wwpn(adapter, rport->port_name); in zfcp_scsi_sdev_init() 709 port = zfcp_get_port_by_wwpn(adapter, rport->port_name); in zfcp_scsi_terminate_rport_io() 717 rport->port_name /* zfcp_scsi_rport_register */, in zfcp_scsi_terminate_rport_io() 731 ids.port_name = port->wwpn; in zfcp_scsi_rport_register()
|