Home
last modified time | relevance | path

Searched refs:cntl_num (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/block/
Dcciss_scsi.c519 cciss_find_non_disk_devices(int cntl_num) in cciss_find_non_disk_devices() argument
531 hba[cntl_num]->scsi_ctlr = (void *) in cciss_find_non_disk_devices()
534 if (hba[cntl_num]->scsi_ctlr == NULL) in cciss_find_non_disk_devices()
538 hba[cntl_num]->scsi_ctlr)->scsi_host = NULL; in cciss_find_non_disk_devices()
540 hba[cntl_num]->scsi_ctlr)->lock = SPIN_LOCK_UNLOCKED; in cciss_find_non_disk_devices()
542 hba[cntl_num]->scsi_ctlr)->registered = 0; in cciss_find_non_disk_devices()
544 if (scsi_cmd_stack_setup(cntl_num) != 0) { in cciss_find_non_disk_devices()
563 return_code = sendcmd(CISS_REPORT_PHYS, cntl_num, ld_buff, in cciss_find_non_disk_devices()
576 CPQ_TAPE_LOCK(cntl_num, flags); in cciss_find_non_disk_devices()
577 ccissscsi[cntl_num].ndevices = 0; in cciss_find_non_disk_devices()
[all …]
Dcciss.c179 static void cciss_getgeometry(int cntl_num);
2909 static void cciss_getgeometry(int cntl_num) in cciss_getgeometry() argument
2941 return_code = sendcmd(CISS_INQUIRY, cntl_num, inq_buff, in cciss_getgeometry()
2944 hba[cntl_num]->firm_ver[0] = inq_buff->data_byte[32]; in cciss_getgeometry()
2945 hba[cntl_num]->firm_ver[1] = inq_buff->data_byte[33]; in cciss_getgeometry()
2946 hba[cntl_num]->firm_ver[2] = inq_buff->data_byte[34]; in cciss_getgeometry()
2947 hba[cntl_num]->firm_ver[3] = inq_buff->data_byte[35]; in cciss_getgeometry()
2953 return_code = sendcmd(CISS_REPORT_LOG, cntl_num, ld_buff, in cciss_getgeometry()
2967 hba[cntl_num]->num_luns = listlength / 8; /* 8 bytes pre entry */ in cciss_getgeometry()
2968 if (hba[cntl_num]->num_luns > CISS_MAX_LUN) { in cciss_getgeometry()
[all …]