/freebsd-current/sys/cam/ata/ |
H A D | ata_da.c | 861 struct ccb_getdev *cgd); 863 struct ccb_getdev *cgd); 1324 struct ccb_getdev cgd; local 1332 struct ccb_getdev *cgd; local 1335 cgd = (struct ccb_getdev *)arg; 1336 if (cgd == NULL) 1339 if (cgd->protocol != PROTO_ATA) 1351 AC_FOUND_DEVICE, cgd); 1362 memset(&cgd, 0, sizeof(cgd)); 1709 adasetflags(struct ada_softc *softc, struct ccb_getdev *cgd) argument 1812 struct ccb_getdev *cgd; local 3438 adasetgeom(struct ada_softc *softc, struct ccb_getdev *cgd) argument [all...] |
H A D | ata_pmp.c | 272 struct ccb_getdev *cgd; local 275 cgd = (struct ccb_getdev *)arg; 276 if (cgd == NULL) 279 if (cgd->protocol != PROTO_SATAPM) 291 AC_FOUND_DEVICE, cgd); 368 struct ccb_getdev *cgd; local 370 cgd = (struct ccb_getdev *)arg; 371 if (cgd == NULL) { 386 softc->pm_pid = ((uint32_t *)&cgd->ident_data)[0]; 387 softc->pm_prv = ((uint32_t *)&cgd [all...] |
/freebsd-current/sys/cam/scsi/ |
H A D | scsi_pt.c | 247 struct ccb_getdev *cgd; local 252 cgd = (struct ccb_getdev *)arg; 253 if (cgd == NULL) { 296 SID_TYPE(&cgd->inq_data) | 364 struct ccb_getdev *cgd; local 367 cgd = (struct ccb_getdev *)arg; 368 if (cgd == NULL) 371 if (cgd->protocol != PROTO_SCSI) 373 if (SID_QUAL(&cgd->inq_data) != SID_QUAL_LU_CONNECTED) 375 if (SID_TYPE(&cgd [all...] |
H A D | scsi_enc.c | 220 struct ccb_getdev *cgd; local 224 cgd = (struct ccb_getdev *)arg; 229 if (enc_type(cgd) == ENC_NONE) { 250 cgd->protocol != PROTO_ATA)) 261 path, enc_async, AC_FOUND_DEVICE, cgd); 677 enc_type(struct ccb_getdev *cgd) argument 682 if (cgd->protocol == PROTO_SEMB) { 683 iqd = (unsigned char *)&cgd->ident_data; 690 } else if (cgd->protocol != PROTO_SCSI) 693 iqd = (unsigned char *)&cgd 888 struct ccb_getdev *cgd; local [all...] |
H A D | scsi_ch.c | 65 * $NetBSD: ch.c,v 1.34 1998/08/31 22:28:06 cgd Exp $ 325 struct ccb_getdev *cgd; local 328 cgd = (struct ccb_getdev *)arg; 329 if (cgd == NULL) 332 if (cgd->protocol != PROTO_SCSI) 334 if (SID_QUAL(&cgd->inq_data) != SID_QUAL_LU_CONNECTED) 336 if (SID_TYPE(&cgd->inq_data)!= T_CHANGER) 347 chasync, AC_FOUND_DEVICE, cgd); 366 struct ccb_getdev *cgd; local 371 cgd 1699 struct ccb_getdev *cgd; local [all...] |
H A D | scsi_sg.c | 258 struct ccb_getdev *cgd; local 261 cgd = (struct ccb_getdev *)arg; 262 if (cgd == NULL) 265 if (cgd->protocol != PROTO_SCSI) 275 sgasync, AC_FOUND_DEVICE, cgd); 296 struct ccb_getdev *cgd; local 301 cgd = (struct ccb_getdev *)arg; 302 if (cgd == NULL) { 314 softc->pd_type = SID_TYPE(&cgd->inq_data); 334 no_tags = (cgd [all...] |
H A D | scsi_sa.c | 2302 struct ccb_getdev *cgd; local 2305 cgd = (struct ccb_getdev *)arg; 2306 if (cgd == NULL) 2309 if (cgd->protocol != PROTO_SCSI) 2311 if (SID_QUAL(&cgd->inq_data) != SID_QUAL_LU_CONNECTED) 2313 if (SID_TYPE(&cgd->inq_data) != T_SEQUENTIAL) 2324 saasync, AC_FOUND_DEVICE, cgd); 2465 struct ccb_getdev *cgd; local 2473 cgd = (struct ccb_getdev *)arg; 2474 if (cgd 4714 struct ccb_getdev cgd; local [all...] |
H A D | scsi_pass.c | 495 struct ccb_getdev *cgd; local 498 cgd = (struct ccb_getdev *)arg; 499 if (cgd == NULL) 510 passasync, AC_FOUND_DEVICE, cgd); 558 struct ccb_getdev *cgd; local 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 [all...] |
H A D | scsi_cd.c | 421 struct ccb_getdev *cgd; local 424 cgd = (struct ccb_getdev *)arg; 425 if (cgd == NULL) 428 if (cgd->protocol != PROTO_SCSI) 430 if (SID_QUAL(&cgd->inq_data) != SID_QUAL_LU_CONNECTED) 432 if (SID_TYPE(&cgd->inq_data) != T_CDROM 433 && SID_TYPE(&cgd->inq_data) != T_WORM) 445 AC_FOUND_DEVICE, cgd); 592 struct ccb_getdev *cgd; local 596 cgd 1243 struct ccb_getdev cgd; local [all...] |
H A D | scsi_da.c | 2127 struct ccb_getdev *cgd; local 2130 cgd = (struct ccb_getdev *)arg; 2131 if (cgd == NULL) 2134 if (cgd->protocol != PROTO_SCSI) 2136 if (SID_QUAL(&cgd->inq_data) != SID_QUAL_LU_CONNECTED) 2138 if (SID_TYPE(&cgd->inq_data) != T_DIRECT 2139 && SID_TYPE(&cgd->inq_data) != T_RBC 2140 && SID_TYPE(&cgd->inq_data) != T_OPTICAL 2141 && SID_TYPE(&cgd->inq_data) != T_ZBC_HM) 2153 AC_FOUND_DEVICE, cgd); 2787 struct ccb_getdev *cgd; local 4908 struct ccb_getdev cgd; local [all...] |
/freebsd-current/sys/cam/ |
H A D | cam_periph.c | 1694 struct ccb_getdev cgd; local 1699 memset(&cgd, 0, sizeof(cgd)); 1700 xpt_setup_ccb(&cgd.ccb_h, ccb->ccb_h.path, CAM_PRIORITY_NORMAL); 1701 cgd.ccb_h.func_code = XPT_GDEV_TYPE; 1702 xpt_action((union ccb *)&cgd); 1704 err_action = scsi_error_action(&ccb->csio, &cgd.inq_data, 1713 SID_TYPE(&cgd.inq_data) == T_SEQUENTIAL) { 1798 if (SID_IS_REMOVABLE(&cgd.inq_data)) 2132 struct ccb_getdev *cgd; local [all...] |
H A D | cam_xpt.c | 2463 struct ccb_getdev cgd; local 2475 memset(&cgd, 0, sizeof(cgd)); 2481 xpt_setup_ccb(&cgd.ccb_h, &path, CAM_PRIORITY_NORMAL); 2482 cgd.ccb_h.func_code = XPT_GDEV_TYPE; 2483 xpt_action((union ccb *)&cgd); 2486 &path, &cgd); 2704 struct ccb_getdev *cgd; local 2706 cgd = &start_ccb->cgd; [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZHazardRecognizer.cpp | 282 LLVM_DEBUG(raw_string_ostream cgd(CurGroupDbg); 283 if (CurGroupDbg.length()) cgd << ", "; dumpSU(SU, cgd););
|
/freebsd-current/sbin/fsck_ffs/ |
H A D | pass1.c | 61 ufs2_daddr_t i, cgd; local 71 cgd = cgdmin(&sblock, c); 76 for (; i < cgd; i++) 80 cgd = i + howmany(sblock.fs_cssize, sblock.fs_fsize); 81 for (; i < cgd; i++)
|
/freebsd-current/lib/libcam/ |
H A D | camlib.c | 619 device->pd_type = SID_TYPE(&ccb.cgd.inq_data); 620 bcopy(&ccb.cgd.inq_data, &device->inq_data, 622 device->serial_num_len = ccb.cgd.serial_num_len; 623 bcopy(&ccb.cgd.serial_num, &device->serial_num, device->serial_num_len);
|
/freebsd-current/contrib/bmake/mk/sys/ |
H A D | AIX.mk | 1 # $NetBSD: sys.mk,v 1.19.2.1 1994/07/26 19:58:31 cgd Exp $
|
H A D | OSF1.mk | 2 # $NetBSD: sys.mk,v 1.19.2.1 1994/07/26 19:58:31 cgd Exp $
|
H A D | Linux.mk | 2 # $NetBSD: sys.mk,v 1.19.2.1 1994/07/26 19:58:31 cgd Exp $
|
H A D | UnixWare.mk | 3 # $NetBSD: sys.mk,v 1.19.2.1 1994/07/26 19:58:31 cgd Exp $
|
H A D | HP-UX.mk | 2 # $NetBSD: sys.mk,v 1.19.2.1 1994/07/26 19:58:31 cgd Exp $
|
/freebsd-current/sys/cam/mmc/ |
H A D | mmc_da.c | 649 struct ccb_getdev cgd; local 658 struct ccb_getdev *cgd; local 661 cgd = (struct ccb_getdev *)arg; 662 if (cgd == NULL) 665 if (cgd->protocol != PROTO_MMCSD) 682 AC_FOUND_DEVICE, cgd); 693 memset(&cgd, 0, sizeof(cgd)); 694 xpt_setup_ccb(&cgd.ccb_h, periph->path, CAM_PRIORITY_NORMAL); 695 cgd 752 struct ccb_getdev *cgd; local [all...] |
/freebsd-current/sys/dev/sdio/ |
H A D | sdiob.c | 1095 struct ccb_getdev *cgd; local 1105 cgd = (struct ccb_getdev *)arg; 1106 if (cgd->protocol != PROTO_MMCSD) 1123 sdiobasync, AC_FOUND_DEVICE, cgd);
|
/freebsd-current/usr.sbin/camdd/ |
H A D | camdd.c | 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) argument 1255 CCB_CLEAR_ALL_EXCEPT_HDR(&ccb->cgd); 1274 bcopy(&ccb->cgd, cgd, sizeof(struct ccb_getdev)); 1462 struct ccb_getdev cgd; local 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 [all...] |
/freebsd-current/sys/dev/smartpqi/ |
H A D | smartpqi_cam.c | 1205 struct ccb_getdev *cgd; local 1206 cgd = (struct ccb_getdev *)arg; 1207 if (cgd == NULL) { 1210 uint32_t t_id = cgd->ccb_h.target_id; 1215 /* pqi_scsi_dev_t *dvp = softs->device_list[t_id][cgd->ccb_h.target_lun]; */ 1216 int lun = cgd->ccb_h.target_lun;
|
/freebsd-current/sys/cam/nvme/ |
H A D | nvme_da.c | 656 struct ccb_getdev *cgd; local 659 cgd = (struct ccb_getdev *)arg; 660 if (cgd == NULL) 663 if (cgd->protocol != PROTO_NVME) 675 AC_FOUND_DEVICE, cgd);
|