Lines Matching defs:inqbuf
1655 void *inqbuf)
1657 struct scsi_inquiry_data *inq = inqbuf;
1674 error = ami_drv_pt(sc, ch, tg, cdb, 6, sizeof *inq, inqbuf);
1834 struct scsi_inquiry_data *inqbuf;
1844 inqbuf = dma_alloc(sizeof(*inqbuf), PR_WAITOK);
1854 if (ami_drv_inq(sc, ch, tg, 0, inqbuf)) {
1911 memset(inqbuf, 0xff, sizeof(*inqbuf));
1915 if (!ami_drv_inq(sc, ch, tg, 0, inqbuf)) {
1916 if ((inqbuf->device & SID_TYPE) != T_DIRECT)
1930 dma_free(inqbuf, sizeof(*inqbuf));
1978 struct scsi_inquiry_data *inqbuf;
1984 inqbuf = dma_alloc(sizeof(*inqbuf), PR_WAITOK);
2000 if (ami_drv_inq(sc, ch, tg, 0, inqbuf))
2003 vendp = inqbuf->vendor;
2036 ch, tg, p->apd[i].adp_type, inqbuf->device);
2044 dma_free(inqbuf, sizeof(*inqbuf));
2169 struct scsi_inquiry_data *inqbuf;
2179 inqbuf = dma_alloc(sizeof(*inqbuf), PR_WAITOK);
2180 vpdbuf = dma_alloc(sizeof(*inqbuf), PR_WAITOK);
2249 if (!ami_drv_inq(sc, ch, tg, 0, inqbuf)) {
2250 vendp = inqbuf->vendor;
2275 dma_free(inqbuf, sizeof(*inqbuf));
2327 struct scsi_inquiry_data *inqbuf;
2330 inqbuf = dma_alloc(sizeof(*inqbuf), PR_WAITOK);
2343 inqbuf)) {
2363 dma_free(inqbuf, sizeof(*inqbuf));