Lines Matching refs:raid_ctlr_position
4088 static int figure_external_status(struct ctlr_info *h, int raid_ctlr_position, in figure_external_status() argument
4094 int logicals_start = nphysicals + (raid_ctlr_position == 0); in figure_external_status()
4096 if (i == raid_ctlr_position) in figure_external_status()
4103 if ((i - nphysicals - (raid_ctlr_position == 0)) < nlocal_logicals) in figure_external_status()
4152 static u8 *figure_lunaddrbytes(struct ctlr_info *h, int raid_ctlr_position, 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()
4165 if (i == raid_ctlr_position) in figure_lunaddrbytes()
4170 (raid_ctlr_position == 0)].lunid[0]; in figure_lunaddrbytes()
4174 (raid_ctlr_position == 0)][0]; in figure_lunaddrbytes()
4355 int raid_ctlr_position; in hpsa_update_scsi_devices() local
4412 raid_ctlr_position = 0; in hpsa_update_scsi_devices()
4414 raid_ctlr_position = nphysicals + nlogicals; in hpsa_update_scsi_devices()
4420 int phys_dev_index = i - (raid_ctlr_position == 0); in hpsa_update_scsi_devices()
4425 physical_device = i < nphysicals + (raid_ctlr_position == 0); in hpsa_update_scsi_devices()
4428 lunaddrbytes = figure_lunaddrbytes(h, raid_ctlr_position, in hpsa_update_scsi_devices()
4433 figure_external_status(h, raid_ctlr_position, i, in hpsa_update_scsi_devices()