Lines Matching refs:fc_vport
180 fc_vport_set_state(vha->fc_vport, FC_VPORT_DISABLED);
182 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED);
200 fc_vport_set_state(vha->fc_vport, FC_VPORT_LINKDOWN);
215 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED);
232 struct fc_vport *fc_vport;
235 fc_vport = vha->fc_vport;
254 fc_vport_set_state(fc_vport, FC_VPORT_ACTIVE);
448 qla24xx_vport_create_req_sanity_check(struct fc_vport *fc_vport)
450 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost);
455 if (fc_vport->roles != FC_PORT_ROLE_FCP_INITIATOR)
467 u64_to_wwn(fc_vport->port_name, port_name);
486 qla24xx_create_vhost(struct fc_vport *fc_vport)
488 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost);
502 fc_vport->dd_data = vha;
504 u64_to_wwn(fc_vport->node_name, vha->node_name);
505 u64_to_wwn(fc_vport->port_name, vha->port_name);
507 vha->fc_vport = fc_vport;