Lines Matching refs:inq_data
436 char inq_data; in aac_expose_phy_device() local
437 scsi_sg_copy_to_buffer(scsicmd, &inq_data, sizeof(inq_data)); in aac_expose_phy_device()
438 if ((inq_data & 0x20) && (inq_data & 0x1f) == TYPE_DISK) { in aac_expose_phy_device()
439 inq_data &= 0xdf; in aac_expose_phy_device()
440 scsi_sg_copy_from_buffer(scsicmd, &inq_data, sizeof(inq_data)); in aac_expose_phy_device()
2886 struct inquiry_data inq_data; in aac_scsi_cmd() local
2889 memset(&inq_data, 0, sizeof (struct inquiry_data)); in aac_scsi_cmd()
2892 char *arr = (char *)&inq_data; in aac_scsi_cmd()
2904 scsi_sg_copy_from_buffer(scsicmd, &inq_data, in aac_scsi_cmd()
2905 sizeof(inq_data)); in aac_scsi_cmd()
2912 scsi_sg_copy_from_buffer(scsicmd, &inq_data, in aac_scsi_cmd()
2913 sizeof(inq_data)); in aac_scsi_cmd()
2920 char *sno = (char *)&inq_data; in aac_scsi_cmd()
2941 inq_data.inqd_ver = 2; /* claim compliance to SCSI-2 */ in aac_scsi_cmd()
2942 …inq_data.inqd_rdf = 2; /* A response data format value of two indicates that the data shall be in … in aac_scsi_cmd()
2943 inq_data.inqd_len = 31; in aac_scsi_cmd()
2945 inq_data.inqd_pad2= 0x32 ; /*WBus16|Sync|CmdQue */ in aac_scsi_cmd()
2951 setinqstr(dev, (void *) (inq_data.inqd_vid), ARRAY_SIZE(container_types)); in aac_scsi_cmd()
2952 inq_data.inqd_pdt = INQD_PDT_PROC; /* Processor device */ in aac_scsi_cmd()
2953 scsi_sg_copy_from_buffer(scsicmd, &inq_data, in aac_scsi_cmd()
2954 sizeof(inq_data)); in aac_scsi_cmd()
2960 setinqstr(dev, (void *) (inq_data.inqd_vid), fsa_dev_ptr[cid].type); in aac_scsi_cmd()
2961 inq_data.inqd_pdt = INQD_PDT_DA; /* Direct/random access device */ in aac_scsi_cmd()
2962 scsi_sg_copy_from_buffer(scsicmd, &inq_data, sizeof(inq_data)); in aac_scsi_cmd()