Lines Matching defs:cpi
2433 struct ccb_pathinq cpi;
2441 xpt_setup_ccb(&cpi.ccb_h, &path, CAM_PRIORITY_NORMAL);
2442 cpi.ccb_h.func_code = XPT_PATH_INQ;
2443 xpt_action((union ccb *)&cpi);
2446 &path, &cpi);
3854 struct ccb_pathinq cpi;
3906 xpt_setup_ccb(&cpi.ccb_h, path, CAM_PRIORITY_NORMAL);
3907 cpi.ccb_h.func_code = XPT_PATH_INQ;
3908 xpt_action((union ccb *)&cpi);
3910 if (cpi.ccb_h.status == CAM_REQ_CMP) {
3911 switch (cpi.transport) {
3934 xpt_async(AC_PATH_REGISTERED, path, &cpi);
3935 if ((cpi.hba_misc & PIM_NOSCAN) == 0) {
5113 struct ccb_pathinq *cpi;
5115 cpi = &work_ccb->cpi;
5116 cpi->version_num = 1; /* XXX??? */
5117 cpi->hba_inquiry = 0;
5118 cpi->target_sprt = 0;
5119 cpi->hba_misc = 0;
5120 cpi->hba_eng_cnt = 0;
5121 cpi->max_target = 0;
5122 cpi->max_lun = 0;
5123 cpi->initiator_id = 0;
5124 strncpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
5125 strncpy(cpi->hba_vid, "", HBA_IDLEN);
5126 strncpy(cpi->dev_name, sim->sim_name, DEV_IDLEN);
5127 cpi->unit_number = sim->unit_number;
5128 cpi->bus_id = sim->bus_id;
5129 cpi->base_transfer_speed = 0;
5130 cpi->protocol = PROTO_UNSPECIFIED;
5131 cpi->protocol_version = PROTO_VERSION_UNSPECIFIED;
5132 cpi->transport = XPORT_UNSPECIFIED;
5133 cpi->transport_version = XPORT_VERSION_UNSPECIFIED;
5134 cpi->ccb_h.status = CAM_REQ_CMP;