Home
last modified time | relevance | path

Searched refs:inqp (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/scsi/device_handler/
H A Dscsi_dh_rdac.c366 struct c8_inquiry *inqp = &h->inq.c8; in get_lun_info() local
368 if (!scsi_get_vpd_page(sdev, 0xC8, (unsigned char *)inqp, in get_lun_info()
370 if (inqp->page_code != 0xc8) in get_lun_info()
372 if (inqp->page_id[0] != 'e' || inqp->page_id[1] != 'd' || in get_lun_info()
373 inqp->page_id[2] != 'i' || inqp->page_id[3] != 'd') in get_lun_info()
375 h->lun = inqp->lun[7]; /* Uses only the last byte */ in get_lun_info()
378 *(array_name+i) = inqp->array_user_label[(2*i)+1]; in get_lun_info()
382 memcpy(array_id, inqp->array_unique_id, inqp->array_uniq_id_len); in get_lun_info()
392 struct c9_inquiry *inqp = &h->inq.c9; in check_ownership() local
395 if (!scsi_get_vpd_page(sdev, 0xC9, (unsigned char *)inqp, in check_ownership()
[all …]