Searched defs:inqp (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_sata.c198 struct scsi_inquiry *inqp; local
280 inqp = (struct scsi_inquiry *)rp;
281 inqp->inq_qual = 0;
282 inqp->inq_ansi = 5; /* spc3 */
283 inqp->inq_rdf = 2; /* response format 2 */
284 inqp->inq_len = 32;
287 inqp->inq_cmdque = 1;
290 (void) memcpy(inqp->inq_vid, "ATA ", 8);
292 a = (void *)inqp->inq_pid;
301 inqp
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dses.c326 is_enc_dev(ses_softc_t *ssc, struct scsi_inquiry *inqp, int iqlen, enctyp *ep) argument
328 uchar_t dt = (inqp->inq_dtype & DTYPE_MASK);
329 uchar_t *iqd = (uchar_t *)inqp;
332 if (strncmp(inqp->inq_vid, SEN_ID, SEN_ID_LEN) == 0) {
335 } else if (inqp->inq_rdf == RDF_SCSI2) {
349 if ((iqd[6] & 0x40) && inqp->inq_rdf >= RDF_SCSI2) {
H A Dsgen.c398 sgen_inq_node_t *inqp, *inqnextp; local
407 for (inqp = sgen_binddb.sdb_inq_nodes; inqp != NULL; inqp = inqnextp) {
408 inqnextp = inqp->node_next;
409 ASSERT(inqp->node_vendor && inqp->node_product);
410 kmem_free(inqp->node_vendor,
411 strlen(inqp->node_vendor) + 1);
412 kmem_free(inqp
[all...]
/illumos-gate/usr/src/uts/intel/io/amr/
H A Damr.c1559 struct scsi_inquiry inqp; local
1560 uint8_t *sinq_p = (uint8_t *)&inqp;
1562 bzero(&inqp, sizeof (struct scsi_inquiry));
1572 inqp.inq_len = AMR_INQ_ADDITIONAL_LEN;
1573 inqp.inq_ansi = AMR_INQ_ANSI_VER;
1574 inqp.inq_rdf = AMR_INQ_RESP_DATA_FORMAT;
1576 inqp.inq_cmdque = 1;
1577 bcopy("MegaRaid", inqp.inq_vid,
1578 sizeof (inqp.inq_vid));
1580 inqp
[all...]
/illumos-gate/usr/src/uts/common/io/usb/scsa2usb/
H A Dscsa2usb.c4335 scsa2usb_fake_inquiry(scsa2usb_state_t *scsa2usbp, struct scsi_inquiry *inqp) argument
4343 bzero(inqp, sizeof (struct scsi_inquiry));
4344 for (len = 0; len < sizeof (inqp->inq_vid); len++) {
4345 *(inqp->inq_vid + len) = ' ';
4348 for (len = 0; len < sizeof (inqp->inq_pid); len++) {
4349 *(inqp->inq_pid + len) = ' ';
4352 inqp->inq_dtype = DTYPE_DIRECT;
4353 inqp->inq_rmb = 1;
4354 inqp->inq_ansi = 2;
4355 inqp
[all...]
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Data_disk.c2685 struct scsi_inquiry *inqp = &ata_drvp->ad_inquiry; local
2690 inqp->inq_rmb = 1; /* scsi removable bit */
2692 (void) strncpy(inqp->inq_vid, "Gen-ATA ", sizeof (inqp->inq_vid));
2693 inqp->inq_dtype = DTYPE_DIRECT;
2694 inqp->inq_qual = DPQ_POSSIBLE;
2696 (void) strncpy(inqp->inq_pid, ata_idp->ai_model,
2697 sizeof (inqp->inq_pid));
2698 (void) strncpy(inqp->inq_revision, ata_idp->ai_fw,
2699 sizeof (inqp
[all...]
/illumos-gate/usr/src/uts/common/io/aac/
H A Daac.c3956 struct scsi_inquiry *inqp = (struct scsi_inquiry *)b_addr; local
3964 if (inqp == NULL || bp->b_bcount < len)
3967 bzero(inqp, len);
3968 inqp->inq_len = AAC_ADDITIONAL_LEN;
3969 inqp->inq_ansi = AAC_ANSI_VER;
3970 inqp->inq_rdf = AAC_RESP_DATA_FORMAT;
3971 (void) aac_vendor_id(softs, (uchar_t *)inqp->inq_vid);
3972 (void) aac_product_id(softs, (uchar_t *)inqp->inq_pid);
3973 bcopy("V1.0", inqp->inq_revision, 4);
3974 inqp
[all...]

Completed in 74 milliseconds