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