Searched refs:cgd (Results 1 - 25 of 33) sorted by relevance

12

/freebsd-13-stable/sys/cam/ata/
H A Data_da.c841 struct ccb_getdev *cgd);
843 struct ccb_getdev *cgd);
1292 struct ccb_getdev cgd; local
1300 struct ccb_getdev *cgd; local
1303 cgd = (struct ccb_getdev *)arg;
1304 if (cgd == NULL)
1307 if (cgd->protocol != PROTO_ATA)
1319 AC_FOUND_DEVICE, cgd);
1330 xpt_setup_ccb(&cgd.ccb_h, periph->path, CAM_PRIORITY_NORMAL);
1331 cgd
1685 adasetflags(struct ada_softc *softc, struct ccb_getdev *cgd) argument
1788 struct ccb_getdev *cgd; local
3401 adasetgeom(struct ada_softc *softc, struct ccb_getdev *cgd) argument
[all...]
H A Data_pmp.c275 struct ccb_getdev *cgd; local
278 cgd = (struct ccb_getdev *)arg;
279 if (cgd == NULL)
282 if (cgd->protocol != PROTO_SATAPM)
294 AC_FOUND_DEVICE, cgd);
371 struct ccb_getdev *cgd; local
373 cgd = (struct ccb_getdev *)arg;
374 if (cgd == NULL) {
389 softc->pm_pid = ((uint32_t *)&cgd->ident_data)[0];
390 softc->pm_prv = ((uint32_t *)&cgd
[all...]
/freebsd-13-stable/sys/cam/scsi/
H A Dscsi_pt.c251 struct ccb_getdev *cgd; local
256 cgd = (struct ccb_getdev *)arg;
257 if (cgd == NULL) {
300 SID_TYPE(&cgd->inq_data) |
368 struct ccb_getdev *cgd; local
371 cgd = (struct ccb_getdev *)arg;
372 if (cgd == NULL)
375 if (cgd->protocol != PROTO_SCSI)
377 if (SID_QUAL(&cgd->inq_data) != SID_QUAL_LU_CONNECTED)
379 if (SID_TYPE(&cgd
[all...]
H A Dscsi_enc.c223 struct ccb_getdev *cgd; local
227 cgd = (struct ccb_getdev *)arg;
232 if (enc_type(cgd) == ENC_NONE) {
253 cgd->protocol != PROTO_ATA))
264 path, enc_async, AC_FOUND_DEVICE, cgd);
685 enc_type(struct ccb_getdev *cgd) argument
690 if (cgd->protocol == PROTO_SEMB) {
691 iqd = (unsigned char *)&cgd->ident_data;
698 } else if (cgd->protocol != PROTO_SCSI)
701 iqd = (unsigned char *)&cgd
896 struct ccb_getdev *cgd; local
[all...]
H A Dscsi_ch.c65 * $NetBSD: ch.c,v 1.34 1998/08/31 22:28:06 cgd Exp $
329 struct ccb_getdev *cgd; local
332 cgd = (struct ccb_getdev *)arg;
333 if (cgd == NULL)
336 if (cgd->protocol != PROTO_SCSI)
338 if (SID_QUAL(&cgd->inq_data) != SID_QUAL_LU_CONNECTED)
340 if (SID_TYPE(&cgd->inq_data)!= T_CHANGER)
351 chasync, AC_FOUND_DEVICE, cgd);
370 struct ccb_getdev *cgd; local
375 cgd
1708 struct ccb_getdev *cgd; local
[all...]
H A Dscsi_sg.c264 struct ccb_getdev *cgd; local
267 cgd = (struct ccb_getdev *)arg;
268 if (cgd == NULL)
271 if (cgd->protocol != PROTO_SCSI)
281 sgasync, AC_FOUND_DEVICE, cgd);
302 struct ccb_getdev *cgd; local
307 cgd = (struct ccb_getdev *)arg;
308 if (cgd == NULL) {
320 softc->pd_type = SID_TYPE(&cgd->inq_data);
340 no_tags = (cgd
[all...]
H A Dscsi_sa.c2235 struct ccb_getdev *cgd; local
2238 cgd = (struct ccb_getdev *)arg;
2239 if (cgd == NULL)
2242 if (cgd->protocol != PROTO_SCSI)
2244 if (SID_QUAL(&cgd->inq_data) != SID_QUAL_LU_CONNECTED)
2246 if (SID_TYPE(&cgd->inq_data) != T_SEQUENTIAL)
2257 saasync, AC_FOUND_DEVICE, cgd);
2337 struct ccb_getdev *cgd; local
2344 cgd = (struct ccb_getdev *)arg;
2345 if (cgd
4399 struct ccb_getdev cgd; local
[all...]
H A Dscsi_pass.c484 struct ccb_getdev *cgd; local
487 cgd = (struct ccb_getdev *)arg;
488 if (cgd == NULL)
499 passasync, AC_FOUND_DEVICE, cgd);
547 struct ccb_getdev *cgd; local
552 cgd = (struct ccb_getdev *)arg;
553 if (cgd == NULL) {
569 if (cgd->protocol == PROTO_SCSI || cgd->protocol == PROTO_ATAPI)
570 softc->pd_type = SID_TYPE(&cgd
[all...]
H A Dscsi_cd.c424 struct ccb_getdev *cgd; local
427 cgd = (struct ccb_getdev *)arg;
428 if (cgd == NULL)
431 if (cgd->protocol != PROTO_SCSI)
433 if (SID_QUAL(&cgd->inq_data) != SID_QUAL_LU_CONNECTED)
435 if (SID_TYPE(&cgd->inq_data) != T_CDROM
436 && SID_TYPE(&cgd->inq_data) != T_WORM)
448 AC_FOUND_DEVICE, cgd);
591 struct ccb_getdev *cgd; local
595 cgd
1250 struct ccb_getdev cgd; local
[all...]
H A Dscsi_da.c2104 struct ccb_getdev *cgd; local
2107 cgd = (struct ccb_getdev *)arg;
2108 if (cgd == NULL)
2111 if (cgd->protocol != PROTO_SCSI)
2113 if (SID_QUAL(&cgd->inq_data) != SID_QUAL_LU_CONNECTED)
2115 if (SID_TYPE(&cgd->inq_data) != T_DIRECT
2116 && SID_TYPE(&cgd->inq_data) != T_RBC
2117 && SID_TYPE(&cgd->inq_data) != T_OPTICAL
2118 && SID_TYPE(&cgd->inq_data) != T_ZBC_HM)
2130 AC_FOUND_DEVICE, cgd);
2765 struct ccb_getdev *cgd; local
4871 struct ccb_getdev cgd; local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZHazardRecognizer.cpp282 LLVM_DEBUG(raw_string_ostream cgd(CurGroupDbg);
283 if (CurGroupDbg.length()) cgd << ", "; dumpSU(SU, cgd););
/freebsd-13-stable/sys/cam/
H A Dcam_periph.c1643 struct ccb_getdev cgd; local
1648 xpt_setup_ccb(&cgd.ccb_h, ccb->ccb_h.path, CAM_PRIORITY_NORMAL);
1649 cgd.ccb_h.func_code = XPT_GDEV_TYPE;
1650 xpt_action((union ccb *)&cgd);
1652 err_action = scsi_error_action(&ccb->csio, &cgd.inq_data,
1661 SID_TYPE(&cgd.inq_data) == T_SEQUENTIAL) {
1740 if (SID_IS_REMOVABLE(&cgd.inq_data))
2070 struct ccb_getdev *cgd; local
2086 if ((cgd = (struct ccb_getdev *)xpt_alloc_ccb_nowait()) != NULL) {
2087 xpt_setup_ccb(&cgd
[all...]
/freebsd-13-stable/sbin/fsck_ffs/
H A Dpass1.c69 ufs2_daddr_t i, cgd; local
79 cgd = cgdmin(&sblock, c);
84 for (; i < cgd; i++)
88 cgd = i + howmany(sblock.fs_cssize, sblock.fs_fsize);
89 for (; i < cgd; i++)
/freebsd-13-stable/lib/libcam/
H A Dcamlib.c619 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-13-stable/contrib/bmake/mk/sys/
H A DAIX.mk1 # $NetBSD: sys.mk,v 1.19.2.1 1994/07/26 19:58:31 cgd Exp $
H A DLinux.mk2 # $NetBSD: sys.mk,v 1.19.2.1 1994/07/26 19:58:31 cgd Exp $
H A DOSF1.mk2 # $NetBSD: sys.mk,v 1.19.2.1 1994/07/26 19:58:31 cgd Exp $
H A DHP-UX.mk2 # $NetBSD: sys.mk,v 1.19.2.1 1994/07/26 19:58:31 cgd Exp $
H A DUnixWare.mk3 # $NetBSD: sys.mk,v 1.19.2.1 1994/07/26 19:58:31 cgd Exp $
/freebsd-13-stable/sys/cam/mmc/
H A Dmmc_da.c669 struct ccb_getdev cgd; local
679 struct ccb_getdev *cgd; local
682 cgd = (struct ccb_getdev *)arg;
683 if (cgd == NULL)
686 if (cgd->protocol != PROTO_MMCSD)
703 AC_FOUND_DEVICE, cgd);
715 xpt_setup_ccb(&cgd.ccb_h, periph->path, CAM_PRIORITY_NORMAL);
716 cgd.ccb_h.func_code = XPT_GDEV_TYPE;
717 xpt_action((union ccb *)&cgd);
773 struct ccb_getdev *cgd; local
[all...]
/freebsd-13-stable/sys/dev/ice/
H A Dvirtchnl_inline_ipsec.h482 u8 cgd; member in struct:virtchnl_ipsec_sp_cfg
/freebsd-13-stable/sys/dev/sdio/
H A Dsdiob.c1104 struct ccb_getdev *cgd; local
1114 cgd = (struct ccb_getdev *)arg;
1115 if (cgd->protocol != PROTO_MMCSD)
1132 sdiobasync, AC_FOUND_DEVICE, cgd);
/freebsd-13-stable/usr.sbin/camdd/
H A Dcamdd.c484 int camdd_get_cgd(struct cam_device *device, struct ccb_getdev *cgd);
1256 camdd_get_cgd(struct cam_device *device, struct ccb_getdev *cgd) argument
1268 CCB_CLEAR_ALL_EXCEPT_HDR(&ccb->cgd);
1287 bcopy(&ccb->cgd, cgd, sizeof(struct ccb_getdev));
1476 struct ccb_getdev cgd; local
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
[all...]
/freebsd-13-stable/sys/dev/smartpqi/
H A Dsmartpqi_cam.c1172 struct ccb_getdev *cgd; local
1173 cgd = (struct ccb_getdev *)arg;
1174 if (cgd == NULL) {
1177 uint32_t t_id = cgd->ccb_h.target_id;
1181 pqi_scsi_dev_t *dvp = softs->device_list[t_id][cgd->ccb_h.target_lun];
/freebsd-13-stable/sys/cam/nvme/
H A Dnvme_da.c655 struct ccb_getdev *cgd; local
658 cgd = (struct ccb_getdev *)arg;
659 if (cgd == NULL)
662 if (cgd->protocol != PROTO_NVME)
674 AC_FOUND_DEVICE, cgd);

Completed in 304 milliseconds

12