Lines Matching refs:fc_vport
197 fc_vport_set_state(vha->fc_vport, FC_VPORT_DISABLED);
199 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED);
217 fc_vport_set_state(vha->fc_vport, FC_VPORT_LINKDOWN);
232 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED);
249 struct fc_vport *fc_vport;
252 fc_vport = vha->fc_vport;
271 fc_vport_set_state(fc_vport, FC_VPORT_ACTIVE);
456 qla24xx_vport_create_req_sanity_check(struct fc_vport *fc_vport)
458 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost);
463 if (fc_vport->roles != FC_PORT_ROLE_FCP_INITIATOR)
475 u64_to_wwn(fc_vport->port_name, port_name);
494 qla24xx_create_vhost(struct fc_vport *fc_vport)
496 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost);
510 fc_vport->dd_data = vha;
512 u64_to_wwn(fc_vport->node_name, vha->node_name);
513 u64_to_wwn(fc_vport->port_name, vha->port_name);
515 vha->fc_vport = fc_vport;