Lines Matching refs:resid
4272 uint32_t resid;
4288 resid = (ahc_inb(ahc, SCB_RESIDUAL_DATACNT + 2) << 16)
4294 - resid;
4308 ahc_outb(ahc, HCNT + 2, resid >> 16);
4309 ahc_outb(ahc, HCNT + 1, resid >> 8);
4310 ahc_outb(ahc, HCNT, resid);
4312 ahc_outb(ahc, STCNT + 2, resid >> 16);
4313 ahc_outb(ahc, STCNT + 1, resid >> 8);
4314 ahc_outb(ahc, STCNT, resid);
6661 uint32_t resid;
6694 resid = ahc_get_transfer_length(scb);
6699 panic("Bogus resid sgptr value 0x%x\n", resid_sgptr);
6707 resid = ahc_le32toh(spkt->residual_datacnt) & AHC_SG_LEN_MASK;
6720 resid += ahc_le32toh(sg->len) & AHC_SG_LEN_MASK;
6724 ahc_set_residual(scb, resid);
6726 ahc_set_sense_residual(scb, resid);
6732 (scb->flags & SCB_SENSE) ? "Sense " : "", resid);