Lines Matching refs:dstat
126 static void dfu_set_poll_timeout(struct dfu_status *dstat, unsigned int ms) in dfu_set_poll_timeout() argument
141 dstat->bwPollTimeout[0] = 0; in dfu_set_poll_timeout()
142 dstat->bwPollTimeout[1] = 0; in dfu_set_poll_timeout()
143 dstat->bwPollTimeout[2] = 0; in dfu_set_poll_timeout()
148 dstat->bwPollTimeout[0] = *p++; in dfu_set_poll_timeout()
149 dstat->bwPollTimeout[1] = *p++; in dfu_set_poll_timeout()
150 dstat->bwPollTimeout[2] = *p; in dfu_set_poll_timeout()
182 struct dfu_status *dstat = (struct dfu_status *)req->buf; in handle_getstatus() local
186 dfu_set_poll_timeout(dstat, 0); in handle_getstatus()
197 dfu_set_poll_timeout(dstat, dfu_get_manifest_timeout(dfu)); in handle_getstatus()
206 dfu_set_poll_timeout(dstat, f_dfu->poll_timeout); in handle_getstatus()
209 dstat->bStatus = f_dfu->dfu_status; in handle_getstatus()
210 dstat->bState = f_dfu->dfu_state; in handle_getstatus()
211 dstat->iString = 0; in handle_getstatus()