Searched refs:inq_buff (Results 1 – 1 of 1) sorted by relevance
| /Linux-v5.4/drivers/scsi/ |
| D | hpsa.c | 3923 unsigned char *inq_buff; in hpsa_update_device_info() local 3927 inq_buff = kzalloc(OBDR_TAPE_INQ_SIZE, GFP_KERNEL); in hpsa_update_device_info() 3928 if (!inq_buff) { in hpsa_update_device_info() 3934 if (hpsa_scsi_do_inquiry(h, scsi3addr, 0, inq_buff, in hpsa_update_device_info() 3943 scsi_sanitize_inquiry_string(&inq_buff[8], 8); in hpsa_update_device_info() 3944 scsi_sanitize_inquiry_string(&inq_buff[16], 16); in hpsa_update_device_info() 3946 this_device->devtype = (inq_buff[0] & 0x1f); in hpsa_update_device_info() 3948 memcpy(this_device->vendor, &inq_buff[8], in hpsa_update_device_info() 3950 memcpy(this_device->model, &inq_buff[16], in hpsa_update_device_info() 3952 this_device->rev = inq_buff[2]; in hpsa_update_device_info() [all …]
|