/freebsd-11-stable/contrib/tcpdump/ |
H A D | print-ipcomp.c | 43 uint16_t cpi; local 47 cpi = EXTRACT_16BITS(&ipcomp->comp_cpi); 49 ND_PRINT((ndo, "IPComp(cpi=0x%04x)", cpi));
|
/freebsd-11-stable/sys/dev/iscsi_initiator/ |
H A D | isc_cam.c | 63 struct ccb_pathinq *cpi = &ccb->cpi; local 69 cpi->version_num = 1; /* XXX??? */ 70 cpi->hba_inquiry = PI_SDTR_ABLE | PI_TAG_ABLE | PI_WIDE_32; 71 cpi->target_sprt = 0; 72 cpi->hba_misc = 0; 73 cpi->hba_eng_cnt = 0; 74 cpi->max_target = 0; //ISCSI_MAX_TARGETS - 1; 75 cpi->initiator_id = ISCSI_MAX_TARGETS; 76 cpi 192 struct ccb_pathinq *cpi = &ccb->cpi; local [all...] |
/freebsd-11-stable/sys/dev/nvme/ |
H A D | nvme_sim.c | 185 struct ccb_pathinq *cpi = &ccb->cpi; local 194 cpi->version_num = 1; 195 cpi->hba_inquiry = 0; 196 cpi->target_sprt = 0; 197 cpi->hba_misc = PIM_UNMAPPED /* | PIM_NOSCAN */; 198 cpi->hba_eng_cnt = 0; 199 cpi->max_target = 0; 200 cpi->max_lun = ctrlr->cdata.nn; 201 cpi [all...] |
/freebsd-11-stable/sys/dev/ppbus/ |
H A D | vpo.c | 378 struct ccb_pathinq *cpi = &ccb->cpi; local 383 cpi->version_num = 1; /* XXX??? */ 384 cpi->hba_inquiry = 0; 385 cpi->target_sprt = 0; 386 cpi->hba_misc = 0; 387 cpi->hba_eng_cnt = 0; 388 cpi->max_target = 7; 389 cpi->max_lun = 0; 390 cpi [all...] |
/freebsd-11-stable/sys/dev/amr/ |
H A D | amr_cam.c | 315 struct ccb_pathinq *cpi = & ccb->cpi; local 318 cpi->version_num = 1; /* XXX??? */ 319 cpi->hba_inquiry = PI_SDTR_ABLE|PI_TAG_ABLE|PI_WIDE_16; 320 cpi->target_sprt = 0; 321 cpi->hba_misc = PIM_NOBUSRESET|PIM_SEQSCAN; 322 cpi->hba_eng_cnt = 0; 323 cpi->max_target = AMR_MAX_TARGETS; 324 cpi->max_lun = 0 /* AMR_MAX_LUNS*/; 325 cpi 343 struct ccb_pathinq *cpi = & ccb->cpi; local [all...] |
/freebsd-11-stable/sys/cam/ |
H A D | cam_compat.c | 191 struct ccb_pathinq *cpi; local 195 cpi = &ccb->cpi; 197 cpi17->version_num = cpi->version_num; 198 cpi17->hba_inquiry = cpi->hba_inquiry; 199 cpi17->target_sprt = (u_int8_t)cpi->target_sprt; 200 cpi17->hba_misc = (u_int8_t)cpi->hba_misc; 201 cpi17->hba_eng_cnt = cpi->hba_eng_cnt; 202 bcopy(&cpi->vuhba_flags[0], &cpi17->vuhba_flags[0], VUHBALEN); 203 cpi17->max_target = cpi [all...] |
H A D | cam_xpt.h | 149 xpt_path_inq(struct ccb_pathinq *cpi, struct cam_path *path) argument 152 bzero(cpi, sizeof(*cpi)); 153 xpt_setup_ccb(&cpi->ccb_h, path, CAM_PRIORITY_NORMAL); 154 cpi->ccb_h.func_code = XPT_PATH_INQ; 155 xpt_action((union ccb *)cpi);
|
/freebsd-11-stable/sys/powerpc/ps3/ |
H A D | ps3cdrom.c | 408 struct ccb_pathinq *cpi = &ccb->cpi; local 410 cpi->version_num = 1; 411 cpi->hba_inquiry = 0; 412 cpi->target_sprt = 0; 413 cpi->hba_inquiry = PI_SDTR_ABLE; 414 cpi->hba_misc = PIM_NOBUSRESET | PIM_SEQSCAN | PIM_NO_6_BYTE; 415 cpi->hba_eng_cnt = 0; 416 bzero(cpi->vuhba_flags, sizeof(cpi [all...] |
/freebsd-11-stable/tools/tools/vhba/ |
H A D | vhba.c | 126 struct ccb_pathinq *cpi = &ccb->cpi; local 128 cpi->version_num = 1; 129 cpi->max_target = VHBA_MAXTGT - 1; 130 cpi->max_lun = 16383; 131 cpi->hba_misc = PIM_NOBUSRESET; 132 cpi->initiator_id = cpi->max_target + 1; 133 cpi->transport = XPORT_PPB; 134 cpi [all...] |
/freebsd-11-stable/contrib/ofed/libibumad/ |
H A D | umad_types.h | 205 umad_class_cap_mask2(struct umad_class_port_info *cpi) argument 207 return (be32toh(cpi->cap_mask2_resp_time) >> 5); 210 umad_class_resp_time(struct umad_class_port_info *cpi) argument 212 return (uint8_t)(be32toh(cpi->cap_mask2_resp_time)
|
/freebsd-11-stable/sys/dev/isci/ |
H A D | isci_controller.c | 676 struct ccb_pathinq *cpi = &ccb->cpi; local 679 cpi->version_num = 1; 680 cpi->hba_inquiry = PI_TAG_ABLE; 681 cpi->target_sprt = 0; 682 cpi->hba_misc = PIM_NOBUSRESET | PIM_SEQSCAN | 684 cpi->hba_eng_cnt = 0; 685 cpi->max_target = SCI_MAX_REMOTE_DEVICES - 1; 686 cpi->max_lun = ISCI_MAX_LUN; 688 cpi [all...] |
/freebsd-11-stable/sys/dev/mfi/ |
H A D | mfi_cam.c | 215 struct ccb_pathinq *cpi = &ccb->cpi; local 217 cpi->version_num = 1; 218 cpi->hba_inquiry = PI_TAG_ABLE; 219 cpi->target_sprt = 0; 220 cpi->hba_misc = PIM_NOBUSRESET | PIM_SEQSCAN | PIM_UNMAPPED; 221 cpi->hba_eng_cnt = 0; 222 cpi->max_target = MFI_SCSI_MAX_TARGETS; 223 cpi->max_lun = MFI_SCSI_MAX_LUNS; 224 cpi [all...] |
/freebsd-11-stable/sys/dev/aac/ |
H A D | aac_cam.c | 303 struct ccb_pathinq *cpi = &ccb->cpi; local 305 cpi->version_num = 1; 306 cpi->hba_inquiry = PI_WIDE_16; 307 cpi->target_sprt = 0; 313 cpi->hba_misc = PIM_NOBUSRESET | PIM_SEQSCAN; 314 cpi->hba_eng_cnt = 0; 315 cpi->max_target = camsc->inf->TargetsPerBus; 316 cpi->max_lun = 8; /* Per the controller spec */ 317 cpi [all...] |
/freebsd-11-stable/sys/cam/ctl/ |
H A D | ctl_frontend_cam_sim.c | 750 struct ccb_pathinq *cpi; local 752 cpi = &ccb->cpi; 754 cpi->version_num = 0; 755 cpi->hba_inquiry = PI_TAG_ABLE; 756 cpi->target_sprt = 0; 757 cpi->hba_misc = PIM_EXTLUNS; 758 cpi->hba_eng_cnt = 0; 759 cpi->max_target = 0; 760 cpi [all...] |
/freebsd-11-stable/sys/dev/ahci/ |
H A D | ahciem.c | 621 struct ccb_pathinq *cpi = &ccb->cpi; local 624 cpi->version_num = 1; /* XXX??? */ 625 cpi->hba_inquiry = PI_SDTR_ABLE; 626 cpi->target_sprt = 0; 627 cpi->hba_misc = PIM_SEQSCAN; 628 cpi->hba_eng_cnt = 0; 629 cpi->max_target = 0; 630 cpi->max_lun = 0; 631 cpi [all...] |
/freebsd-11-stable/sys/ofed/include/rdma/ |
H A D | ib_mad.h | 270 * @cpi: A struct ib_class_port_info mad. 272 static inline u8 ib_get_cpi_resp_time(struct ib_class_port_info *cpi) argument 274 return (u8)(be32_to_cpu(cpi->cap_mask2_resp_time) & 281 * @cpi: A struct ib_class_port_info. 284 static inline void ib_set_cpi_resp_time(struct ib_class_port_info *cpi, argument 287 cpi->cap_mask2_resp_time = 288 (cpi->cap_mask2_resp_time & 296 * @cpi: A struct ib_class_port_info mad. 298 static inline u32 ib_get_cpi_capmask2(struct ib_class_port_info *cpi) argument 300 return (be32_to_cpu(cpi 310 ib_set_cpi_capmask2(struct ib_class_port_info *cpi, u32 capmask2) argument [all...] |
/freebsd-11-stable/sys/dev/aic7xxx/ |
H A D | aic7xxx_osm.c | 772 struct ccb_pathinq *cpi = &ccb->cpi; local 774 cpi->version_num = 1; /* XXX??? */ 775 cpi->hba_inquiry = PI_SDTR_ABLE|PI_TAG_ABLE; 777 cpi->hba_inquiry |= PI_WIDE_16; 779 cpi->target_sprt = PIT_PROCESSOR 783 cpi->target_sprt = 0; 785 cpi->hba_misc = 0; 786 cpi->hba_eng_cnt = 0; 787 cpi [all...] |
H A D | aic79xx_osm.c | 679 struct ccb_pathinq *cpi = &ccb->cpi; local 681 cpi->version_num = 1; /* XXX??? */ 682 cpi->hba_inquiry = PI_SDTR_ABLE|PI_TAG_ABLE; 684 cpi->hba_inquiry |= PI_WIDE_16; 686 cpi->target_sprt = PIT_PROCESSOR 690 cpi->target_sprt = 0; 692 cpi->hba_misc = 0; 693 cpi->hba_eng_cnt = 0; 694 cpi [all...] |
/freebsd-11-stable/sys/dev/ata/ |
H A D | ata-all.c | 1147 struct ccb_pathinq *cpi = &ccb->cpi; local 1150 cpi->version_num = 1; /* XXX??? */ 1151 cpi->hba_inquiry = PI_SDTR_ABLE; 1152 cpi->target_sprt = 0; 1153 cpi->hba_misc = PIM_SEQSCAN | PIM_UNMAPPED; 1154 cpi->hba_eng_cnt = 0; 1156 cpi->max_target = 0; 1158 cpi->max_target = 1; 1159 cpi [all...] |
/freebsd-11-stable/sys/dev/smartpqi/ |
H A D | smartpqi_cam.c | 37 static void update_sim_properties(struct cam_sim *sim, struct ccb_pathinq *cpi) argument 44 cpi->version_num = 1; 45 cpi->hba_inquiry = PI_SDTR_ABLE|PI_TAG_ABLE|PI_WIDE_16; 46 cpi->target_sprt = 0; 47 cpi->hba_misc = PIM_NOBUSRESET | PIM_UNMAPPED; 48 cpi->hba_eng_cnt = 0; 49 cpi->max_lun = PQI_MAX_MULTILUN; 50 cpi->max_target = 1088; 51 cpi->maxio = (softs->pqi_cap.max_sg_elem - 1) * PAGE_SIZE; 52 cpi [all...] |
/freebsd-11-stable/sys/cam/scsi/ |
H A D | scsi_xpt.c | 693 struct ccb_pathinq cpi; local 700 xpt_path_inq(&cpi, periph->path); 723 } else if ((cpi.hba_inquiry & (PI_WIDE_32|PI_WIDE_16|PI_SDTR_ABLE)) != 0 724 && (cpi.hba_misc & PIM_NOBUSRESET) != 0) { 736 if (cpi.hba_misc & PIM_EXTLUNS) 1925 struct ccb_pathinq *cpi; member in struct:__anon4232 1971 if ((work_ccb->cpi.hba_misc & PIM_NOINITIATOR) != 0) { 1983 if ((work_ccb->cpi.hba_inquiry & 1985 !(work_ccb->cpi.hba_misc & PIM_NOBUSRESET) && 2004 (work_ccb->cpi 2302 struct ccb_pathinq cpi; local 2431 struct ccb_pathinq cpi; local 2661 struct ccb_pathinq cpi; local 3037 struct ccb_pathinq cpi; local [all...] |
/freebsd-11-stable/sys/powerpc/pseries/ |
H A D | phyp_vscsi.c | 422 struct ccb_pathinq *cpi = &ccb->cpi; local 424 cpi->version_num = 1; 425 cpi->hba_inquiry = PI_TAG_ABLE; 426 cpi->hba_misc = PIM_EXTLUNS; 427 cpi->target_sprt = 0; 428 cpi->hba_eng_cnt = 0; 429 cpi->max_target = 0; 430 cpi->max_lun = 0; 431 cpi [all...] |
/freebsd-11-stable/sys/cam/nvme/ |
H A D | nvme_xpt.c | 360 struct ccb_pathinq cpi; local 367 xpt_path_inq(&cpi, path); 369 if (cpi.ccb_h.status != CAM_REQ_CMP) { 371 request_ccb->ccb_h.status = cpi.ccb_h.status; 453 struct ccb_pathinq cpi; local 458 xpt_path_inq(&cpi, path); 460 path->device->transport = cpi.transport; 461 path->device->transport_version = cpi.transport_version; 463 path->device->protocol = cpi.protocol; 464 path->device->protocol_version = cpi 615 struct ccb_pathinq cpi; local [all...] |
/freebsd-11-stable/contrib/groff/src/devices/grolbp/ |
H A D | lbp.cpp | 242 int cpi; // The font size in characters per inch local 257 10 and 17 cpi for courier, 12 and 17 cpi for elite, 259 cpi = 17; 264 cpi = 10; 265 else cpi = 17; 269 cpi = 12; 270 else cpi = 17; 274 sprintf(bfont_name, "%c%s%d", ori, nam, cpi); 276 sprintf(bfont_name, "%c%s%d%c", ori, nam, cpi, typ [all...] |
/freebsd-11-stable/sys/dev/hyperv/storvsc/ |
H A D | hv_storvsc_drv_freebsd.c | 1435 struct ccb_pathinq *cpi = &ccb->cpi; local 1437 cpi->version_num = 1; 1438 cpi->hba_inquiry = PI_TAG_ABLE|PI_SDTR_ABLE; 1439 cpi->target_sprt = 0; 1440 cpi->hba_misc = PIM_NOBUSRESET; 1442 cpi->hba_misc |= PIM_UNMAPPED; 1443 cpi->maxio = STORVSC_DATA_SIZE_MAX; 1444 cpi->hba_eng_cnt = 0; 1445 cpi 2351 struct ccb_pathinq cpi; local [all...] |