Lines Matching defs:resid
448 int resid, ntrans;
486 * one byte and the resid needs to be incremented.
491 resid = si->fifo_count & 0xFFFF;
493 if ((resid > 0) && (resid < sc->sc_reqlen))
494 resid++;
495 ntrans = sc->sc_reqlen - resid;
499 printf("%s: resid=0x%x ntrans=0x%x\n",
500 __func__, resid, ntrans);
505 printf("si: fifo count: 0x%x\n", resid);