Lines Matching refs:resid
3665 uint32_t resid;
3681 resid = (ahc_inb(ahc, SCB_RESIDUAL_DATACNT + 2) << 16)
3687 - resid;
3701 ahc_outb(ahc, HCNT + 2, resid >> 16);
3702 ahc_outb(ahc, HCNT + 1, resid >> 8);
3703 ahc_outb(ahc, HCNT, resid);
3705 ahc_outb(ahc, STCNT + 2, resid >> 16);
3706 ahc_outb(ahc, STCNT + 1, resid >> 8);
3707 ahc_outb(ahc, STCNT, resid);
6042 uint32_t resid;
6075 resid = ahc_get_transfer_length(scb);
6080 panic("Bogus resid sgptr value 0x%x\n", resid_sgptr);
6088 resid = ahc_le32toh(spkt->residual_datacnt) & AHC_SG_LEN_MASK;
6101 resid += ahc_le32toh(sg->len) & AHC_SG_LEN_MASK;
6105 ahc_set_residual(scb, resid);
6107 ahc_set_sense_residual(scb, resid);
6113 (scb->flags & SCB_SENSE) ? "Sense " : "", resid);