Lines Matching defs:cpi
3021 struct ccb_pathinq *cpi = &ccb->cpi;
3026 cpi->version_num = 1;
3027 cpi->hba_inquiry = PI_TAG_ABLE; /* XXX is this correct? */
3028 cpi->target_sprt = 0;
3029 cpi->hba_misc = 0;
3030 cpi->max_target = sc->ciss_cfg->max_logical_supported;
3031 cpi->max_lun = 0; /* 'logical drive' channel only */
3032 cpi->initiator_id = sc->ciss_cfg->max_logical_supported;
3033 strlcpy(cpi->sim_vid, "FreeBSD", SIM_IDLEN);
3034 strlcpy(cpi->hba_vid, "CISS", HBA_IDLEN);
3035 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
3036 cpi->unit_number = cam_sim_unit(sim);
3037 cpi->bus_id = cam_sim_bus(sim);
3038 cpi->base_transfer_speed = 132 * 1024; /* XXX what to set this to? */
3039 cpi->transport = XPORT_SPI;
3040 cpi->transport_version = 2;
3041 cpi->protocol = PROTO_SCSI;
3042 cpi->protocol_version = SCSI_REV_2;
3058 cpi->maxio = (min(CISS_MAX_SG_ELEMENTS, sg_length) - 1) * PAGE_SIZE;