Lines Matching refs:fc_vport
193 fc_vport_set_state(vha->fc_vport, FC_VPORT_DISABLED); in qla24xx_disable_vp()
195 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla24xx_disable_vp()
213 fc_vport_set_state(vha->fc_vport, FC_VPORT_LINKDOWN); in qla24xx_enable_vp()
228 fc_vport_set_state(vha->fc_vport, FC_VPORT_FAILED); in qla24xx_enable_vp()
245 struct fc_vport *fc_vport; in qla24xx_configure_vp() local
248 fc_vport = vha->fc_vport; in qla24xx_configure_vp()
267 fc_vport_set_state(fc_vport, FC_VPORT_ACTIVE); in qla24xx_configure_vp()
461 qla24xx_vport_create_req_sanity_check(struct fc_vport *fc_vport) in qla24xx_vport_create_req_sanity_check() argument
463 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost); in qla24xx_vport_create_req_sanity_check()
468 if (fc_vport->roles != FC_PORT_ROLE_FCP_INITIATOR) in qla24xx_vport_create_req_sanity_check()
480 u64_to_wwn(fc_vport->port_name, port_name); in qla24xx_vport_create_req_sanity_check()
499 qla24xx_create_vhost(struct fc_vport *fc_vport) in qla24xx_create_vhost() argument
501 scsi_qla_host_t *base_vha = shost_priv(fc_vport->shost); in qla24xx_create_vhost()
515 fc_vport->dd_data = vha; in qla24xx_create_vhost()
517 u64_to_wwn(fc_vport->node_name, vha->node_name); in qla24xx_create_vhost()
518 u64_to_wwn(fc_vport->port_name, vha->port_name); in qla24xx_create_vhost()
520 vha->fc_vport = fc_vport; in qla24xx_create_vhost()