Lines Matching refs:residue
323 uint32_t residue, uint8_t status);
1540 uint32_t residue; in umass_t_bbb_status_callback() local
1565 residue = UGETDW(sc->csw.dCSWDataResidue); in umass_t_bbb_status_callback()
1567 if ((!residue) || (sc->sc_quirks & IGNORE_RESIDUE)) { in umass_t_bbb_status_callback()
1568 residue = (sc->sc_transfer.data_len - in umass_t_bbb_status_callback()
1571 if (residue > sc->sc_transfer.data_len) { in umass_t_bbb_status_callback()
1573 "to %d bytes\n", residue, sc->sc_transfer.data_len); in umass_t_bbb_status_callback()
1574 residue = sc->sc_transfer.data_len; in umass_t_bbb_status_callback()
1607 "%d\n", residue); in umass_t_bbb_status_callback()
1615 "%d\n", residue); in umass_t_bbb_status_callback()
1622 (sc, umass_ccb, residue, STATUS_CMD_FAILED); in umass_t_bbb_status_callback()
1629 (sc, umass_ccb, residue, STATUS_CMD_OK); in umass_t_bbb_status_callback()
2066 uint32_t residue; in umass_t_cbi_status_callback() local
2081 residue = (sc->sc_transfer.data_len - in umass_t_cbi_status_callback()
2107 (sc, umass_ccb, residue, status); in umass_t_cbi_status_callback()
2132 (sc, umass_ccb, residue, status); in umass_t_cbi_status_callback()
2159 umass_cam_cb(struct umass_softc *sc, union ccb *umass_ccb, uint32_t residue, in umass_cam_cb() argument
2162 umass_ccb->csio.resid = residue; in umass_cam_cb()