Lines Matching refs:cgd
474 int camdd_get_cgd(struct cam_device *device, struct ccb_getdev *cgd);
1243 camdd_get_cgd(struct cam_device *device, struct ccb_getdev *cgd)
1255 CCB_CLEAR_ALL_EXCEPT_HDR(&ccb->cgd);
1274 bcopy(&ccb->cgd, cgd, sizeof(struct ccb_getdev));
1462 struct ccb_getdev cgd;
1466 if ((retval = camdd_get_cgd(cam_dev, &cgd)) != 0) {
1478 switch (cgd.protocol) {
1514 errx(1, "Unsupported PROTO type %d", cgd.protocol);
1547 pass_dev->protocol = cgd.protocol;