Lines Matching refs:resid
719 uint32_t resid;
748 resid = ahd_inl(ahd, SHCNT);
749 resid |= ahd_inb_scbram(ahd, SCB_RESIDUAL_DATACNT+3) << 24;
750 ahd_outl(ahd, SCB_RESIDUAL_DATACNT, resid);
767 } else if ((resid & AHD_SG_LEN_MASK) == 0) {
775 ahd_outl(ahd, SCB_DATACNT, resid);
5044 uint32_t resid;
5079 resid = (ahd_inb_scbram(ahd, SCB_RESIDUAL_DATACNT + 2) << 16)
5093 - resid;
5105 - resid;
5110 ahd_outb(ahd, HCNT + 2, resid >> 16);
5111 ahd_outb(ahd, HCNT + 1, resid >> 8);
5112 ahd_outb(ahd, HCNT, resid);
8305 uint32_t resid;
8344 resid = ahd_get_transfer_length(scb);
8357 panic("Bogus resid sgptr value 0x%x\n", resid_sgptr);
8366 resid = ahd_le32toh(spkt->residual_datacnt) & AHD_SG_LEN_MASK;
8379 resid += ahd_le32toh(sg->len) & AHD_SG_LEN_MASK;
8383 ahd_set_residual(scb, resid);
8385 ahd_set_sense_residual(scb, resid);
8391 (scb->flags & SCB_SENSE) ? "Sense " : "", resid);