Lines Matching refs:ccissscsi
74 static struct cciss_scsi_hba_t ccissscsi[MAX_CTLR]; variable
335 for (i=0;i<ccissscsi[ctlr].ndevices;i++) in find_bus_target_lun()
336 target_taken[ccissscsi[ctlr].dev[i].target] = 1; in find_bus_target_lun()
352 int n = ccissscsi[ctlr].ndevices; in cciss_scsi_add_entry()
360 sd = &ccissscsi[ctlr].dev[n]; in cciss_scsi_add_entry()
365 ccissscsi[ctlr].ndevices++; in cciss_scsi_add_entry()
385 sd = ccissscsi[ctlr].dev[entry]; in cciss_scsi_remove_entry()
386 for (i=entry;i<ccissscsi[ctlr].ndevices-1;i++) in cciss_scsi_remove_entry()
387 ccissscsi[ctlr].dev[i] = ccissscsi[ctlr].dev[i+1]; in cciss_scsi_remove_entry()
388 ccissscsi[ctlr].ndevices--; in cciss_scsi_remove_entry()
424 while(i<ccissscsi[ctlr].ndevices) { in adjust_cciss_scsi_table()
425 csd = &ccissscsi[ctlr].dev[i]; in adjust_cciss_scsi_table()
463 for (j=0;j<ccissscsi[ctlr].ndevices;j++) { in adjust_cciss_scsi_table()
464 csd = &ccissscsi[ctlr].dev[j]; in adjust_cciss_scsi_table()
503 for (i=0;i<ccissscsi[ctlr].ndevices;i++) { in lookup_scsi3addr()
504 sd = &ccissscsi[ctlr].dev[i]; in lookup_scsi3addr()
577 ccissscsi[cntl_num].ndevices = 0; in cciss_find_non_disk_devices()
629 for (i=0;i<ccissscsi[cntl_num].ndevices;i++) in cciss_find_non_disk_devices()
632 ccissscsi[cntl_num].dev[i].bus, in cciss_find_non_disk_devices()
633 ccissscsi[cntl_num].dev[i].target, in cciss_find_non_disk_devices()
634 ccissscsi[cntl_num].dev[i].lun); in cciss_find_non_disk_devices()
1458 driver_template[ctlr].name = ccissscsi[ctlr].name; in init_driver_template()
1459 driver_template[ctlr].proc_name = ccissscsi[ctlr].name; in init_driver_template()
1516 sprintf( ccissscsi[ctlr].name, "cciss%d", ctlr ); in cciss_register_scsi()
1531 if (ccissscsi[ctlr].ndevices != 0) { in cciss_register_scsi()
1579 ccissscsi[ctlr].ndevices); in cciss_proc_tape_report()