Lines Matching refs:nphysicals
3198 u32 nphysicals; in hpsa_get_sas_address_from_report_physical() local
3211 nphysicals = get_unaligned_be32(physdev->LUNListLength) / 24; in hpsa_get_sas_address_from_report_physical()
3213 for (i = 0; i < nphysicals; i++) in hpsa_get_sas_address_from_report_physical()
3765 int i, int nphysicals, int nlocal_logicals) in figure_external_status() argument
3770 int logicals_start = nphysicals + (raid_ctlr_position == 0); in figure_external_status()
3779 if ((i - nphysicals - (raid_ctlr_position == 0)) < nlocal_logicals) in figure_external_status()
3792 struct ReportExtendedLUNdata *physdev, u32 *nphysicals, in hpsa_gather_lun_info() argument
3799 *nphysicals = be32_to_cpu(*((__be32 *)physdev->LUNListLength)) / 24; in hpsa_gather_lun_info()
3800 if (*nphysicals > HPSA_MAX_PHYS_LUN) { in hpsa_gather_lun_info()
3802 HPSA_MAX_PHYS_LUN, *nphysicals - HPSA_MAX_PHYS_LUN); in hpsa_gather_lun_info()
3803 *nphysicals = HPSA_MAX_PHYS_LUN; in hpsa_gather_lun_info()
3818 if (*nlogicals + *nphysicals > HPSA_MAX_PHYS_LUN) { in hpsa_gather_lun_info()
3822 *nphysicals + *nlogicals - HPSA_MAX_PHYS_LUN); in hpsa_gather_lun_info()
3823 *nlogicals = HPSA_MAX_PHYS_LUN - *nphysicals; in hpsa_gather_lun_info()
3829 int i, int nphysicals, int nlogicals, in figure_lunaddrbytes() argument
3838 int logicals_start = nphysicals + (raid_ctlr_position == 0); in figure_lunaddrbytes()
3839 int last_device = nphysicals + nlogicals + (raid_ctlr_position == 0); in figure_lunaddrbytes()
3849 return &logdev_list->LUN[i - nphysicals - in figure_lunaddrbytes()
3950 u32 nphysicals = 0; in hpsa_update_scsi_devices() local
3977 if (hpsa_gather_lun_info(h, physdev_list, &nphysicals, in hpsa_update_scsi_devices()
3994 ndevs_to_allocate = nphysicals + nlogicals + MAX_EXT_TARGETS + 1; in hpsa_update_scsi_devices()
4018 raid_ctlr_position = nphysicals + nlogicals; in hpsa_update_scsi_devices()
4022 for (i = 0; i < nphysicals + nlogicals + 1; i++) { in hpsa_update_scsi_devices()
4027 physical_device = i < nphysicals + (raid_ctlr_position == 0); in hpsa_update_scsi_devices()
4031 i, nphysicals, nlogicals, physdev_list, logdev_list); in hpsa_update_scsi_devices()
4056 nphysicals, nlocal_logicals); in hpsa_update_scsi_devices()