Lines Matching refs:this_time
409 int this_time; in chaoskey_read() local
441 this_time = dev->valid - dev->used; in chaoskey_read()
442 if (this_time > count) in chaoskey_read()
443 this_time = count; in chaoskey_read()
445 remain = copy_to_user(buffer, dev->buf + dev->used, this_time); in chaoskey_read()
452 dev->used += this_time - remain; in chaoskey_read()
457 count -= this_time; in chaoskey_read()
458 read_count += this_time; in chaoskey_read()
459 buffer += this_time; in chaoskey_read()
460 dev->used += this_time; in chaoskey_read()
478 int this_time; in chaoskey_rng_read() local
504 this_time = dev->valid - dev->used; in chaoskey_rng_read()
505 if (this_time > max) in chaoskey_rng_read()
506 this_time = max; in chaoskey_rng_read()
508 memcpy(data, dev->buf + dev->used, this_time); in chaoskey_rng_read()
510 dev->used += this_time; in chaoskey_rng_read()
514 usb_dbg(dev->interface, "rng_read this_time %d\n", this_time); in chaoskey_rng_read()
515 return this_time; in chaoskey_rng_read()