Lines Matching defs:cpi
1451 struct ccb_pathinq *cpi = &ccb->cpi;
1453 cpi->version_num = 1;
1454 cpi->hba_inquiry = PI_TAG_ABLE|PI_SDTR_ABLE;
1455 cpi->target_sprt = 0;
1456 cpi->hba_misc = PIM_NOBUSRESET;
1458 cpi->hba_misc |= PIM_UNMAPPED;
1459 cpi->maxio = STORVSC_DATA_SIZE_MAX;
1460 cpi->hba_eng_cnt = 0;
1461 cpi->max_target = STORVSC_MAX_TARGETS;
1462 cpi->max_lun = sc->hs_drv_props->drv_max_luns_per_target;
1463 cpi->initiator_id = cpi->max_target;
1464 cpi->bus_id = cam_sim_bus(sim);
1465 cpi->base_transfer_speed = 300000;
1466 cpi->transport = XPORT_SAS;
1467 cpi->transport_version = 0;
1468 cpi->protocol = PROTO_SCSI;
1469 cpi->protocol_version = SCSI_REV_SPC2;
1470 strlcpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
1471 strlcpy(cpi->hba_vid, sc->hs_drv_props->drv_name, HBA_IDLEN);
1472 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
1473 cpi->unit_number = cam_sim_unit(sim);
2480 struct ccb_pathinq cpi;
2482 xpt_path_inq(&cpi, path);
2483 if (cpi.ccb_h.status == CAM_REQ_CMP &&
2484 cpi.hba_vendor == PCI_VENDOR_INTEL &&
2485 cpi.hba_device == PCI_PRODUCT_PIIX4) {
2491 cpi.hba_device, cpi.hba_vendor);