Lines Matching refs:vpi
808 uint32_t vpi; in emlxs_fcio_manage() local
811 vpi = (dfc->data4 < MAX_VPORTS)? dfc->data4:0; in emlxs_fcio_manage()
812 port = &VPORT(vpi); in emlxs_fcio_manage()
2970 uint32_t vpi; in emlxs_dfc_create_vport() local
3017 for (vpi = 1; vpi <= hba->vpi_max; vpi++) { in emlxs_dfc_create_vport()
3018 vport = &VPORT(vpi); in emlxs_dfc_create_vport()
3026 dfc_vport->vpi = vpi; in emlxs_dfc_create_vport()
3042 if (dfc_vport->vpi == 0) { in emlxs_dfc_create_vport()
3044 for (vpi = 1; vpi <= hba->vpi_max; vpi++) { in emlxs_dfc_create_vport()
3045 vport = &VPORT(vpi); in emlxs_dfc_create_vport()
3052 if (vpi > hba->vpi_max) { in emlxs_dfc_create_vport()
3060 dfc_vport->vpi = vpi; in emlxs_dfc_create_vport()
3069 dfc_vport->wwpn[1] = (uint8_t)vpi; in emlxs_dfc_create_vport()
3078 emlxs_dfc_xlate(dfc->cmd), vpi); in emlxs_dfc_create_vport()
3090 dfc_vport->wwnn[1] = (uint8_t)vpi; in emlxs_dfc_create_vport()
3111 vpi, name); in emlxs_dfc_create_vport()
3114 "%s VPort-%d", hba->spn, vpi); in emlxs_dfc_create_vport()
3122 if (dfc_vport->vpi >= hba->vpi_high) { in emlxs_dfc_create_vport()
3123 hba->vpi_high = dfc_vport->vpi; in emlxs_dfc_create_vport()
3319 dfc_vport->vpi = vport->vpi; in emlxs_dfc_get_vportinfo()
3603 vport->vpi = hba->vpi_max; in emlxs_dfc_npiv_test()