Lines Matching refs:left
150 long long int *left, in download_head() argument
197 *left = left_to_rcv + buf - transfer_buffer; in download_head()
199 *left, left_to_rcv, buf); in download_head()
215 static int download_tail(long long int left, int cnt) in download_tail() argument
221 debug("%s: left: %llu cnt: %d\n", __func__, left, cnt); in download_tail()
235 if (left) { in download_tail()
236 ret = dfu_write(dfu_entity, transfer_buffer, left, cnt++); in download_tail()
238 pr_err("DFU write failed[%d]: left: %llu\n", ret, left); in download_tail()
260 static long long int left, ret_head; in process_rqt_download() local
306 &left, &cnt); in process_rqt_download()
308 left = 0; in process_rqt_download()
314 rsp->ack = download_tail(left, cnt); in process_rqt_download()
316 left = 0; in process_rqt_download()