Lines Matching defs:end
157 * we need to get the hash state at the end of this function.
165 * => all data will be written to wait buffer (op->buf) and end=0
166 * if not, write all data from op->buf to the device and position end to
172 * end=4
184 * end is the position when we need to stop writing to the device,
189 unsigned int i = 0, end, fill, min_fill, nwait, nbw = 0, j = 0, todo;
245 end = ((areq->nbytes + op->len) / 64) * 64 - op->len;
247 if (end > areq->nbytes || areq->nbytes - end > 63) {
249 end, areq->nbytes);
256 end = 0;
258 end = ((areq->nbytes + op->len) / 4) * 4 - op->len;
287 * - reach the end
289 while (op->len < 64 && i < end) {
291 in_r = min(end - i, 64 - op->len);
310 if (mi.length - in_i > 3 && i < end) {
315 todo = min3((u32)(end - i) / 4, rx_cnt, (u32)in_r / 4);
330 } while (i < end);
370 "ERROR: hash end timeout %d>%d ctl=%x len=%u\n",
471 "ERROR: hash end timeout %d>%d ctl=%x len=%u\n",