Lines Matching refs:cpi

693 	struct ccb_pathinq cpi;
700 xpt_path_inq(&cpi, periph->path);
723 } else if ((cpi.hba_inquiry & (PI_WIDE_32|PI_WIDE_16|PI_SDTR_ABLE)) != 0
724 && (cpi.hba_misc & PIM_NOBUSRESET) != 0) {
736 if (cpi.hba_misc & PIM_EXTLUNS)
1925 struct ccb_pathinq *cpi;
1971 if ((work_ccb->cpi.hba_misc & PIM_NOINITIATOR) != 0) {
1983 if ((work_ccb->cpi.hba_inquiry &
1985 !(work_ccb->cpi.hba_misc & PIM_NOBUSRESET) &&
2004 (work_ccb->cpi.max_target * sizeof (u_int)), M_CAMXPT, M_ZERO|M_NOWAIT);
2014 scan_info->cpi = &work_ccb->cpi;
2017 max_target = scan_info->cpi->max_target;
2019 initiator_id = scan_info->cpi->initiator_id;
2029 } else if (scan_info->cpi->hba_misc & PIM_SEQSCAN) {
2033 scan_info->counter = scan_info->cpi->max_target + 1;
2034 if (scan_info->cpi->initiator_id < scan_info->counter) {
2061 xpt_free_ccb((union ccb *)scan_info->cpi);
2124 if (scan_info->cpi->hba_misc & PIM_EXTLUNS) {
2186 if (lun_id > scan_info->cpi->max_lun)
2205 } else if (scan_info->cpi->hba_misc & PIM_SEQSCAN) {
2208 scan_info->cpi->initiator_id) {
2212 scan_info->cpi->max_target+1) {
2224 xpt_free_ccb((union ccb *)scan_info->cpi);
2235 if ((scan_info->cpi->hba_misc & PIM_SEQSCAN) == 0) {
2249 xpt_free_ccb((union ccb *)scan_info->cpi);
2302 struct ccb_pathinq cpi;
2310 xpt_setup_ccb(&cpi.ccb_h, path, CAM_PRIORITY_NONE);
2311 cpi.ccb_h.func_code = XPT_PATH_INQ;
2312 xpt_action((union ccb *)&cpi);
2314 if (cpi.ccb_h.status != CAM_REQ_CMP) {
2316 request_ccb->ccb_h.status = cpi.ccb_h.status;
2322 if ((cpi.hba_misc & PIM_NOINITIATOR) != 0) {
2431 struct ccb_pathinq cpi;
2436 xpt_setup_ccb(&cpi.ccb_h, path, CAM_PRIORITY_NONE);
2437 cpi.ccb_h.func_code = XPT_PATH_INQ;
2438 xpt_action((union ccb *)&cpi);
2445 inq_buf != NULL ? SID_ANSI_REV(inq_buf) : cpi.protocol_version;
2446 path->device->transport = cpi.transport;
2447 path->device->transport_version = cpi.transport_version;
2661 struct ccb_pathinq cpi;
2737 xpt_setup_ccb(&cpi.ccb_h, path, CAM_PRIORITY_NONE);
2738 cpi.ccb_h.func_code = XPT_PATH_INQ;
2739 xpt_action((union ccb *)&cpi);
2742 if ((cpi.hba_inquiry & PI_TAG_ABLE) == 0
2810 || ((cpi.hba_inquiry & PI_SDTR_ABLE) == 0)) {
2821 && (cpi.hba_inquiry & PI_WIDE_32) != 0)
2828 && (cpi.hba_inquiry & PI_WIDE_16) != 0) {
2840 spi3caps = cpi.xport_specific.spi.ppr_options;
3037 struct ccb_pathinq cpi;
3053 xpt_setup_ccb(&cpi.ccb_h, path, CAM_PRIORITY_NORMAL);
3054 cpi.ccb_h.func_code = XPT_PATH_INQ;
3055 xpt_action((union ccb *)&cpi);
3057 speed = cpi.base_transfer_speed;