Home
last modified time | relevance | path

Searched refs:max_vpi (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/scsi/lpfc/
H A Dlpfc_vport.c94 vpi = find_next_zero_bit(phba->vpi_bmask, (phba->max_vpi + 1), 1); in lpfc_alloc_vpi()
95 if (vpi > phba->max_vpi) in lpfc_alloc_vpi()
328 phba->max_vpi); in lpfc_vport_create()
H A Dlpfc_init.c479 fc_host_max_npiv_vports(shost) = phba->max_vpi; in lpfc_config_port_post()
5048 fc_host_max_npiv_vports(shost) = phba->max_vpi; in lpfc_host_attrib_init()
7832 phba->max_vpi = LPFC_MAX_VPI; in lpfc_sli_driver_resource_setup()
7975 phba->max_vpi = LPFC_MAX_VPI; in lpfc_sli4_driver_resource_setup()
9967 phba->sli4_hba.max_cfg_param.max_vpi = in lpfc_sli4_read_config()
9970 if (phba->sli4_hba.max_cfg_param.max_vpi > LPFC_MAX_VPORTS) in lpfc_sli4_read_config()
9971 phba->sli4_hba.max_cfg_param.max_vpi = LPFC_MAX_VPORTS; in lpfc_sli4_read_config()
9996 phba->max_vpi = (phba->sli4_hba.max_cfg_param.max_vpi > 0) ? in lpfc_sli4_read_config()
9997 (phba->sli4_hba.max_cfg_param.max_vpi - 1) : 0; in lpfc_sli4_read_config()
9998 phba->max_vports = phba->max_vpi; in lpfc_sli4_read_config()
[all …]
H A Dlpfc_sli4.h475 uint16_t max_vpi; member
H A Dlpfc_sli.c5637 if (phba->max_vpi && pmb->u.mb.un.varCfgPort.gmv) { in lpfc_sli_config_port()
5639 phba->max_vpi = pmb->u.mb.un.varCfgPort.max_vpi; in lpfc_sli_config_port()
5640 phba->max_vports = (phba->max_vpi > phba->max_vports) ? in lpfc_sli_config_port()
5641 phba->max_vpi : phba->max_vports; in lpfc_sli_config_port()
5644 phba->max_vpi = 0; in lpfc_sli_config_port()
5665 phba->max_vpi = 0; in lpfc_sli_config_port()
5713 phba->sli_rev, phba->max_vpi); in lpfc_sli_hba_setup()
5727 longs = (phba->max_vpi + BITS_PER_LONG) / BITS_PER_LONG; in lpfc_sli_hba_setup()
5736 phba->vpi_ids = kcalloc(phba->max_vpi + 1, in lpfc_sli_hba_setup()
5744 for (i = 0; i < phba->max_vpi; i++) in lpfc_sli_hba_setup()
[all …]
H A Dlpfc_bsg.c1681 for (i = 0; i <= phba->max_vpi && vports[i] != NULL; i++) { in lpfc_bsg_diag_mode_enter()
1723 for (i = 0; i <= phba->max_vpi && vports[i] != NULL; i++) { in lpfc_bsg_diag_mode_exit()