Lines Matching refs:raid_ctlr_position
4088 static int figure_external_status(struct ctlr_info *h, int raid_ctlr_position,
4094 int logicals_start = nphysicals + (raid_ctlr_position == 0);
4096 if (i == raid_ctlr_position)
4103 if ((i - nphysicals - (raid_ctlr_position == 0)) < nlocal_logicals)
4152 static u8 *figure_lunaddrbytes(struct ctlr_info *h, int raid_ctlr_position,
4162 int logicals_start = nphysicals + (raid_ctlr_position == 0);
4163 int last_device = nphysicals + nlogicals + (raid_ctlr_position == 0);
4165 if (i == raid_ctlr_position)
4170 (raid_ctlr_position == 0)].lunid[0];
4174 (raid_ctlr_position == 0)][0];
4355 int raid_ctlr_position;
4414 raid_ctlr_position = 0;
4416 raid_ctlr_position = nphysicals + nlogicals;
4423 int phys_dev_index = i - (raid_ctlr_position == 0);
4428 physical_device = i < nphysicals + (raid_ctlr_position == 0);
4431 lunaddrbytes = figure_lunaddrbytes(h, raid_ctlr_position,
4436 figure_external_status(h, raid_ctlr_position, i,