/freebsd-current/contrib/tcpdump/ |
H A D | print-ipcomp.c | 43 uint16_t cpi; local 47 cpi = GET_BE_U_2(ipcomp->comp_cpi); 49 ND_PRINT("IPComp(cpi=0x%04x)", cpi);
|
/freebsd-current/sys/dev/nvmf/host/ |
H A D | nvmf_sim.c | 159 struct ccb_pathinq *cpi = &ccb->cpi; local 161 cpi->version_num = 1; 162 cpi->hba_inquiry = 0; 163 cpi->target_sprt = 0; 164 cpi->hba_misc = PIM_UNMAPPED | PIM_NOSCAN; 165 cpi->hba_eng_cnt = 0; 166 cpi->max_target = 0; 167 cpi->max_lun = sc->cdata->nn; 168 cpi [all...] |
/freebsd-current/sys/dev/nvme/ |
H A D | nvme_sim.c | 171 struct ccb_pathinq *cpi = &ccb->cpi; local 181 cpi->version_num = 1; 182 cpi->hba_inquiry = 0; 183 cpi->target_sprt = 0; 184 cpi->hba_misc = PIM_UNMAPPED | PIM_NOSCAN; 185 cpi->hba_eng_cnt = 0; 186 cpi->max_target = 0; 187 cpi->max_lun = ctrlr->cdata.nn; 188 cpi [all...] |
/freebsd-current/sys/cam/mmc/ |
H A D | mmc_all.h | 71 void mmc_path_inq(struct ccb_pathinq *cpi, const char *hba,
|
H A D | mmc_xpt.c | 230 struct ccb_pathinq cpi; local 237 xpt_path_inq(&cpi, path); 239 if (cpi.ccb_h.status != CAM_REQ_CMP) { 241 request_ccb->ccb_h.status = cpi.ccb_h.status; 379 struct ccb_pathinq cpi; local 394 xpt_path_inq(&cpi, periph->path); 612 xpt_path_inq(&start_ccb->cpi, periph->path); 1202 mmc_path_inq(struct ccb_pathinq *cpi, const char *hba, argument 1206 cpi->version_num = 1; 1207 cpi [all...] |
/freebsd-current/sys/dev/mmcnull/ |
H A D | mmcnull.c | 356 struct ccb_pathinq *cpi; local 358 cpi = &ccb->cpi; 359 cpi->version_num = 1; 360 cpi->hba_inquiry = PI_SDTR_ABLE | PI_TAG_ABLE | PI_WIDE_16; 361 cpi->target_sprt = 0; 362 cpi->hba_misc = PIM_NOBUSRESET | PIM_SEQSCAN; 363 cpi->hba_eng_cnt = 0; 364 cpi->max_target = 0; 365 cpi [all...] |
/freebsd-current/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-current/sys/cam/ |
H A D | cam_compat.c | 206 struct ccb_pathinq *cpi; local 210 cpi = &ccb->cpi; 212 cpi17->version_num = cpi->version_num; 213 cpi17->hba_inquiry = cpi->hba_inquiry; 214 cpi17->target_sprt = (uint8_t)cpi->target_sprt; 215 cpi17->hba_misc = (uint8_t)cpi->hba_misc; 216 cpi17->hba_eng_cnt = cpi->hba_eng_cnt; 217 bcopy(&cpi->vuhba_flags[0], &cpi17->vuhba_flags[0], VUHBALEN); 218 cpi17->max_target = cpi [all...] |
H A D | cam_xpt.h | 152 xpt_path_inq(struct ccb_pathinq *cpi, struct cam_path *path) argument 155 bzero(cpi, sizeof(*cpi)); 156 xpt_setup_ccb(&cpi->ccb_h, path, CAM_PRIORITY_NORMAL); 157 cpi->ccb_h.func_code = XPT_PATH_INQ; 158 xpt_action((union ccb *)cpi);
|
/freebsd-current/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-current/tools/tools/vhba/ |
H A D | vhba.c | 125 struct ccb_pathinq *cpi = &ccb->cpi; local 127 cpi->version_num = 1; 128 cpi->max_target = VHBA_MAXTGT - 1; 129 cpi->max_lun = 16383; 130 cpi->hba_misc = PIM_NOBUSRESET; 131 cpi->initiator_id = cpi->max_target + 1; 132 cpi->transport = XPORT_PPB; 133 cpi [all...] |
/freebsd-current/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-current/contrib/llvm-project/compiler-rt/lib/builtins/avr/ |
H A D | mulqi3.S | 43 cpi r24, 0
|
/freebsd-current/sys/dev/isci/ |
H A D | isci_controller.c | 666 struct ccb_pathinq *cpi = &ccb->cpi; local 669 cpi->version_num = 1; 670 cpi->hba_inquiry = PI_TAG_ABLE; 671 cpi->target_sprt = 0; 672 cpi->hba_misc = PIM_NOBUSRESET | PIM_SEQSCAN | 674 cpi->hba_eng_cnt = 0; 675 cpi->max_target = SCI_MAX_REMOTE_DEVICES - 1; 676 cpi->max_lun = ISCI_MAX_LUN; 677 cpi [all...] |
/freebsd-current/sys/dev/aac/ |
H A D | aac_cam.c | 300 struct ccb_pathinq *cpi = &ccb->cpi; local 302 cpi->version_num = 1; 303 cpi->hba_inquiry = PI_WIDE_16; 304 cpi->target_sprt = 0; 310 cpi->hba_misc = PIM_NOBUSRESET | PIM_SEQSCAN; 311 cpi->hba_eng_cnt = 0; 312 cpi->max_target = camsc->inf->TargetsPerBus; 313 cpi->max_lun = 8; /* Per the controller spec */ 314 cpi [all...] |
/freebsd-current/sys/cam/ctl/ |
H A D | ctl_frontend_cam_sim.c | 744 struct ccb_pathinq *cpi; local 746 cpi = &ccb->cpi; 748 cpi->version_num = 0; 749 cpi->hba_inquiry = PI_TAG_ABLE; 750 cpi->target_sprt = 0; 751 cpi->hba_misc = PIM_EXTLUNS; 752 cpi->hba_eng_cnt = 0; 753 cpi->max_target = 0; 754 cpi [all...] |
/freebsd-current/sys/dev/ahci/ |
H A D | ahciem.c | 627 struct ccb_pathinq *cpi = &ccb->cpi; local 630 cpi->version_num = 1; /* XXX??? */ 631 cpi->hba_inquiry = PI_SDTR_ABLE; 632 cpi->target_sprt = 0; 633 cpi->hba_misc = PIM_SEQSCAN; 634 cpi->hba_eng_cnt = 0; 635 cpi->max_target = 0; 636 cpi->max_lun = 0; 637 cpi [all...] |
/freebsd-current/sys/dev/smartpqi/ |
H A D | smartpqi_cam.c | 36 update_sim_properties(struct cam_sim *sim, struct ccb_pathinq *cpi) argument 46 cpi->version_num = 1; 47 cpi->hba_inquiry = PI_SDTR_ABLE|PI_TAG_ABLE|PI_WIDE_16; 48 cpi->target_sprt = 0; 49 cpi->hba_misc = PIM_NOBUSRESET | PIM_UNMAPPED; 50 cpi->hba_eng_cnt = 0; 51 cpi->max_lun = PQI_MAX_MULTILUN; 52 cpi->max_target = MAX_TARGET_DEVICES; 53 cpi->maxio = (softs->pqi_cap.max_sg_elem - 1) * PAGE_SIZE; 54 cpi [all...] |
/freebsd-current/sys/cam/scsi/ |
H A D | scsi_xpt.c | 688 struct ccb_pathinq cpi; local 695 xpt_path_inq(&cpi, periph->path); 718 } else if ((cpi.hba_inquiry & (PI_WIDE_32|PI_WIDE_16|PI_SDTR_ABLE)) != 0 719 && (cpi.hba_misc & PIM_NOBUSRESET) != 0) { 731 if (cpi.hba_misc & PIM_EXTLUNS) 1914 struct ccb_pathinq *cpi; member in struct:__anon49 1960 if ((work_ccb->cpi.hba_misc & PIM_NOINITIATOR) != 0) { 1972 if ((work_ccb->cpi.hba_inquiry & 1974 !(work_ccb->cpi.hba_misc & PIM_NOBUSRESET) && 1993 (work_ccb->cpi 2290 struct ccb_pathinq cpi; local 2420 struct ccb_pathinq cpi; local 2659 struct ccb_pathinq cpi; local 3036 struct ccb_pathinq cpi; local [all...] |
/freebsd-current/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-current/sys/dev/ata/ |
H A D | ata-all.c | 1148 struct ccb_pathinq *cpi = &ccb->cpi; local 1151 cpi->version_num = 1; /* XXX??? */ 1152 cpi->hba_inquiry = PI_SDTR_ABLE; 1153 cpi->target_sprt = 0; 1154 cpi->hba_misc = PIM_SEQSCAN | PIM_UNMAPPED; 1155 cpi->hba_eng_cnt = 0; 1157 cpi->max_target = 0; 1159 cpi->max_target = 1; 1160 cpi [all...] |
/freebsd-current/sys/dev/aic7xxx/ |
H A D | aic7xxx_osm.c | 774 struct ccb_pathinq *cpi = &ccb->cpi; local 776 cpi->version_num = 1; /* XXX??? */ 777 cpi->hba_inquiry = PI_SDTR_ABLE|PI_TAG_ABLE; 779 cpi->hba_inquiry |= PI_WIDE_16; 781 cpi->target_sprt = PIT_PROCESSOR 785 cpi->target_sprt = 0; 787 cpi->hba_misc = 0; 788 cpi->hba_eng_cnt = 0; 789 cpi [all...] |
H A D | aic79xx_osm.c | 685 struct ccb_pathinq *cpi = &ccb->cpi; local 687 cpi->version_num = 1; /* XXX??? */ 688 cpi->hba_inquiry = PI_SDTR_ABLE|PI_TAG_ABLE; 690 cpi->hba_inquiry |= PI_WIDE_16; 692 cpi->target_sprt = PIT_PROCESSOR 696 cpi->target_sprt = 0; 698 cpi->hba_misc = 0; 699 cpi->hba_eng_cnt = 0; 700 cpi [all...] |
/freebsd-current/sys/powerpc/pseries/ |
H A D | phyp_vscsi.c | 421 struct ccb_pathinq *cpi = &ccb->cpi; local 423 cpi->version_num = 1; 424 cpi->hba_inquiry = PI_TAG_ABLE; 425 cpi->hba_misc = PIM_EXTLUNS; 426 cpi->target_sprt = 0; 427 cpi->hba_eng_cnt = 0; 428 cpi->max_target = 0; 429 cpi->max_lun = 0; 430 cpi [all...] |
/freebsd-current/sys/dev/hptrr/ |
H A D | hptrr_osm_bsd.c | 771 struct ccb_pathinq *cpi = &ccb->cpi; local 773 cpi->version_num = 1; 774 cpi->hba_inquiry = PI_SDTR_ABLE; 775 cpi->target_sprt = 0; 776 cpi->hba_misc = PIM_NOBUSRESET; 777 cpi->hba_eng_cnt = 0; 778 cpi->max_target = osm_max_targets; 779 cpi->max_lun = 0; 780 cpi [all...] |