Home
last modified time | relevance | path

Searched refs:fc_host (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/scsi/
Dscsi_transport_fc.c392 struct fc_host_attrs *fc_host = shost_to_fc_host(shost); in fc_host_setup() local
399 fc_host->node_name = -1; in fc_host_setup()
400 fc_host->port_name = -1; in fc_host_setup()
401 fc_host->permanent_port_name = -1; in fc_host_setup()
402 fc_host->supported_classes = FC_COS_UNSPECIFIED; in fc_host_setup()
403 memset(fc_host->supported_fc4s, 0, in fc_host_setup()
404 sizeof(fc_host->supported_fc4s)); in fc_host_setup()
405 fc_host->supported_speeds = FC_PORTSPEED_UNKNOWN; in fc_host_setup()
406 fc_host->maxframe_size = -1; in fc_host_setup()
407 fc_host->max_npiv_vports = 0; in fc_host_setup()
[all …]
/Linux-v4.19/Documentation/scsi/
Dscsi_fc_transport.txt56 The fc_host associated with the physical adapter will export the ability
58 Linux device tree, and instruct the fc_host's driver to instantiate the
110 /sys/class/fc_host/host17 physical port's fc_host
111 /sys/class/fc_host/host18 vport's fc_host
162 For the fc_host class object, the following attributes are added for vports:
166 driver/adapter can support on the fc_host.
170 fc_host.
173 A "simple" create interface to instantiate a vport on an fc_host.
182 vport on the fc_host with the same WWNs and tear it down. Each WWN
295 cause the creation of the new attributes on the fc_host. As part of
[all …]
/Linux-v4.19/drivers/scsi/qedf/
Dqedf_main.c1431 struct fc_host_attrs *fc_host = shost_to_fc_host(lport->host); in qedf_setup_fdmi() local
1452 snprintf(fc_host->serial_number, in qedf_setup_fdmi()
1453 sizeof(fc_host->serial_number), in qedf_setup_fdmi()
1458 snprintf(fc_host->serial_number, in qedf_setup_fdmi()
1459 sizeof(fc_host->serial_number), "Unknown"); in qedf_setup_fdmi()
1461 snprintf(fc_host->manufacturer, in qedf_setup_fdmi()
1462 sizeof(fc_host->manufacturer), "%s", "Cavium Inc."); in qedf_setup_fdmi()
1464 snprintf(fc_host->model, sizeof(fc_host->model), "%s", "QL41000"); in qedf_setup_fdmi()
1466 snprintf(fc_host->model_description, sizeof(fc_host->model_description), in qedf_setup_fdmi()
1470 snprintf(fc_host->hardware_version, sizeof(fc_host->hardware_version), in qedf_setup_fdmi()
[all …]
/Linux-v4.19/drivers/scsi/fcoe/
Dfcoe.c2744 struct fc_host_attrs *fc_host; in fcoe_vport_remove() local
2750 fc_host = shost_to_fc_host(shost); in fcoe_vport_remove()
2754 list_for_each_entry_safe(vport, next_vport, &fc_host->vports, peers) { in fcoe_vport_remove()
/Linux-v4.19/drivers/scsi/qla2xxx/
Dqla_target.c1485 struct fc_host_attrs *fc_host = shost_to_fc_host(sh); in qlt_stop_phase1() local
1489 npiv_vports = (fc_host->npiv_vports_inuse); in qlt_stop_phase1()