Lines Matching refs:fc_vport
156 fc_vport_set_state(vha->fc_vport, FC_VPORT_DISABLED);
158 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED);
176 fc_vport_set_state(vha->fc_vport, FC_VPORT_LINKDOWN);
186 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED);
203 struct fc_vport *fc_vport;
206 fc_vport = vha->fc_vport;
225 fc_vport_set_state(fc_vport, FC_VPORT_ACTIVE);
371 qla24xx_vport_create_req_sanity_check(struct fc_vport *fc_vport)
373 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost);
378 if (fc_vport->roles != FC_PORT_ROLE_FCP_INITIATOR)
390 u64_to_wwn(fc_vport->port_name, port_name);
408 qla24xx_create_vhost(struct fc_vport *fc_vport)
410 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost);
423 fc_vport->dd_data = vha;
425 u64_to_wwn(fc_vport->node_name, vha->node_name);
426 u64_to_wwn(fc_vport->port_name, vha->port_name);
428 vha->fc_vport = fc_vport;