Lines Matching refs:nphysicals

3540 	u32 nphysicals;  in hpsa_get_sas_address_from_report_physical()  local
3553 nphysicals = get_unaligned_be32(physdev->LUNListLength) / 24; in hpsa_get_sas_address_from_report_physical()
3555 for (i = 0; i < nphysicals; i++) in hpsa_get_sas_address_from_report_physical()
3596 u32 nphysicals; in hpsa_ext_ctrl_present() local
3602 nphysicals = (get_unaligned_be32(physdev->LUNListLength) / 24) + 1; in hpsa_ext_ctrl_present()
3604 for (i = 0; i < nphysicals; i++) { in hpsa_ext_ctrl_present()
4089 int i, int nphysicals, int nlocal_logicals) in figure_external_status() argument
4094 int logicals_start = nphysicals + (raid_ctlr_position == 0); in figure_external_status()
4103 if ((i - nphysicals - (raid_ctlr_position == 0)) < nlocal_logicals) in figure_external_status()
4116 struct ReportExtendedLUNdata *physdev, u32 *nphysicals, in hpsa_gather_lun_info() argument
4123 *nphysicals = be32_to_cpu(*((__be32 *)physdev->LUNListLength)) / 24; in hpsa_gather_lun_info()
4124 if (*nphysicals > HPSA_MAX_PHYS_LUN) { in hpsa_gather_lun_info()
4126 HPSA_MAX_PHYS_LUN, *nphysicals - HPSA_MAX_PHYS_LUN); in hpsa_gather_lun_info()
4127 *nphysicals = HPSA_MAX_PHYS_LUN; in hpsa_gather_lun_info()
4142 if (*nlogicals + *nphysicals > HPSA_MAX_PHYS_LUN) { in hpsa_gather_lun_info()
4146 *nphysicals + *nlogicals - HPSA_MAX_PHYS_LUN); in hpsa_gather_lun_info()
4147 *nlogicals = HPSA_MAX_PHYS_LUN - *nphysicals; in hpsa_gather_lun_info()
4153 int i, int nphysicals, int nlogicals, in figure_lunaddrbytes() argument
4162 int logicals_start = nphysicals + (raid_ctlr_position == 0); in figure_lunaddrbytes()
4163 int last_device = nphysicals + nlogicals + (raid_ctlr_position == 0); in figure_lunaddrbytes()
4173 return &logdev_list->LUN[i - nphysicals - in figure_lunaddrbytes()
4348 u32 nphysicals = 0; in hpsa_update_scsi_devices() local
4373 if (hpsa_gather_lun_info(h, physdev_list, &nphysicals, in hpsa_update_scsi_devices()
4390 ndevs_to_allocate = nphysicals + nlogicals + MAX_EXT_TARGETS + 1; in hpsa_update_scsi_devices()
4414 raid_ctlr_position = nphysicals + nlogicals; in hpsa_update_scsi_devices()
4417 for (i = 0; i < nphysicals + nlogicals + 1; i++) { in hpsa_update_scsi_devices()
4425 physical_device = i < nphysicals + (raid_ctlr_position == 0); in hpsa_update_scsi_devices()
4429 i, nphysicals, nlogicals, physdev_list, logdev_list); in hpsa_update_scsi_devices()
4434 nphysicals, nlocal_logicals); in hpsa_update_scsi_devices()