Lines Matching refs:this_device
1180 struct cciss_scsi_dev_t *currentsd, *this_device; in cciss_update_non_disk_devices() local
1193 this_device = ¤tsd[CCISS_MAX_SCSI_DEVS_PER_HBA]; in cciss_update_non_disk_devices()
1223 this_device->devtype = (inq_buff[0] & 0x1f); in cciss_update_non_disk_devices()
1224 this_device->bus = -1; in cciss_update_non_disk_devices()
1225 this_device->target = -1; in cciss_update_non_disk_devices()
1226 this_device->lun = -1; in cciss_update_non_disk_devices()
1227 memcpy(this_device->scsi3addr, scsi3addr, 8); in cciss_update_non_disk_devices()
1228 memcpy(this_device->vendor, &inq_buff[8], in cciss_update_non_disk_devices()
1229 sizeof(this_device->vendor)); in cciss_update_non_disk_devices()
1230 memcpy(this_device->model, &inq_buff[16], in cciss_update_non_disk_devices()
1231 sizeof(this_device->model)); in cciss_update_non_disk_devices()
1232 memcpy(this_device->revision, &inq_buff[32], in cciss_update_non_disk_devices()
1233 sizeof(this_device->revision)); in cciss_update_non_disk_devices()
1234 memset(this_device->device_id, 0, in cciss_update_non_disk_devices()
1235 sizeof(this_device->device_id)); in cciss_update_non_disk_devices()
1237 this_device->device_id, sizeof(this_device->device_id)); in cciss_update_non_disk_devices()
1239 switch (this_device->devtype) in cciss_update_non_disk_devices()
1264 scsi_device_type(this_device->devtype)); in cciss_update_non_disk_devices()
1267 currentsd[ncurrent] = *this_device; in cciss_update_non_disk_devices()