Lines Matching refs:cpb
229 struct inic_cpb cpb; member
324 struct inic_cpb *cpb = &pp->pkt->cpb; in inic_host_err_intr() local
347 if (cpb->resp_flags & CPB_RESP_IGNORED) { in inic_host_err_intr()
353 if (cpb->resp_flags & CPB_RESP_ATA_ERR) in inic_host_err_intr()
356 if (cpb->resp_flags & CPB_RESP_SPURIOUS) { in inic_host_err_intr()
362 if (cpb->resp_flags & in inic_host_err_intr()
479 struct inic_cpb *cpb = &pkt->cpb; in inic_qc_prep() local
493 cpb->ctl_flags = CPB_CTL_VALID | CPB_CTL_IEN; in inic_qc_prep()
495 cpb->ctl_flags |= CPB_CTL_DATA; in inic_qc_prep()
497 cpb->len = cpu_to_le32(qc->nbytes + cdb_len); in inic_qc_prep()
498 cpb->prd = cpu_to_le32(pp->pkt_dma + offsetof(struct inic_pkt, prd)); in inic_qc_prep()
500 cpb->device = qc->tf.device; in inic_qc_prep()
501 cpb->feature = qc->tf.feature; in inic_qc_prep()
502 cpb->nsect = qc->tf.nsect; in inic_qc_prep()
503 cpb->lbal = qc->tf.lbal; in inic_qc_prep()
504 cpb->lbam = qc->tf.lbam; in inic_qc_prep()
505 cpb->lbah = qc->tf.lbah; in inic_qc_prep()
508 cpb->hob_feature = qc->tf.hob_feature; in inic_qc_prep()
509 cpb->hob_nsect = qc->tf.hob_nsect; in inic_qc_prep()
510 cpb->hob_lbal = qc->tf.hob_lbal; in inic_qc_prep()
511 cpb->hob_lbam = qc->tf.hob_lbam; in inic_qc_prep()
512 cpb->hob_lbah = qc->tf.hob_lbah; in inic_qc_prep()
515 cpb->command = qc->tf.command; in inic_qc_prep()