Lines Matching refs:inq
208 struct pluto_inquiry *inq; in pluto_detect() local
212 inq = (struct pluto_inquiry *)fcs[i].inquiry; in pluto_detect()
214 if ((inq->dtype & 0x1f) == TYPE_PROCESSOR && in pluto_detect()
215 !strncmp (inq->vendor_id, "SUN", 3) && in pluto_detect()
216 !strncmp (inq->product_id, "SSA", 3)) { in pluto_detect()
220 ages = kmalloc (((inq->channels + 1) * inq->targets) * sizeof(long), GFP_KERNEL); in pluto_detect()
236 host->max_id = inq->targets; in pluto_detect()
237 host->max_channel = inq->channels; in pluto_detect()
246 fc->channels = inq->channels + 1; in pluto_detect()
247 fc->targets = inq->targets; in pluto_detect()
249 memset (ages, 0, ((inq->channels + 1) * inq->targets) * sizeof(long)); in pluto_detect()
252 memcpy (pluto->rev_str, inq->revision, 4); in pluto_detect()
256 memcpy (pluto->fw_rev_str, inq->fw_revision, 4); in pluto_detect()
260 memcpy (pluto->serial_str, inq->serial, 12); in pluto_detect()