Lines Matching refs:cgd
484 int camdd_get_cgd(struct cam_device *device, struct ccb_getdev *cgd);
1256 camdd_get_cgd(struct cam_device *device, struct ccb_getdev *cgd)
1268 CCB_CLEAR_ALL_EXCEPT_HDR(&ccb->cgd);
1287 bcopy(&ccb->cgd, cgd, sizeof(struct ccb_getdev));
1476 struct ccb_getdev cgd;
1480 if ((retval = camdd_get_cgd(cam_dev, &cgd)) != 0) {
1492 switch (cgd.protocol) {
1528 errx(1, "Unsupported PROTO type %d", cgd.protocol);
1561 pass_dev->protocol = cgd.protocol;