Lines Matching defs:resid
1439 uint32_t resid;
1468 resid = ahd_inl(ahd, SHCNT);
1469 resid |= ahd_inb_scbram(ahd, SCB_RESIDUAL_DATACNT+3) << 24;
1470 ahd_outl(ahd, SCB_RESIDUAL_DATACNT, resid);
1487 } else if ((resid & AHD_SG_LEN_MASK) == 0) {
1495 ahd_outl(ahd, SCB_DATACNT, resid);
5768 uint32_t resid;
5803 resid = (ahd_inb_scbram(ahd, SCB_RESIDUAL_DATACNT + 2) << 16)
5817 - resid;
5829 - resid;
5834 ahd_outb(ahd, HCNT + 2, resid >> 16);
5835 ahd_outb(ahd, HCNT + 1, resid >> 8);
5836 ahd_outb(ahd, HCNT, resid);
9065 uint32_t resid;
9104 resid = ahd_get_transfer_length(scb);
9117 panic("Bogus resid sgptr value 0x%x\n", resid_sgptr);
9126 resid = ahd_le32toh(spkt->residual_datacnt) & AHD_SG_LEN_MASK;
9139 resid += ahd_le32toh(sg->len) & AHD_SG_LEN_MASK;
9143 ahd_set_residual(scb, resid);
9145 ahd_set_sense_residual(scb, resid);
9151 (scb->flags & SCB_SENSE) ? "Sense " : "", resid);