Lines Matching refs:fc_vport
56 struct fc_vport *fc_vport = vport->fc_vport; in lpfc_vport_set_state() local
58 if (fc_vport) { in lpfc_vport_set_state()
65 fc_vport->vport_last_state = fc_vport->vport_state; in lpfc_vport_set_state()
66 fc_vport->vport_state = new_state; in lpfc_vport_set_state()
295 lpfc_vport_create(struct fc_vport *fc_vport, bool disable) in lpfc_vport_create() argument
298 struct Scsi_Host *shost = fc_vport->shost; in lpfc_vport_create()
345 vport = lpfc_create_port(phba, instance, &fc_vport->dev); in lpfc_vport_create()
373 u64_to_wwn(fc_vport->node_name, vport->fc_nodename.u.wwn); in lpfc_vport_create()
374 u64_to_wwn(fc_vport->port_name, vport->fc_portname.u.wwn); in lpfc_vport_create()
409 *(struct lpfc_vport **)fc_vport->dd_data = vport; in lpfc_vport_create()
410 vport->fc_vport = fc_vport; in lpfc_vport_create()
489 disable_vport(struct fc_vport *fc_vport) in disable_vport() argument
491 struct lpfc_vport *vport = *(struct lpfc_vport **)fc_vport->dd_data; in disable_vport()
540 enable_vport(struct fc_vport *fc_vport) in enable_vport() argument
542 struct lpfc_vport *vport = *(struct lpfc_vport **)fc_vport->dd_data; in enable_vport()
588 lpfc_vport_disable(struct fc_vport *fc_vport, bool disable) in lpfc_vport_disable() argument
591 return disable_vport(fc_vport); in lpfc_vport_disable()
593 return enable_vport(fc_vport); in lpfc_vport_disable()
597 lpfc_vport_delete(struct fc_vport *fc_vport) in lpfc_vport_delete() argument
600 struct lpfc_vport *vport = *(struct lpfc_vport **)fc_vport->dd_data; in lpfc_vport_delete()