Lines Matching defs:inqp
366 struct c8_inquiry *inqp = &h->inq.c8;
368 if (!scsi_get_vpd_page(sdev, 0xC8, (unsigned char *)inqp,
370 if (inqp->page_code != 0xc8)
372 if (inqp->page_id[0] != 'e' || inqp->page_id[1] != 'd' ||
373 inqp->page_id[2] != 'i' || inqp->page_id[3] != 'd')
375 h->lun = inqp->lun[7]; /* Uses only the last byte */
378 *(array_name+i) = inqp->array_user_label[(2*i)+1];
382 memcpy(array_id, inqp->array_unique_id, inqp->array_uniq_id_len);
392 struct c9_inquiry *inqp = &h->inq.c9;
395 if (!scsi_get_vpd_page(sdev, 0xC9, (unsigned char *)inqp,
398 if ((inqp->avte_cvp >> 5) & 0x1)
400 else if (inqp->avte_cvp >> 7)
406 if (inqp->avte_cvp & 0x1) {
419 if (inqp->path_prio & 0x1) {
441 struct c4_inquiry *inqp = &h->inq.c4;
443 if (!scsi_get_vpd_page(sdev, 0xC4, (unsigned char *)inqp,
446 if (inqp->slot_id[1] == 0x31)
468 struct c2_inquiry *inqp = &h->inq.c2;
470 if (!scsi_get_vpd_page(sdev, 0xC2, (unsigned char *)inqp,
476 if (inqp->max_lun_supported >= MODE6_MAX_LUN)