Lines Matching refs:this_device

1642 	unsigned char scsi3addr[], struct hpsa_scsi_dev_t *this_device,  in hpsa_update_device_info()  argument
1667 this_device->devtype = (inq_buff[0] & 0x1f); in hpsa_update_device_info()
1668 memcpy(this_device->scsi3addr, scsi3addr, 8); in hpsa_update_device_info()
1669 memcpy(this_device->vendor, &inq_buff[8], in hpsa_update_device_info()
1670 sizeof(this_device->vendor)); in hpsa_update_device_info()
1671 memcpy(this_device->model, &inq_buff[16], in hpsa_update_device_info()
1672 sizeof(this_device->model)); in hpsa_update_device_info()
1673 memset(this_device->device_id, 0, in hpsa_update_device_info()
1674 sizeof(this_device->device_id)); in hpsa_update_device_info()
1675 hpsa_get_device_id(h, scsi3addr, this_device->device_id, in hpsa_update_device_info()
1676 sizeof(this_device->device_id)); in hpsa_update_device_info()
1678 if (this_device->devtype == TYPE_DISK && in hpsa_update_device_info()
1680 hpsa_get_raid_level(h, scsi3addr, &this_device->raid_level); in hpsa_update_device_info()
1682 this_device->raid_level = RAID_UNKNOWN; in hpsa_update_device_info()
1689 *is_OBDR_device = (this_device->devtype == TYPE_ROM && in hpsa_update_device_info()
1769 struct hpsa_scsi_dev_t *this_device, u8 *lunaddrbytes, in add_ext_target_dev() argument
1801 if (hpsa_update_device_info(h, scsi3addr, this_device, NULL)) in add_ext_target_dev()
1804 hpsa_set_bus_target_lun(this_device, in add_ext_target_dev()
1897 struct hpsa_scsi_dev_t **currentsd, *this_device, *tmpdevice; in hpsa_update_scsi_devices() local
1966 this_device = currentsd[ncurrent]; in hpsa_update_scsi_devices()
1975 if (add_ext_target_dev(h, tmpdevice, this_device, in hpsa_update_scsi_devices()
1979 this_device = currentsd[ncurrent]; in hpsa_update_scsi_devices()
1982 *this_device = *tmpdevice; in hpsa_update_scsi_devices()
1984 switch (this_device->devtype) { in hpsa_update_scsi_devices()