Lines Matching refs:cgd
495 struct ccb_getdev *cgd;
498 cgd = (struct ccb_getdev *)arg;
499 if (cgd == NULL)
510 passasync, AC_FOUND_DEVICE, cgd);
558 struct ccb_getdev *cgd;
563 cgd = (struct ccb_getdev *)arg;
564 if (cgd == NULL) {
580 if (cgd->protocol == PROTO_SCSI || cgd->protocol == PROTO_ATAPI)
581 softc->pd_type = SID_TYPE(&cgd->inq_data);
582 else if (cgd->protocol == PROTO_SATAPM)
618 no_tags = (cgd->inq_data.flags & SID_CmdQue) == 0;